From 0052d5acbbda2f807afa49b31c436eead2dba1bb Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 17 Dec 2024 15:21:17 -0800 Subject: [PATCH] Remove `make upstream` from `preTest` (#666) 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 63a140f9..526e6fa3 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -19,9 +19,6 @@ env: VAULT_DEV_ROOT_TOKEN_ID: "root" 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 053f1014..9b80b25f 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 2ada45cd..65eb44d0 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 3e8d2ef9..702a5747 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 08b4dc0d..a1b0e852 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 f127303d..798116ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,9 +80,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