From 133dbaec462b96e349510c4fa98682d96925e4b0 Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 17 Dec 2024 11:37:24 -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/main.yml | 3 +++ .github/workflows/nightly-test.yml | 3 +++ .github/workflows/prerelease.yml | 3 +++ .github/workflows/release.yml | 3 +++ .github/workflows/run-acceptance-tests.yml | 3 +++ .github/workflows/test.yml | 3 --- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 0eaef411..5e6afc5c 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -21,9 +21,6 @@ plugins: 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/main.yml b/.github/workflows/main.yml index 8db9a862..ecc3e5a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,6 +136,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/nightly-test.yml b/.github/workflows/nightly-test.yml index 2cff3185..725ef82d 100644 --- a/.github/workflows/nightly-test.yml +++ b/.github/workflows/nightly-test.yml @@ -52,6 +52,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 9ef48865..cde9feb6 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -77,6 +77,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 7b2b2b64..70a1776b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,6 +83,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 769f2067..d58af0e0 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -126,6 +126,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 908bfcc1..ee3bba8f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,9 +82,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