File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
public-api-gateway/helm/templates Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ if [[ "$CLOUD_TEST_ENVIRONMENT_TYPE" == "gke" ]]; then
7
7
artifact pull project " environments/${CLOUD_TEST_ENV_PREFIX} /terraform.tfstate" -d terraform.tfstate
8
8
CLUSTER_NAME=$( terraform output -raw cluster_name)
9
9
gcloud container clusters get-credentials ${CLUSTER_NAME} --region us-east4 --project ${GOOGLE_PROJECT_NAME}
10
- export SEMAPHORE_API_TOKEN=$( kubectl get secret root-user -o jsonpath=' {.data.token }' | base64 -d)
11
- export SEMAPHORE_USER_PASSWORD=$( kubectl get secret root-user -o jsonpath=' {.data.password }' | base64 -d)
10
+ export SEMAPHORE_API_TOKEN=$( kubectl get secret semaphore-authentication -o jsonpath=' {.data.ROOT_USER_TOKEN }' | base64 -d)
11
+ export SEMAPHORE_USER_PASSWORD=$( kubectl get secret semaphore-authentication -o jsonpath=' {.data.ROOT_USER_PASSWORD }' | base64 -d)
12
12
elif [[ " $CLOUD_TEST_ENVIRONMENT_TYPE " == " single-vm" ]]; then
13
13
artifact pull project " environments/${CLOUD_TEST_ENV_PREFIX} /private-ssh-key" -d private-ssh-key
14
14
artifact pull project " environments/${CLOUD_TEST_ENV_PREFIX} /private-ssh-key.pub" -d private-ssh-key.pub
15
15
chmod 400 private-ssh-key
16
- export SEMAPHORE_API_TOKEN=$( gcloud compute ssh --ssh-key-file private-ssh-key test-${CLOUD_TEST_ENV_PREFIX} --command " kubectl get secret root-user -o jsonpath='{.data.token }' | base64 -d" )
17
- export SEMAPHORE_USER_PASSWORD=$( gcloud compute ssh --ssh-key-file private-ssh-key test-${CLOUD_TEST_ENV_PREFIX} --command " kubectl get secret root-user -o jsonpath='{.data.password }' | base64 -d" )
16
+ export SEMAPHORE_API_TOKEN=$( gcloud compute ssh --ssh-key-file private-ssh-key test-${CLOUD_TEST_ENV_PREFIX} --command " kubectl get secret semaphore-authentication -o jsonpath='{.data.ROOT_USER_TOKEN }' | base64 -d" )
17
+ export SEMAPHORE_USER_PASSWORD=$( gcloud compute ssh --ssh-key-file private-ssh-key test-${CLOUD_TEST_ENV_PREFIX} --command " kubectl get secret semaphore-authentication -o jsonpath='{.data.ROOT_USER_PASSWORD }' | base64 -d" )
18
18
else
19
19
echo " Unknown environment type: ${CLOUD_TEST_ENVIRONMENT_TYPE} "
20
20
exit 1
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ defmodule E2E.UI.GitIntegrationsTest do
98
98
session
99
99
|> assert_has ( Wallaby.Query . text ( "GitHub App Connection" ) )
100
100
# Green circle indicator
101
- |> assert_has ( Wallaby.Query . css ( "[data-testid='connection-status']" ) )
101
+ |> assert_has ( Wallaby.Query . css ( "[data-testid='connection-status']" , minimum: 1 ) )
102
102
end
103
103
104
104
test "has required permissions section" , % { session: session } do
Original file line number Diff line number Diff line change @@ -60,11 +60,16 @@ spec:
60
60
- name : DASHBOARDS_V1ALPHA_PUBLIC_GRPC_API_ENDPOINT
61
61
value : " dashboards-v1alpha-public-grpc-api:50051"
62
62
- name : JOBS_V1ALPHA_PUBLIC_GRPC_API_ENDPOINT
63
- value : " jobs-v1alpha-public-grpc-api:50051"
63
+ value : " jobs-v1alpha-public-grpc-api-headless :50051"
64
64
- name : NOTIFICATIONS_V1ALPHA_PUBLIC_GRPC_API_ENDPOINT
65
65
value : " notifications-v1alpha-public-grpc-api:50051"
66
66
- name : PROJECT_SECRETS_V1_PUBLIC_GRPC_API_ENDPOINT
67
67
value : " secrethub-grpc:50051"
68
+ - name : AMQP_URL
69
+ valueFrom :
70
+ secretKeyRef :
71
+ name : {{ .Values.global.rabbitmq.secretName }}
72
+ key : amqp-url
68
73
{{- if .Values.resources }}
69
74
resources :
70
75
{{ toYaml .Values.resources | indent 13 }}
You can’t perform that action at this time.
0 commit comments