Result of tsccr-helper -log-level=info gha update -latest .github/ (#5226)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
66e8ec0f41
commit
69b60c82df
17 files changed
+78
-78
No files matched your search
@@ -11,7 +11,7 @@ jobs:
|
|||||||
actionlint:
|
actionlint:
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Check workflow files
|
- name: Check workflow files
|
||||||
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:5acca218639222e4afbc82fc6e9ef56cbe646ade3b07f3f5ec364b638258a244
|
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:5acca218639222e4afbc82fc6e9ef56cbe646ade3b07f3f5ec364b638258a244
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
container: hashicorpdev/backport-assistant:0.5.1
|
container: hashicorpdev/backport-assistant:0.5.1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Fetch all branches and tags
|
fetch-depth: 0 # Fetch all branches and tags
|
||||||
- name: Check if any migrations have changed
|
- name: Check if any migrations have changed
|
||||||
|
|||||||
+19
-19
@@ -26,7 +26,7 @@ jobs:
|
|||||||
base-product-version: $${{ steps.set-product-version.outputs.base-product-version }}
|
base-product-version: $${{ steps.set-product-version.outputs.base-product-version }}
|
||||||
prerelease-product-version: ${{ steps.set-product-version.outputs.prerelease-product-version }}
|
prerelease-product-version: ${{ steps.set-product-version.outputs.prerelease-product-version }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set Product version
|
- name: Set Product version
|
||||||
id: set-product-version
|
id: set-product-version
|
||||||
uses: hashicorp/actions-set-product-version@v2 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
uses: hashicorp/actions-set-product-version@v2 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
product-edition: ${{ steps.get-product-edition.outputs.product-edition }}
|
product-edition: ${{ steps.get-product-edition.outputs.product-edition }}
|
||||||
go-version: ${{ steps.get-go-version.outputs.go-version }}
|
go-version: ${{ steps.get-go-version.outputs.go-version }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
id: get-go-version
|
id: get-go-version
|
||||||
# We use .go-version as our source of truth for current Go
|
# We use .go-version as our source of truth for current Go
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
echo "Building with Go $(cat .go-version)"
|
echo "Building with Go $(cat .go-version)"
|
||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -86,7 +86,7 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON(vars.BUILDER_LINUX) }}
|
runs-on: ${{ fromJSON(vars.BUILDER_LINUX) }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout directory'
|
- name: 'Checkout directory'
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- run: |
|
- run: |
|
||||||
echo "Product Version - ${{ needs.set-product-version.outputs.product-version }}"
|
echo "Product Version - ${{ needs.set-product-version.outputs.product-version }}"
|
||||||
echo "Product Prerelease - ${{ needs.set-product-version.outputs.prerelease-product-version }}"
|
echo "Product Prerelease - ${{ needs.set-product-version.outputs.prerelease-product-version }}"
|
||||||
@@ -100,7 +100,7 @@ jobs:
|
|||||||
filepath: ${{ steps.generate-metadata-file.outputs.filepath }}
|
filepath: ${{ steps.generate-metadata-file.outputs.filepath }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout directory'
|
- name: 'Checkout directory'
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Generate metadata file
|
- name: Generate metadata file
|
||||||
id: generate-metadata-file
|
id: generate-metadata-file
|
||||||
uses: hashicorp/actions-generate-metadata@v1 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
uses: hashicorp/actions-generate-metadata@v1 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
repository: boundary
|
repository: boundary
|
||||||
version: ${{ needs.set-product-version.outputs.product-version }}
|
version: ${{ needs.set-product-version.outputs.product-version }}
|
||||||
product: ${{ env.PKG_NAME }}
|
product: ${{ env.PKG_NAME }}
|
||||||
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
name: metadata.json
|
name: metadata.json
|
||||||
path: ${{ steps.generate-metadata-file.outputs.filepath }}
|
path: ${{ steps.generate-metadata-file.outputs.filepath }}
|
||||||
@@ -137,9 +137,9 @@ jobs:
|
|||||||
GOPRIVATE: "github.com/hashicorp"
|
GOPRIVATE: "github.com/hashicorp"
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
cache: false
|
cache: false
|
||||||
@@ -149,7 +149,7 @@ jobs:
|
|||||||
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -205,11 +205,11 @@ jobs:
|
|||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
cache: false
|
cache: false
|
||||||
@@ -219,7 +219,7 @@ jobs:
|
|||||||
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -279,12 +279,12 @@ jobs:
|
|||||||
echo "RPM_PACKAGE=$(basename out/*.rpm)" >> "$GITHUB_ENV"
|
echo "RPM_PACKAGE=$(basename out/*.rpm)" >> "$GITHUB_ENV"
|
||||||
echo "DEB_PACKAGE=$(basename out/*.deb)" >> "$GITHUB_ENV"
|
echo "DEB_PACKAGE=$(basename out/*.deb)" >> "$GITHUB_ENV"
|
||||||
- name: Upload RPM package
|
- name: Upload RPM package
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
name: ${{ env.RPM_PACKAGE }}
|
name: ${{ env.RPM_PACKAGE }}
|
||||||
path: out/${{ env.RPM_PACKAGE }}
|
path: out/${{ env.RPM_PACKAGE }}
|
||||||
- name: Upload DEB package
|
- name: Upload DEB package
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
name: ${{ env.DEB_PACKAGE }}
|
name: ${{ env.DEB_PACKAGE }}
|
||||||
path: out/${{ env.DEB_PACKAGE }}
|
path: out/${{ env.DEB_PACKAGE }}
|
||||||
@@ -307,9 +307,9 @@ jobs:
|
|||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
cache: false
|
cache: false
|
||||||
@@ -319,7 +319,7 @@ jobs:
|
|||||||
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -371,7 +371,7 @@ jobs:
|
|||||||
version: ${{ needs.set-product-version.outputs.product-version }}
|
version: ${{ needs.set-product-version.outputs.product-version }}
|
||||||
minor-version: ${{ needs.product-metadata.outputs.product-minor-version }}
|
minor-version: ${{ needs.product-metadata.outputs.product-minor-version }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Docker Build (Action)
|
- name: Docker Build (Action)
|
||||||
uses: hashicorp/actions-docker-build@v2 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
uses: hashicorp/actions-docker-build@v2 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
- uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
||||||
with:
|
with:
|
||||||
terraform_wrapper: false
|
terraform_wrapper: false
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ jobs:
|
|||||||
go-cache-key: ${{ steps.go-cache-key.outputs.key }}
|
go-cache-key: ${{ steps.go-cache-key.outputs.key }}
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go-version }}
|
go-version: ${{ inputs.go-version }}
|
||||||
cache: false
|
cache: false
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
|
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -103,14 +103,14 @@ jobs:
|
|||||||
ENOS_VAR_go_version: ${{ inputs.go-version }}
|
ENOS_VAR_go_version: ${{ inputs.go-version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go-version }}
|
go-version: ${{ inputs.go-version }}
|
||||||
cache: false
|
cache: false
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.cache-go-build }}
|
${{ needs.setup.outputs.cache-go-build }}
|
||||||
@@ -128,7 +128,7 @@ jobs:
|
|||||||
terraform_wrapper: false
|
terraform_wrapper: false
|
||||||
- name: Import GPG key for Boundary pass keystore
|
- name: Import GPG key for Boundary pass keystore
|
||||||
id: import_gpg
|
id: import_gpg
|
||||||
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
|
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
|
||||||
with:
|
with:
|
||||||
gpg_private_key: ${{ secrets.ENOS_GPG_PRIVATE_KEY }}
|
gpg_private_key: ${{ secrets.ENOS_GPG_PRIVATE_KEY }}
|
||||||
passphrase: ${{ secrets.ENOS_GPG_PASSPHRASE }}
|
passphrase: ${{ secrets.ENOS_GPG_PASSPHRASE }}
|
||||||
@@ -160,7 +160,7 @@ jobs:
|
|||||||
echo "debug_data_artifact_name=enos-debug-data_$(echo ${{ matrix.filter }} | sed -e 's/ /_/g' | sed -e 's/:/=/g')" >> "$GITHUB_OUTPUT"
|
echo "debug_data_artifact_name=enos-debug-data_$(echo ${{ matrix.filter }} | sed -e 's/ /_/g' | sed -e 's/:/=/g')" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up dependency cache
|
- name: Set up dependency cache
|
||||||
id: dep-cache
|
id: dep-cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: /tmp/test-deps
|
path: /tmp/test-deps
|
||||||
key: enos-test-deps-password-store-1.7.4-vault-1.12.2
|
key: enos-test-deps-password-store-1.7.4-vault-1.12.2
|
||||||
@@ -218,12 +218,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mv ${{ steps.download-docker.outputs.download-path }}/*.tar enos/support/boundary_docker_image.tar
|
mv ${{ steps.download-docker.outputs.download-path }}/*.tar enos/support/boundary_docker_image.tar
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||||
if: contains(matrix.filter, 'e2e_ui')
|
if: contains(matrix.filter, 'e2e_ui')
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '16.x'
|
||||||
- name: Checkout boundary-ui
|
- name: Checkout boundary-ui
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
if: contains(matrix.filter, 'e2e_ui')
|
if: contains(matrix.filter, 'e2e_ui')
|
||||||
with:
|
with:
|
||||||
repository: hashicorp/boundary-ui
|
repository: hashicorp/boundary-ui
|
||||||
@@ -266,7 +266,7 @@ jobs:
|
|||||||
SCENARIO=$(echo "${{ matrix.filter }}" | cut -d' ' -f1)
|
SCENARIO=$(echo "${{ matrix.filter }}" | cut -d' ' -f1)
|
||||||
echo fragment="${SCENARIO}" >> "$GITHUB_OUTPUT"
|
echo fragment="${SCENARIO}" >> "$GITHUB_OUTPUT"
|
||||||
- name: Upload e2e tests output
|
- name: Upload e2e tests output
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
name: test-${{ steps.split.outputs.fragment }}
|
name: test-${{ steps.split.outputs.fragment }}
|
||||||
path: enos/*.log
|
path: enos/*.log
|
||||||
@@ -279,7 +279,7 @@ jobs:
|
|||||||
docker logs database
|
docker logs database
|
||||||
- name: Upload e2e UI tests debug info
|
- name: Upload e2e UI tests debug info
|
||||||
if: contains(matrix.filter, 'e2e_ui') && steps.run.outcome == 'failure'
|
if: contains(matrix.filter, 'e2e_ui') && steps.run.outcome == 'failure'
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
name: test-e2e-ui-debug
|
name: test-e2e-ui-debug
|
||||||
path: enos/support/src/boundary-ui/ui/admin/tests/e2e/artifacts/test-failures
|
path: enos/support/src/boundary-ui/ui/admin/tests/e2e/artifacts/test-failures
|
||||||
@@ -292,7 +292,7 @@ jobs:
|
|||||||
enos scenario launch --timeout 60m0s --chdir ./enos ${{ matrix.filter }}
|
enos scenario launch --timeout 60m0s --chdir ./enos ${{ matrix.filter }}
|
||||||
- name: Upload Debug Data
|
- name: Upload Debug Data
|
||||||
if: ${{ always() && steps.run_retry.outcome == 'failure' }}
|
if: ${{ always() && steps.run_retry.outcome == 'failure' }}
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
# The name of the artifact is the same as the matrix scenario name with the spaces replaced with underscores and colons replaced by equals.
|
# The name of the artifact is the same as the matrix scenario name with the spaces replaced with underscores and colons replaced by equals.
|
||||||
name: ${{ steps.prepare_scenario.outputs.debug_data_artifact_name }}
|
name: ${{ steps.prepare_scenario.outputs.debug_data_artifact_name }}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
name: Fuzz grants.Parse
|
name: Fuzz grants.Parse
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
id: get-go-version
|
id: get-go-version
|
||||||
# We use .go-version as our source of truth for current Go
|
# We use .go-version as our source of truth for current Go
|
||||||
@@ -42,14 +42,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Building with Go $(cat .go-version)"
|
echo "Building with Go $(cat .go-version)"
|
||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
- shell: bash
|
- shell: bash
|
||||||
run: go test ./internal/perms -fuzz=FuzzParse -fuzztime=30s
|
run: go test ./internal/perms -fuzz=FuzzParse -fuzztime=30s
|
||||||
- name: Upload fuzz failure seed corpus as run artifact
|
- name: Upload fuzz failure seed corpus as run artifact
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||||
with:
|
with:
|
||||||
name: fuzz-corpus
|
name: fuzz-corpus
|
||||||
path: ./internal/perms/testdata/fuzz
|
path: ./internal/perms/testdata/fuzz
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
name: "Run Linter"
|
name: "Run Linter"
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
echo "Building with Go $(cat .go-version)"
|
echo "Building with Go $(cat .go-version)"
|
||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
name: "Check for uncommitted changes from make gen"
|
name: "Check for uncommitted changes from make gen"
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
echo "Building with Go $(cat .go-version)"
|
echo "Building with Go $(cat .go-version)"
|
||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
- name: Running go mod tidy
|
- name: Running go mod tidy
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
if: '! github.event.pull_request.draft'
|
if: '! github.event.pull_request.draft'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- name: Generate Schema Diff
|
- name: Generate Schema Diff
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
github.actor != 'dependabot[bot]' &&
|
github.actor != 'dependabot[bot]' &&
|
||||||
github.actor != 'hc-github-team-secure-boundary'
|
github.actor != 'hc-github-team-secure-boundary'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
id: get-go-version
|
id: get-go-version
|
||||||
@@ -28,18 +28,18 @@ jobs:
|
|||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
|
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
|
||||||
- name: Clone Security Scanner repo
|
- name: Clone Security Scanner repo
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
repository: hashicorp/security-scanner
|
repository: hashicorp/security-scanner
|
||||||
token: ${{ secrets.PRODSEC_SCANNER_READ_ONLY }}
|
token: ${{ secrets.PRODSEC_SCANNER_READ_ONLY }}
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
repository: "$PWD"
|
repository: "$PWD"
|
||||||
|
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@5618c9fc1e675841ca52c1c6b1304f5255a905a0 # codeql-bundle-v2.19.0
|
uses: github/codeql-action/upload-sarif@af56b044b5d41c317aef5d19920b3183cb4fbbec # codeql-bundle-v2.19.2
|
||||||
with:
|
with:
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
TF_TOKEN_app_terraform_io: ${{ secrets.TF_API_TOKEN }}
|
TF_TOKEN_app_terraform_io: ${{ secrets.TF_API_TOKEN }}
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up Terraform
|
- name: Set up Terraform
|
||||||
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
||||||
- name: Configure AWS credentials
|
- name: Configure AWS credentials
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
role-skip-session-tagging: true
|
role-skip-session-tagging: true
|
||||||
role-duration-seconds: 3600
|
role-duration-seconds: 3600
|
||||||
mask-aws-account-id: false
|
mask-aws-account-id: false
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
cp enos/ci/aws-nuke.yml .
|
cp enos/ci/aws-nuke.yml .
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ jobs:
|
|||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
name: CLI tests
|
name: CLI tests
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Import GPG key for Boundary pass keystore
|
- name: Import GPG key for Boundary pass keystore
|
||||||
id: import_gpg
|
id: import_gpg
|
||||||
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
|
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0
|
||||||
with:
|
with:
|
||||||
gpg_private_key: ${{ secrets.ENOS_GPG_PRIVATE_KEY }}
|
gpg_private_key: ${{ secrets.ENOS_GPG_PRIVATE_KEY }}
|
||||||
passphrase: ${{ secrets.ENOS_GPG_PASSPHRASE }}
|
passphrase: ${{ secrets.ENOS_GPG_PASSPHRASE }}
|
||||||
@@ -31,12 +31,12 @@ jobs:
|
|||||||
cat ~/.gnupg/gpg.conf
|
cat ~/.gnupg/gpg.conf
|
||||||
- name: Set up Bats CLI UI tests dependency cache
|
- name: Set up Bats CLI UI tests dependency cache
|
||||||
id: dep-cache
|
id: dep-cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: /tmp/bats-cli-ui-deps
|
path: /tmp/bats-cli-ui-deps
|
||||||
key: enos-bats-cli-ui-deps-jq-1.6-password-store-1.7.4-vault-1.12.2
|
key: enos-bats-cli-ui-deps-jq-1.6-password-store-1.7.4-vault-1.12.2
|
||||||
- name: Set up Node for Bats install
|
- name: Set up Node for Bats install
|
||||||
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
- name: Install Bats via NPM
|
- name: Install Bats via NPM
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
plugin-cache-key: ${{ steps.plugin-cache-key.outputs.key }}
|
plugin-cache-key: ${{ steps.plugin-cache-key.outputs.key }}
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
echo "Building with Go $(cat .go-version)"
|
echo "Building with Go $(cat .go-version)"
|
||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
|
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
echo "path=plugins/**/assets/*.gz" >> "$GITHUB_OUTPUT"
|
echo "path=plugins/**/assets/*.gz" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up plugin cache
|
- name: Set up plugin cache
|
||||||
id: plugin-cache
|
id: plugin-cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.plugin-cache-paths.outputs.path }}
|
${{ steps.plugin-cache-paths.outputs.path }}
|
||||||
@@ -93,14 +93,14 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
module: ["api", "sdk"]
|
module: ["api", "sdk"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ needs.setup.outputs.go-version }}"
|
go-version: "${{ needs.setup.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.cache-go-build }}
|
${{ needs.setup.outputs.cache-go-build }}
|
||||||
@@ -125,14 +125,14 @@ jobs:
|
|||||||
ulimit -Sa
|
ulimit -Sa
|
||||||
echo "Hard limits"
|
echo "Hard limits"
|
||||||
ulimit -Ha
|
ulimit -Ha
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ needs.setup.outputs.go-version }}"
|
go-version: "${{ needs.setup.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.cache-go-build }}
|
${{ needs.setup.outputs.cache-go-build }}
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
fail-on-cache-miss: false
|
fail-on-cache-miss: false
|
||||||
- name: Set up plugin cache
|
- name: Set up plugin cache
|
||||||
id: plugin-cache
|
id: plugin-cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.plugin-cache-path }}
|
${{ needs.setup.outputs.plugin-cache-path }}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
postgres-version: [ latest, 12-alpine, 13-alpine, 14-alpine, 15-alpine ]
|
postgres-version: [ latest, 12-alpine, 13-alpine, 14-alpine, 15-alpine ]
|
||||||
name: SQL Tests ${{ matrix.postgres-version }}
|
name: SQL Tests ${{ matrix.postgres-version }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Run SQL PgTap Tests
|
- name: Run SQL PgTap Tests
|
||||||
run: |
|
run: |
|
||||||
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }}
|
make test-sql POSTGRES_DOCKER_IMAGE_BASE=docker.mirror.hashicorp.services/postgres PG_DOCKER_TAG=${{ matrix.postgres-version }}
|
||||||
+11
-11
@@ -25,7 +25,7 @@ jobs:
|
|||||||
plugin-cache-key: ${{ steps.plugin-cache-key.outputs.key }}
|
plugin-cache-key: ${{ steps.plugin-cache-key.outputs.key }}
|
||||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- name: Determine Go version
|
- name: Determine Go version
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
echo "Building with Go $(cat .go-version)"
|
echo "Building with Go $(cat .go-version)"
|
||||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||||
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
|
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.go-cache-paths.outputs.go-build }}
|
${{ steps.go-cache-paths.outputs.go-build }}
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
echo "path=plugins/**/assets/*.gz" >> "$GITHUB_OUTPUT"
|
echo "path=plugins/**/assets/*.gz" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set up plugin cache
|
- name: Set up plugin cache
|
||||||
id: plugin-cache
|
id: plugin-cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ steps.plugin-cache-paths.outputs.path }}
|
${{ steps.plugin-cache-paths.outputs.path }}
|
||||||
@@ -93,14 +93,14 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
module: ["api", "sdk"]
|
module: ["api", "sdk"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ needs.setup.outputs.go-version }}"
|
go-version: "${{ needs.setup.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.cache-go-build }}
|
${{ needs.setup.outputs.cache-go-build }}
|
||||||
@@ -125,14 +125,14 @@ jobs:
|
|||||||
ulimit -Sa
|
ulimit -Sa
|
||||||
echo "Hard limits"
|
echo "Hard limits"
|
||||||
ulimit -Ha
|
ulimit -Ha
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
|
||||||
with:
|
with:
|
||||||
go-version: "${{ needs.setup.outputs.go-version }}"
|
go-version: "${{ needs.setup.outputs.go-version }}"
|
||||||
cache: false
|
cache: false
|
||||||
- name: Set up Go modules cache
|
- name: Set up Go modules cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.cache-go-build }}
|
${{ needs.setup.outputs.cache-go-build }}
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
fail-on-cache-miss: false
|
fail-on-cache-miss: false
|
||||||
- name: Set up plugin cache
|
- name: Set up plugin cache
|
||||||
id: plugin-cache
|
id: plugin-cache
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ needs.setup.outputs.plugin-cache-path }}
|
${{ needs.setup.outputs.plugin-cache-path }}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
DOWNSTREAM_TOK: ${{ secrets.DOWNSTREAM_TOK }}
|
DOWNSTREAM_TOK: ${{ secrets.DOWNSTREAM_TOK }}
|
||||||
DOWNSTREAM_WORKFLOW: ${{ vars.DOWNSTREAM_WORKFLOW }}
|
DOWNSTREAM_WORKFLOW: ${{ vars.DOWNSTREAM_WORKFLOW }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Trigger Merge
|
- name: Trigger Merge
|
||||||
run: |
|
run: |
|
||||||
./scripts/trigger-merge-to-downstream-gha ${{ github.ref_name }}
|
./scripts/trigger-merge-to-downstream-gha ${{ github.ref_name }}
|
||||||
Reference in new issue
Block a user