-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding step in setup-go to use GATI Token in pulling private repos (#710
) * Adding if gati token active to use it to pull private go repos * Adding setup-run-test-environment bump and gati token * ctf-run-tests bump and gati token * prettier changes
- Loading branch information
1 parent
29eb28c
commit 815a3a6
Showing
3 changed files
with
20 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,14 +162,17 @@ inputs: | |
required: false | ||
description: Do not use a go cache | ||
default: "false" | ||
gati_token: | ||
required: false | ||
description: Token provided by GATI to pull from private repos | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# Setup Tools and libraries | ||
- name: Setup environment | ||
if: inputs.run_setup == 'true' | ||
uses: smartcontractkit/.github/actions/ctf-setup-run-tests-environment@49cb1613e96c9ce17f7290e4dabd38f43aa9bd4d # [email protected] | ||
uses: smartcontractkit/.github/actions/ctf-setup-run-tests-environment@2c41e20994aa9c0ae1af1ab467c64ac4acb15f2d # [email protected] | ||
with: | ||
test_download_vendor_packages_command: | ||
${{ inputs.test_download_vendor_packages_command }} | ||
|
@@ -186,6 +189,7 @@ runs: | |
QA_KUBECONFIG: ${{ inputs.QA_KUBECONFIG }} | ||
should_tidy: ${{ inputs.should_tidy }} | ||
no_cache: ${{ inputs.no_cache }} | ||
gati_token: ${{ inputs.gati_token }} | ||
|
||
- name: Replace chainlink/integration-tests deps | ||
if: ${{ inputs.dep_chainlink_integration_tests }} | ||
|
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 |
---|---|---|
|
@@ -61,14 +61,17 @@ inputs: | |
required: false | ||
description: Do not use a go cache | ||
default: "false" | ||
gati_token: | ||
required: false | ||
description: Token provided by GATI to pull from private repos | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# Go setup and caching | ||
- name: Setup Go | ||
if: inputs.go_necessary == 'true' | ||
uses: smartcontractkit/.github/actions/ctf-setup-go@b0d756c57fcdbcff187e74166562a029fdd5d1b9 # [email protected] | ||
uses: smartcontractkit/.github/actions/ctf-setup-go@5a90069d860edbaddc296a139b13e2e97bf463ab # [email protected] | ||
with: | ||
go_version: ${{ inputs.go_version }} | ||
go_mod_path: ${{ inputs.go_mod_path }} | ||
|
@@ -78,6 +81,7 @@ runs: | |
no_cache: ${{ inputs.no_cache }} | ||
test_download_vendor_packages_command: | ||
${{ inputs.test_download_vendor_packages_command }} | ||
gati_token: ${{ inputs.gati_token }} | ||
|
||
# Setup AWS cred and K8s context | ||
- name: Configure AWS Credentials | ||
|