Skip to content

Commit

Permalink
debugging PR to get a session in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
trws committed Aug 18, 2023
1 parent 9d4c1f3 commit e048b05
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
- name: fetch annotated tag
if: >
(matrix.create_release || matrix.docker_tag) &&
Expand Down Expand Up @@ -169,8 +172,6 @@ jobs:

- name: coverage report
if: success() && matrix.coverage
env:
DOCKER_REPO:
uses: codecov/codecov-action@858dd794fbb81941b6d60b0dca860878cba60fa9 # v3.1.1
with:
flags: ${{matrix.coverage_flags}}
Expand Down Expand Up @@ -199,18 +200,26 @@ jobs:
generate-manifest:
name: Generate docker manifest
runs-on: ubuntu-latest
needs: [ci-checks]
# NOTE: clearly wrong, doing this to get debug session faster
# needs: [ci-checks, check-sched, check-accounting]
env:
DOCKER_REPO: fluxrm/flux-core
DOCKER_USERNAME: travisflux
DOCKER_PASSWORD: ${{ secrets.DOCKER_HUB_TRAVISFLUX_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
env:
DOCKER_REPO: fluxrm/flux-core
DOCKER_USERNAME: travisflux
DOCKER_PASSWORD: ${{ secrets.DOCKER_HUB_TRAVISFLUX_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
limit-access-to-actor: true
- name: make and push manifest as fluxrm/flux-core
if: >
(startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
run: |
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
echo $DOCKER_PASSWORD | docker login -u "$DOCKER_USERNAME" --password-stdin
docker manifest create fluxrm/flux-core:bookworm fluxrm/flux-core:bookworm-amd64 fluxrm/flux-core:bookworm-386 fluxrm/flux-core:bookworm-arm64
docker manifest push fluxrm/flux-core:bookworm
2 changes: 1 addition & 1 deletion src/test/generate-matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def __str__(self):
)

# Debian: arm64, expensive, only on master and tags, only install
if matrix.branch == 'master' or matrix.tag:
if True or matrix.branch == 'master' or matrix.tag:
matrix.add_build(
name="bookworm - arm64",
image="bookworm",
Expand Down

0 comments on commit e048b05

Please sign in to comment.