From 5239d5de7b7719e8818738c7c81b1948eefff0b5 Mon Sep 17 00:00:00 2001 From: upbound-bot Date: Wed, 27 Nov 2024 09:56:09 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows'=20with=20remote=20'shared/configurations/workflows'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 22 ++++++++++------------ .github/workflows/e2e.yaml | 1 + .github/workflows/tag.yml | 4 ++-- .github/workflows/yamllint.yaml | 4 ++-- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 43efe12..e1b3534 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,11 +8,13 @@ on: workflow_dispatch: {} env: + DOCKER_BUILDX_VERSION: 'v0.8.2' + XPKG_ACCESS_ID: ${{ secrets.XPKG_ACCESS_ID }} jobs: detect-noop: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 outputs: noop: ${{ steps.noop.outputs.should_skip }} steps: @@ -25,24 +27,19 @@ jobs: do_not_skip: '["workflow_dispatch", "schedule", "push"]' publish-artifacts: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: detect-noop if: needs.detect-noop.outputs.noop != 'true' steps: - - name: Setup QEMU - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3 - with: - platforms: all - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3 + uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3 with: version: ${{ env.DOCKER_BUILDX_VERSION }} install: true - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: submodules: true @@ -57,13 +54,13 @@ jobs: BUILD_ARGS: "--load" - name: Publish Artifacts to GitHub - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 with: name: output path: _output/** - name: Login to Upbound - uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3 + uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3 if: env.XPKG_ACCESS_ID != '' with: registry: xpkg.upbound.io @@ -71,4 +68,5 @@ jobs: password: ${{ secrets.XPKG_TOKEN }} - name: Publish Artifacts - run: make -j2 publish BRANCH_NAME=${GITHUB_REF##*/} \ No newline at end of file + if: env.XPKG_ACCESS_ID != '' + run: make -j2 publish BRANCH_NAME=${GITHUB_REF##*/} diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index f42c8d6..d310447 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -11,3 +11,4 @@ jobs: package-type: configuration secrets: UPTEST_CLOUD_CREDENTIALS: ${{ secrets.UPTEST_CLOUD_CREDENTIALS }} + UPTEST_DATASOURCE: ${{ secrets.UPTEST_DATASOURCE }} diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index a9153f1..4c9f1ea 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -12,11 +12,11 @@ on: jobs: create-tag: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Create Tag uses: negz/create-tag@39bae1e0932567a58c20dea5a1a0d18358503320 # v1 diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index a658e10..a8d64c1 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -5,9 +5,9 @@ jobs: name: runner / yamllint runs-on: ubuntu-latest steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: yamllint - uses: reviewdog/action-yamllint@81750f17598452d2e2656b7281a55788abafc205 # v1.12.0 + uses: reviewdog/action-yamllint@e09f07780388032a624e9eb44a23fd1bbb4052cc # v1.19.0 with: reporter: github-pr-review filter_mode: nofilter