From 04b0e94a48f2339ced63ed429a63b803b0f81faa Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 17 Dec 2024 11:50:03 -0800 Subject: [PATCH] Remove `make upstream` from `preTest` After https://github.com/pulumi/ci-mgmt/pull/1151 our `make` targets should now all correctly call `make upstream` if they need it. This updates `.ci-mgmt.yaml` and re-runs `make ci-mgmt`. --- .ci-mgmt.yaml | 3 --- .github/workflows/master.yml | 3 +++ .github/workflows/prerelease.yml | 3 +++ .github/workflows/release.yml | 3 +++ .github/workflows/run-acceptance-tests.yml | 3 +++ .github/workflows/test.yml | 3 --- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index db892917d..9c5bd0ec0 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -18,9 +18,6 @@ team: ecosystem actions: preTest: - - name: make upstream - run: | - make upstream - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index c1830eb28..e37f37beb 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -133,6 +133,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index b1fe5c654..45ddc69d8 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -74,6 +74,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30a15133a..6c72112da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index aa933fbb7..329f8110e 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -123,6 +123,9 @@ jobs: - prerequisites - build_provider - build_sdk + permissions: + contents: read + id-token: write secrets: inherit with: version: ${{ needs.prerequisites.outputs.version }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a743433a..59ac882b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -79,9 +79,6 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} version: v2.5.0 - - name: make upstream - run: | - make upstream - name: Run provider tests run: | cd provider && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt