-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] Update GitHub Actions workflow files (#432)
- Loading branch information
1 parent
2482870
commit 48ca6e9
Showing
7 changed files
with
144 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt | ||
|
||
env: | ||
ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e | ||
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }} | ||
ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1 | ||
ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7 | ||
AWS_REGION: us-west-2 | ||
AZURE_LOCATION: westus | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} | ||
PROVIDER: docker | ||
PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | ||
PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | ||
PULUMI_API: https://api.pulumi-staging.io | ||
PULUMI_EXTRA_MAPPING_ERROR: true | ||
PULUMI_GO_DEP_ROOT: /home/runner/work/pulumi-docker | ||
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget | ||
PULUMI_MISSING_MAPPING_ERROR: true | ||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} | ||
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} | ||
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
TRAVIS_OS_NAME: linux | ||
jobs: | ||
resync_build: | ||
name: resync-build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-mgmt | ||
repository: pulumi/ci-mgmt | ||
- id: run-url | ||
name: Create URL to the run output | ||
run: echo ::set-output | ||
name=run-url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/action-install-pulumi-cli@v2 | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{matrix.dotnetversion}} | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.nodeversion}} | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{matrix.pythonversion}} | ||
- name: Sync with ci-mgmt | ||
run: cp -r ci-mgmt/provider-ci/providers/$PROVIDER/repo/. . | ||
- name: Remove ci-mgmt directory | ||
run: rm -rf ci-mgmt | ||
- name: Required entries for gitignore | ||
run: |- | ||
cat <<- EOF > $RUNNER_TEMP/gitignore | ||
sdk/java/build | ||
sdk/java/.gradle | ||
sdk/java/gradle | ||
sdk/java/gradlew | ||
sdk/java/gradlew.bat | ||
EOF | ||
shell: bash | ||
- name: Adding missing lines to .gitignore | ||
run: comm -23 <(sort $RUNNER_TEMP/gitignore) <(sort .gitignore) >> .gitignore | ||
shell: bash | ||
- name: Build | ||
run: make build | ||
- name: Create PR (no linked issue) | ||
uses: peter-evans/[email protected] | ||
with: | ||
author: pulumi-bot <[email protected]> | ||
base: master | ||
body: This pull request was generated automatically by the resync-build workflow | ||
in this repository. | ||
branch: pulumi-bot/resync-${{ github.run_id}} | ||
commit-message: Resync build for pulumi-${{ env.PROVIDER }} | ||
committer: pulumi-bot <[email protected]> | ||
labels: impact/no-changelog-required | ||
team-reviewers: platform-integrations | ||
title: Fix up build for pulumi-${{ env.PROVIDER }} | ||
token: ${{ secrets.PULUMI_BOT_TOKEN }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- 3.1.301 | ||
goversion: | ||
- 1.19.x | ||
nodeversion: | ||
- 16.x | ||
pythonversion: | ||
- "3.9" | ||
name: Resync build | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
automerge: | ||
default: false | ||
description: Mark created PR for auto-merging? | ||
required: true | ||
type: boolean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters