Skip to content

Commit

Permalink
Upgrade to v1.6.0 of the Minio Terraform Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Aug 17, 2022
1 parent 07e5b48 commit e5946bc
Show file tree
Hide file tree
Showing 140 changed files with 9,613 additions and 1,238 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
PROVIDER: minio
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_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
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:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/community-moderation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
uses: dorny/paths-filter@v2
with:
filters: "changed: 'sdk/*'"
- if: steps.sdk_changed.outputs.changed == 'true'
- if: steps.sdk_changed.outputs.changed == 'true' &&
github.event.pull_request.head.repo.full_name != github.repository
name: Send codegen warning as comment on PR
uses: thollander/actions-comment-pull-request@v1
with:
Expand Down
87 changes: 69 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
PROVIDER: minio
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_GO_DEP_ROOT: ${{ github.workspace }}/..
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
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:
Expand Down Expand Up @@ -53,6 +58,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{matrix.pythonversion}}
- name: Setup Java
uses: actions/setup-java@v3
with:
cache: gradle
distribution: temurin
java-version: ${{matrix.javaversion}}
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
Expand All @@ -68,6 +79,9 @@ jobs:
run: make install_plugins
- name: Update path
run: echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Set PACKAGE_VERSION to Env
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >>
$GITHUB_ENV
- name: Build SDK
run: make build_${{ matrix.language }}
- name: Check worktree clean
Expand All @@ -92,16 +106,19 @@ jobs:
dotnetversion:
- 3.1.301
goversion:
- 1.18.x
- 1.19.x
javaversion:
- "11"
language:
- nodejs
- python
- dotnet
- go
- java
nodeversion:
- 14.x
- 16.x
pythonversion:
- "3.7"
- "3.9"
generate_coverage_data:
continue-on-error: true
env:
Expand Down Expand Up @@ -157,7 +174,7 @@ jobs:
fail-fast: true
matrix:
goversion:
- 1.18.x
- 1.19.x
lint:
container: golangci/golangci-lint:latest
name: lint
Expand Down Expand Up @@ -194,7 +211,7 @@ jobs:
fail-fast: true
matrix:
goversion:
- 1.18.x
- 1.19.x
lint_sdk:
container: golangci/golangci-lint:latest
name: lint-sdk
Expand Down Expand Up @@ -232,7 +249,7 @@ jobs:
fail-fast: true
matrix:
goversion:
- 1.18.x
- 1.19.x
prerequisites:
name: prerequisites
runs-on: ubuntu-latest
Expand Down Expand Up @@ -302,11 +319,11 @@ jobs:
dotnetversion:
- 3.1.301
goversion:
- 1.18.x
- 1.19.x
nodeversion:
- 14.x
- 16.x
pythonversion:
- "3.7"
- "3.9"
publish:
name: publish
needs: test
Expand Down Expand Up @@ -358,11 +375,11 @@ jobs:
dotnetversion:
- 3.1.301
goversion:
- 1.18.x
- 1.19.x
nodeversion:
- 14.x
- 16.x
pythonversion:
- "3.7"
- "3.9"
publish_sdk:
name: publish_sdk
needs: publish
Expand Down Expand Up @@ -400,6 +417,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{matrix.pythonversion}}
- name: Setup Java
uses: actions/setup-java@v3
with:
cache: gradle
distribution: temurin
java-version: ${{matrix.javaversion}}
- name: Download python SDK
uses: actions/download-artifact@v2
with:
Expand All @@ -424,11 +447,28 @@ jobs:
- name: Uncompress nodejs SDK
run: tar -zxf ${{github.workspace}}/sdk/nodejs.tar.gz -C
${{github.workspace}}/sdk/nodejs
- name: Download java SDK
uses: actions/download-artifact@v2
with:
name: java-sdk.tar.gz
path: ${{ github.workspace}}/sdk/
- name: Uncompress java SDK
run: tar -zxf ${{github.workspace}}/sdk/java.tar.gz -C
${{github.workspace}}/sdk/java
- run: python -m pip install pip twine
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish SDKs
run: ./ci-scripts/ci/publish-tfgen-package ${{ github.workspace }}
- name: Set PACKAGE_VERSION to Env
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >>
$GITHUB_ENV
- name: Publish Java SDK
uses: gradle/gradle-build-action@9b814496b50909128c6a52622b416c5ffa04db49
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
build-root-directory: ./sdk/java
gradle-version: 7.4.1
- if: failure() && github.event_name == 'push'
name: Notify Slack
uses: 8398a7/action-slack@v3
Expand All @@ -442,11 +482,13 @@ jobs:
dotnetversion:
- 3.1.301
goversion:
- 1.18.x
- 1.19.x
javaversion:
- "11"
nodeversion:
- 14.x
- 16.x
pythonversion:
- "3.7"
- "3.9"
test:
name: test
needs: build_sdk
Expand Down Expand Up @@ -484,6 +526,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{matrix.pythonversion}}
- name: Setup Java
uses: actions/setup-java@v3
with:
cache: gradle
distribution: temurin
java-version: ${{matrix.javaversion}}
- name: Download provider + tfgen binaries
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -534,16 +582,19 @@ jobs:
dotnetversion:
- 3.1.301
goversion:
- 1.18.x
- 1.19.x
javaversion:
- "11"
language:
- nodejs
- python
- dotnet
- go
- java
nodeversion:
- 14.x
- 16.x
pythonversion:
- "3.7"
- "3.9"
name: main
on:
push:
Expand Down
Loading

0 comments on commit e5946bc

Please sign in to comment.