From cb48ac0f57708a7ef04c42210fd04b8355332dcd Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 17 Dec 2024 11:30:56 -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 3c2d3fa4..cd069d59 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -13,9 +13,6 @@ plugins: version: "0.0.15" 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 54813fb9..f7e03a96 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -132,6 +132,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 a16851c1..fa599864 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -73,6 +73,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 db5b8df0..a6f40128 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,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 e63b0826..ba8c316e 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -122,6 +122,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 b83bbfc3..77f856d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,9 +78,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