From 78a7f48926c34bf7947446325830895eb6d35001 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Thu, 25 Apr 2024 22:29:58 -0700 Subject: [PATCH] Update GitHub Actions workflows. (#385) [internal] Update GitHub Actions workflow files --- .github/workflows/master.yml | 19 +------------------ .github/workflows/prerelease.yml | 13 +------------ .github/workflows/release.yml | 13 +------------ .github/workflows/run-acceptance-tests.yml | 13 +------------ Makefile | 3 ++- 5 files changed, 6 insertions(+), 55 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 7662e1f2..9464c6a7 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -44,6 +44,7 @@ jobs: path: ci-scripts repository: pulumi/scripts ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 + - run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go @@ -158,12 +159,6 @@ jobs: aws-access-key-id: ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }} aws-region: us-west-2 aws-secret-access-key: ${{ secrets.AWS_CORP_S3_UPLOAD_SECRET_ACCESS_KEY }} - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go @@ -219,12 +214,6 @@ jobs: path: | .pulumi/examples-cache key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }} - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Prepare upstream code @@ -433,12 +422,6 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index ea2e98e1..0af117ea 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -45,6 +45,7 @@ jobs: path: ci-scripts repository: pulumi/scripts ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 + - run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go @@ -158,12 +159,6 @@ jobs: path: | .pulumi/examples-cache key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }} - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Prepare upstream code @@ -354,12 +349,6 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6df8c217..d9b0d8e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,7 @@ jobs: path: ci-scripts repository: pulumi/scripts ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 + - run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go @@ -172,12 +173,6 @@ jobs: path: | .pulumi/examples-cache key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }} - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Prepare upstream code @@ -402,12 +397,6 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 63dd595a..e8a58282 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -54,6 +54,7 @@ jobs: path: ci-scripts repository: pulumi/scripts ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 + - run: echo "ci-scripts" >> .git/info/exclude # actions/checkout#197 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go @@ -182,12 +183,6 @@ jobs: path: | .pulumi/examples-cache key: ${{ runner.os }}-${{ hashFiles('provider/go.sum') }} - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Prepare upstream code @@ -344,12 +339,6 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ env.PR_COMMIT_SHA }} - - name: Checkout Scripts Repo - uses: actions/checkout@v4 - with: - path: ci-scripts - repository: pulumi/scripts - ref: deca2c5c6015ad7aaea6f572a1c2b198ca323592 - name: Checkout p/examples if: matrix.testTarget == 'pulumiExamples' uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 17ff16a1..0274a078 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,8 @@ build_java: bin/pulumi-java-gen upstream $(WORKING_DIR)/bin/$(JAVA_GEN) generate --schema provider/cmd/$(PROVIDER)/schema.json --out sdk/java --build gradle-nexus cd sdk/java/ && \ printf "module fake_java_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ - gradle --console=plain build + gradle --console=plain build && \ + gradle --console=plain javadoc build_nodejs: VERSION := $(shell pulumictl get version --language javascript) build_nodejs: export PULUMI_HOME := $(WORKING_DIR)/.pulumi