Skip to content

Commit c73a9a0

Browse files
committed
updated artifactory token
1 parent db25342 commit c73a9a0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/test-run-enos-scenario-matrix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
132132
token: ${{ steps.vault-auth.outputs.token }}
133133
secrets: |
134-
kv/data/github/${{ github.repository }}/artifactory token | ARTIFACTORY_TOKEN;
134+
kv/data/github/${{ github.repository }}/artifactory bearer-token | ARTIFACTORY_BEARER_TOKEN;
135135
kv/data/github/${{ github.repository }}/aws access-key-id | AWS_ACCESS_KEY_ID_CI;
136136
kv/data/github/${{ github.repository }}/aws secret-access-key | AWS_SECRET_ACCESS_KEY_CI;
137137
kv/data/github/${{ github.repository }}/aws role-arn | AWS_ROLE_ARN_CI;
@@ -145,7 +145,7 @@ jobs:
145145
run: |
146146
if [[ "${{ needs.metadata.outputs.is-enterprise }}" != 'true' ]]; then
147147
{
148-
echo "artifactory-token=${{ secrets.ARTIFACTORY_TOKEN }}"
148+
echo "artifactory-token=${{ steps.vault-secrets.outputs.ARTIFACTORY_BEARER_TOKEN }}"
149149
echo "aws-access-key-id=${{ secrets.AWS_ACCESS_KEY_ID_CI }}"
150150
echo "aws-secret-access-key=${{ secrets.AWS_SECRET_ACCESS_KEY_CI }}"
151151
echo "aws-role-arn=${{ secrets.AWS_ROLE_ARN_CI }}"
@@ -160,7 +160,7 @@ jobs:
160160
} | tee -a "$GITHUB_OUTPUT"
161161
else
162162
{
163-
echo "artifactory-token=${{ steps.vault-secrets.outputs.ARTIFACTORY_TOKEN }}"
163+
echo "artifactory-token=${{ steps.vault-secrets.outputs.ARTIFACTORY_BEARER_TOKEN }}"
164164
echo "aws-access-key-id=${{ steps.vault-secrets.outputs.AWS_ACCESS_KEY_ID_CI }}"
165165
echo "aws-secret-access-key=${{ steps.vault-secrets.outputs.AWS_SECRET_ACCESS_KEY_CI }}"
166166
echo "aws-role-arn=${{ steps.vault-secrets.outputs.AWS_ROLE_ARN_CI }}"

.github/workflows/test-run-enos-scenario.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
ENOS_VAR_vault_log_level: trace
4545
ENOS_VAR_aws_ssh_private_key_path: ./support/private_key.pem
4646
ENOS_VAR_tfc_api_token: ${{ secrets.TF_API_TOKEN }}
47-
ENOS_VAR_artifactory_token: ${{ secrets.ARTIFACTORY_TOKEN }}
47+
ENOS_VAR_artifactory_token: ${{ env.ARTIFACTORY_BEARER_TOKEN }}
4848
ENOS_VAR_terraform_plugin_cache_dir: ./support/terraform-plugin-cache
4949
ENOS_VAR_vault_license_path: ./support/vault.hclic
5050
ENOS_DEBUG_DATA_ROOT_DIR: /tmp/enos-debug-data

enos/enos-dev-scenario-pr-replication.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ scenario "dev_pr_replication" {
114114
The artifactory host to search. It's very unlikely that you'll want to change this. The
115115
default value is where CRT will publish packages.
116116
artifactory_token:
117-
The artifactory token associated with your username. You'll need this if you wish to use
118-
deb or rpm artifacts! You can create a token by logging into Artifactory via Okta.
117+
The artifactory identity token associated with a service account. You'll need this if you wish to use
118+
deb or rpm artifacts! You can get a token by creating an Artifactory user in the engservices-artifactory-management repo.
119119
dev_build_local_ui:
120120
If you are not testing any changes in the UI, set to false. This will save time by not
121121
building the entire UI. If you need to test the UI, set to true.

enos/enos-dev-scenario-single-cluster.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ scenario "dev_single_cluster" {
108108
The artifactory host to search. It's very unlikely that you'll want to change this. The
109109
default value is where CRT will publish packages.
110110
artifactory_token:
111-
The artifactory token associated with your username. You'll need this if you wish to use
112-
deb or rpm artifacts! You can create a token by logging into Artifactory via Okta.
111+
The artifactory identity token associated with a service account. You'll need this if you wish to use
112+
deb or rpm artifacts! You can get a token by creating an Artifactory user in the engservices-artifactory-management repo.
113113
dev_build_local_ui:
114114
If you are not testing any changes in the UI, set to false. This will save time by not
115115
building the entire UI. If you need to test the UI, set to true.

0 commit comments

Comments
 (0)