-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
260 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM jetpackio/devbox:latest | ||
|
||
# Installing your devbox project | ||
WORKDIR /code | ||
COPY devbox.json devbox.json | ||
COPY devbox.lock devbox.lock | ||
RUN sudo chown -R "${DEVBOX_USER}:${DEVBOX_USER}" /code | ||
|
||
|
||
RUN devbox run -- echo "Installed Packages." | ||
|
||
RUN devbox shellenv --init-hook >> ~/.profile |
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,16 @@ | ||
{ | ||
"name": "Devbox Remote Container", | ||
"build": { | ||
"dockerfile": "./Dockerfile", | ||
"context": ".." | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": {}, | ||
"extensions": [ | ||
"jetpack-io.devbox" | ||
] | ||
} | ||
}, | ||
"remoteUser": "devbox" | ||
} |
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,75 @@ | ||
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt | ||
|
||
name: license_check | ||
|
||
on: | ||
workflow_call: | ||
inputs: {} | ||
|
||
|
||
env: | ||
DOTNETVERSION: | | ||
6.0.x | ||
3.1.301 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.21.x | ||
GRADLEVERSION: "7.6" | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 20.x | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} | ||
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 }} | ||
PYTHONVERSION: "3.9" | ||
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 }} | ||
TF_APPEND_USER_AGENT: pulumi | ||
TRAVIS_OS_NAME: linux | ||
VAULT_DEV_ROOT_TOKEN_ID: root | ||
|
||
jobs: | ||
license_check: | ||
name: License Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ env.PR_COMMIT_SHA }} | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.21.x | ||
- run: make upstream | ||
- uses: pulumi/license-check-action@main | ||
with: | ||
module-path: provider | ||
ignore-modules: >- | ||
github.com/aead/chacha20, | ||
github.com/apache/arrow/go/v12, | ||
github.com/apache/thrift/lib/go/thrift, | ||
github.com/cloudflare/circl, | ||
github.com/golang, | ||
github.com/gorhill/cronexpr, | ||
github.com/jmespath/go-jmespath, | ||
github.com/keybase/go-crypto, | ||
github.com/klauspost/compress, | ||
github.com/mattn/go-localereader, | ||
github.com/modern-go/reflect2, | ||
github.com/pierrec/lz4, | ||
github.com/pjbgf/sha1cd, | ||
github.com/pulumi, | ||
github.com/segmentio/asm, | ||
golang.org |
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ env: | |
3.1.301 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.21.x | ||
GRADLEVERSION: "7.6" | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 20.x | ||
|
@@ -76,7 +77,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: "7.6" | ||
gradle-version: ${{ env.GRADLEVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -180,6 +181,10 @@ jobs: | |
name: lint | ||
uses: ./.github/workflows/lint.yml | ||
secrets: inherit | ||
license_check: | ||
name: License Check | ||
uses: ./.github/workflows/license.yml | ||
secrets: inherit | ||
prerequisites: | ||
name: prerequisites | ||
runs-on: ubuntu-latest | ||
|
@@ -255,9 +260,13 @@ jobs: | |
author_name: Failure in building provider prerequisites | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
|
||
|
||
publish: | ||
name: publish | ||
needs: test | ||
needs: | ||
- test | ||
- license_check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
|
@@ -307,7 +316,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].9 | ||
uses: pulumi/[email protected].12 | ||
- env: | ||
SLACK_CHANNEL: provider-upgrade-publish-status | ||
SLACK_COLOR: "#FF0000" | ||
|
@@ -388,7 +397,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: "7.6" | ||
gradle-version: ${{ env.GRADLEVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ env: | |
3.1.301 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.21.x | ||
GRADLEVERSION: "7.6" | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 20.x | ||
|
@@ -77,7 +78,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: "7.6" | ||
gradle-version: ${{ env.GRADLEVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -127,6 +128,10 @@ jobs: | |
name: lint | ||
uses: ./.github/workflows/lint.yml | ||
secrets: inherit | ||
license_check: | ||
name: License Check | ||
uses: ./.github/workflows/license.yml | ||
secrets: inherit | ||
prerequisites: | ||
name: prerequisites | ||
runs-on: ubuntu-latest | ||
|
@@ -194,16 +199,21 @@ jobs: | |
with: | ||
name: ${{ env.PROVIDER }}-provider.tar.gz | ||
path: ${{ github.workspace }}/bin/provider.tar.gz | ||
retention-days: 30 | ||
- if: failure() && github.event_name == 'push' | ||
name: Notify Slack | ||
uses: 8398a7/action-slack@v3 | ||
with: | ||
author_name: Failure in building provider prerequisites | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
|
||
|
||
publish: | ||
name: publish | ||
needs: test | ||
needs: | ||
- test | ||
- license_check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
|
@@ -253,7 +263,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].9 | ||
uses: pulumi/[email protected].12 | ||
- env: | ||
SLACK_CHANNEL: provider-upgrade-publish-status | ||
SLACK_COLOR: "#FF0000" | ||
|
@@ -316,7 +326,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: "7.6" | ||
gradle-version: ${{ env.GRADLEVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ env: | |
3.1.301 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.21.x | ||
GRADLEVERSION: "7.6" | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 20.x | ||
|
@@ -76,7 +77,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: "7.6" | ||
gradle-version: ${{ env.GRADLEVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -140,6 +141,10 @@ jobs: | |
name: lint | ||
uses: ./.github/workflows/lint.yml | ||
secrets: inherit | ||
license_check: | ||
name: License Check | ||
uses: ./.github/workflows/license.yml | ||
secrets: inherit | ||
prerequisites: | ||
name: prerequisites | ||
runs-on: ubuntu-latest | ||
|
@@ -207,16 +212,21 @@ jobs: | |
with: | ||
name: ${{ env.PROVIDER }}-provider.tar.gz | ||
path: ${{ github.workspace }}/bin/provider.tar.gz | ||
retention-days: 30 | ||
- if: failure() && github.event_name == 'push' | ||
name: Notify Slack | ||
uses: 8398a7/action-slack@v3 | ||
with: | ||
author_name: Failure in building provider prerequisites | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
|
||
|
||
publish: | ||
name: publish | ||
needs: test | ||
needs: | ||
- test | ||
- license_check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
|
@@ -265,7 +275,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Publish SDKs | ||
uses: pulumi/[email protected].9 | ||
uses: pulumi/[email protected].12 | ||
- env: | ||
SLACK_CHANNEL: provider-upgrade-publish-status | ||
SLACK_COLOR: "#FF0000" | ||
|
@@ -362,7 +372,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: "7.6" | ||
gradle-version: ${{ env.GRADLEVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
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
Oops, something went wrong.