Skip to content

Commit

Permalink
Upgrade to v1.1.0 of the Confluent Terraform Provider (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 authored Aug 16, 2022
1 parent 6c48d05 commit 7784c78
Show file tree
Hide file tree
Showing 322 changed files with 25,516 additions and 1,267 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
PROVIDER: confluentcloud
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
83 changes: 67 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
PROVIDER: confluentcloud
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 @@ -51,6 +56,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 @@ -66,6 +77,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 @@ -90,16 +104,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 @@ -155,7 +172,7 @@ jobs:
fail-fast: true
matrix:
goversion:
- 1.18.x
- 1.19.x
prerequisites:
name: prerequisites
runs-on: ubuntu-latest
Expand Down Expand Up @@ -225,11 +242,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 @@ -281,11 +298,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 @@ -323,6 +340,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 @@ -347,11 +370,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 @@ -365,11 +405,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 @@ -407,6 +449,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 @@ -455,16 +503,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 7784c78

Please sign in to comment.