mirror of https://github.com/status-im/consul.git
Set GOPRIVATE for all hashicorp repos in CI (#17817)
Consistently set GOPRIVATE to include all hashicorp repos, s.t. private modules are successfully pulled in enterprise CI.
This commit is contained in:
parent
f17b7f32fc
commit
500dcb1f21
|
@ -13,7 +13,7 @@ permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GOPRIVATE: github.com/hashicorp
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
|
|
|
@ -15,6 +15,7 @@ permissions:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GOTAGS: ${{ endsWith(github.repository, '-enterprise') && 'consulent' || '' }}
|
GOTAGS: ${{ endsWith(github.repository, '-enterprise') && 'consulent' || '' }}
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
|
|
|
@ -14,6 +14,7 @@ on:
|
||||||
env:
|
env:
|
||||||
PKG_NAME: consul
|
PKG_NAME: consul
|
||||||
METADATA: oss
|
METADATA: oss
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
set-product-version:
|
set-product-version:
|
||||||
|
|
|
@ -21,6 +21,7 @@ permissions:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TEST_RESULTS: /tmp/test-results
|
TEST_RESULTS: /tmp/test-results
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
|
|
|
@ -8,9 +8,10 @@ on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
||||||
BRANCH: "release/1.13.x"
|
BRANCH: "release/1.13.x"
|
||||||
BRANCH_NAME: "release-1.13.x" # Used for naming artifacts
|
BRANCH_NAME: "release-1.13.x" # Used for naming artifacts
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test-workspace-node:
|
frontend-test-workspace-node:
|
||||||
|
|
|
@ -8,9 +8,10 @@ on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
||||||
BRANCH: "release/1.14.x"
|
BRANCH: "release/1.14.x"
|
||||||
BRANCH_NAME: "release-1.14.x" # Used for naming artifacts
|
BRANCH_NAME: "release-1.14.x" # Used for naming artifacts
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test-workspace-node:
|
frontend-test-workspace-node:
|
||||||
|
|
|
@ -8,9 +8,10 @@ on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
||||||
BRANCH: "release/1.15.x"
|
BRANCH: "release/1.15.x"
|
||||||
BRANCH_NAME: "release-1.15.x" # Used for naming artifacts
|
BRANCH_NAME: "release-1.15.x" # Used for naming artifacts
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test-workspace-node:
|
frontend-test-workspace-node:
|
||||||
|
|
|
@ -8,9 +8,10 @@ on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
||||||
BRANCH: "release/1.16.x"
|
BRANCH: "release/1.16.x"
|
||||||
BRANCH_NAME: "release-1.16.x" # Used for naming artifacts
|
BRANCH_NAME: "release-1.16.x" # Used for naming artifacts
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test-workspace-node:
|
frontend-test-workspace-node:
|
||||||
|
|
|
@ -8,9 +8,10 @@ on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
EMBER_PARTITION_TOTAL: 4 # Has to be changed in tandem with the matrix.partition
|
||||||
BRANCH: "main"
|
BRANCH: "main"
|
||||||
BRANCH_NAME: "main" # Used for naming artifacts
|
BRANCH_NAME: "main" # Used for naming artifacts
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
frontend-test-workspace-node:
|
frontend-test-workspace-node:
|
||||||
|
|
|
@ -20,6 +20,7 @@ on:
|
||||||
env:
|
env:
|
||||||
GOTAGS: "${{ github.event.repository.name == 'consul-enterprise' && 'consulent consulprem consuldev' || '' }}"
|
GOTAGS: "${{ github.event.repository.name == 'consul-enterprise' && 'consulent consulprem consuldev' || '' }}"
|
||||||
GOARCH: ${{inputs.go-arch}}
|
GOARCH: ${{inputs.go-arch}}
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
@ -51,6 +51,7 @@ env:
|
||||||
TOTAL_RUNNERS: ${{inputs.runner-count}}
|
TOTAL_RUNNERS: ${{inputs.runner-count}}
|
||||||
CONSUL_LICENSE: ${{secrets.consul-license}}
|
CONSUL_LICENSE: ${{secrets.consul-license}}
|
||||||
GOTAGS: ${{ inputs.go-tags}}
|
GOTAGS: ${{ inputs.go-tags}}
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
DATADOG_API_KEY: ${{secrets.datadog-api-key}}
|
DATADOG_API_KEY: ${{secrets.datadog-api-key}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -46,6 +46,7 @@ env:
|
||||||
GOARCH: ${{inputs.go-arch}}
|
GOARCH: ${{inputs.go-arch}}
|
||||||
CONSUL_LICENSE: ${{secrets.consul-license}}
|
CONSUL_LICENSE: ${{secrets.consul-license}}
|
||||||
GOTAGS: ${{ inputs.go-tags}}
|
GOTAGS: ${{ inputs.go-tags}}
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
DATADOG_API_KEY: ${{secrets.datadog-api-key}}
|
DATADOG_API_KEY: ${{secrets.datadog-api-key}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -23,6 +23,7 @@ env:
|
||||||
CONSUL_BINARY_UPLOAD_NAME: consul-bin
|
CONSUL_BINARY_UPLOAD_NAME: consul-bin
|
||||||
# strip the hashicorp/ off the front of github.repository for consul
|
# strip the hashicorp/ off the front of github.repository for consul
|
||||||
CONSUL_LATEST_IMAGE_NAME: ${{ endsWith(github.repository, '-enterprise') && github.repository || 'consul' }}
|
CONSUL_LATEST_IMAGE_NAME: ${{ endsWith(github.repository, '-enterprise') && github.repository || 'consul' }}
|
||||||
|
GOPRIVATE: github.com/hashicorp # Required for enterprise deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
|
|
Loading…
Reference in New Issue