From e048b059614b666fb6a6465f065d813604a4854b Mon Sep 17 00:00:00 2001 From: Tom Scogland Date: Fri, 18 Aug 2023 09:06:56 -0700 Subject: [PATCH] debugging PR to get a session in actions --- .github/workflows/main.yml | 23 ++++++++++++++++------- src/test/generate-matrix.py | 2 +- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b360d2dfafb6..2083913de2f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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) && @@ -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}} @@ -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 diff --git a/src/test/generate-matrix.py b/src/test/generate-matrix.py index ec5ca19e9bcc..2ad9a5210706 100755 --- a/src/test/generate-matrix.py +++ b/src/test/generate-matrix.py @@ -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",