Commits on Source (3)
-
Radu Popa authored
* rework ci * update runner * update runner * update runner 2 * add the scripts * trigger pipeline * Apply suggestions from code review Co-authored-by: Denis Pisarev <[email protected]> * rename * rename * try with a trigger * try with a trigger * try with a trigger 2 * cleanup Co-authored-by: Denis Pisarev <[email protected]>
-
Radu Popa authored5116c700
-
Radu Popa authoredba68dbca
... | @@ -17,27 +17,34 @@ helm ls -n gitlab-simnetscripts-ci | ... | @@ -17,27 +17,34 @@ helm ls -n gitlab-simnetscripts-ci |
# get credentials from here https://console.developers.google.com/apis/credentials?project=parity-simnet | # get credentials from here https://console.developers.google.com/apis/credentials?project=parity-simnet | ||
kubectl -n gitlab-simnetscripts-ci create secret generic gcsaccess --from-literal=gcs-access-id="[email protected]" --from-literal=gcs-private-key='"-----BEGIN PRIVATE KEY-----\nXXXXXX\n-----END PRIVATE KEY-----\n' | kubectl -n gitlab-simnetscripts-ci create secret generic gcsaccess --from-literal=gcs-access-id="[email protected]" --from-literal=gcs-private-key='"-----BEGIN PRIVATE KEY-----\nXXXXXX\n-----END PRIVATE KEY-----\n' | ||
helm install simnetscripts-gitlab-runner \ | |||
# runnerRegistrationToken= | |||
helm install simnetscripts \ | |||
gitlab/gitlab-runner \ | gitlab/gitlab-runner \ | ||
-f values.yaml \ | -f values.yaml \ | ||
--namespace gitlab-simnetscripts-ci | --namespace gitlab-simnetscripts-ci \ | ||
--set runnerRegistrationToken="${runnerRegistrationToken}" | |||
helm install simnetscripts-build-gitlab-runner \ | helm install simnetscripts-build-gitlab-runner \ | ||
gitlab/gitlab-runner \ | gitlab/gitlab-runner \ | ||
-f build-values.yaml \ | -f build-values.yaml \ | ||
--namespace gitlab-simnetscripts-ci | --namespace gitlab-simnetscripts-ci \ | ||
--set runnerRegistrationToken="${runnerRegistrationToken}" | |||
# pull repo locally for inspection | # pull repo locally for inspection | ||
helm pull gitlab/gitlab-runner --untar | helm pull gitlab/gitlab-runner --untar | ||
# Push changes | # Push changes | ||
helm upgrade simnetscripts-gitlab-runner gitlab/gitlab-runner \ | helm upgrade simnetscripts gitlab/gitlab-runner \ | ||
-f values.yaml \ | -f values.yaml \ | ||
--namespace gitlab-simnetscripts-ci | --namespace gitlab-simnetscripts-ci \ | ||
--set runnerRegistrationToken="${runnerRegistrationToken}" | |||
helm upgrade simnetscripts-build-gitlab-runner gitlab/gitlab-runner \ | helm upgrade simnetscripts-build-gitlab-runner gitlab/gitlab-runner \ | ||
-f build-values.yaml \ | -f build-values.yaml \ | ||
--namespace gitlab-simnetscripts-ci | --namespace gitlab-simnetscripts-ci \ | ||
--set runnerRegistrationToken="${runnerRegistrationToken}" | |||