dast_environment_deploy
Passed Started
by
@astoicescu
Andrei Stoicescu
This job is an out-of-date deployment to dast-default. View the most recent deployment.
This job is archived. Only the complete pipeline can be retried.
1Running with gitlab-runner 13.1.0-rc1 (b9d289ed)2 on docker-auto-scale fa6cab464Using Docker executor with image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.17.0 ...5Pulling docker image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.17.0 ...6Using docker image sha256:f3e93bdc0fc2992fbc7a273e897f5f2f1d37c1a4e64cc3e5b53c5c9a1e73dc73 for registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.17.0 ...8Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1592472942-7a14df0f...10$ eval "$CI_PRE_CLONE_SCRIPT"11Fetching changes with git depth set to 50...12Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/13Created fresh repository.14Checking out 8186baa9 as master...15Skipping Git submodules setup17$ auto-deploy check_kube_domain18$ auto-deploy download_chart19Creating /root/.helm 20Creating /root/.helm/repository 21Creating /root/.helm/repository/cache 22Creating /root/.helm/repository/local 23Creating /root/.helm/plugins 24Creating /root/.helm/starters 25Creating /root/.helm/cache/archive 26Creating /root/.helm/repository/repositories.yaml 27Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 28Adding local repo with URL: http://127.0.0.1:8879/charts 29$HELM_HOME has been configured at /root/.helm.30Not installing Tiller due to 'client-only' flag having been set31"gitlab" has been added to your repositories32Hang tight while we grab the latest from your chart repositories...33...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):34 Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused35...Successfully got an update from the "gitlab" chart repository36...Successfully got an update from the "stable" chart repository37Update Complete.38Saving 1 charts39Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/40Deleting outdated charts41Hang tight while we grab the latest from your chart repositories...42...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):43 Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused44...Successfully got an update from the "gitlab" chart repository45...Successfully got an update from the "stable" chart repository46Update Complete.47Saving 1 charts48Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/49Deleting outdated charts50$ auto-deploy ensure_namespace51NAME STATUS AGE52monitor-sandbox-4422333-dast-default Active 232d53$ auto-deploy initialize_tiller54Checking Tiller...55Tiller is listening on localhost:4413456Client: &version.Version{SemVer:"v2.16.7", GitCommit:"5f2584fd3d35552c4af26036f0c464191287986b", GitTreeState:"clean"}57[debug] SERVER: "localhost:44134"58Kubernetes: &version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.10-gke.36", GitCommit:"34a615f32e9a0c9e97cdb9f749adb392758349a6", GitTreeState:"clean", BuildDate:"2020-04-06T16:33:17Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}59Server: &version.Version{SemVer:"v2.16.7", GitCommit:"5f2584fd3d35552c4af26036f0c464191287986b", GitTreeState:"clean"}60$ auto-deploy create_secret61Create secret...62$ auto-deploy deploy63Error: release: "dast-default" not found64Release "dast-default-postgresql" does not exist. Installing it now.65NAME: dast-default-postgresql66LAST DEPLOYED: Thu Jun 18 09:37:04 202067NAMESPACE: monitor-sandbox-4422333-dast-default68STATUS: DEPLOYED69RESOURCES:70==> v1/Pod(related)71NAME READY STATUS RESTARTS AGE72dast-default-postgresql-0 1/1 Running 0 32s73==> v1/Secret74NAME TYPE DATA AGE75dast-default-postgresql Opaque 1 32s76==> v1/Service77NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE78dast-default-postgresql ClusterIP 10.12.15.223 <none> 5432/TCP 32s79dast-default-postgresql-headless ClusterIP None <none> 5432/TCP 32s80==> v1/StatefulSet81NAME READY AGE82dast-default-postgresql 1/1 32s83NOTES:84** Please be patient while the chart is being deployed **85PostgreSQL can be accessed via port 5432 on the following DNS name from within your cluster:86 dast-default-postgresql.monitor-sandbox-4422333-dast-default.svc.cluster.local - Read/Write connection87To get the password for "user" run:88 export POSTGRES_PASSWORD=$(kubectl get secret --namespace monitor-sandbox-4422333-dast-default dast-default-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)89To connect to your database run the following command:90 kubectl run dast-default-postgresql-client --rm --tty -i --restart='Never' --namespace monitor-sandbox-4422333-dast-default --image docker.io/bitnami/postgresql:9.6.16 --env="PGPASSWORD=$POSTGRES_PASSWORD" --command -- psql --host dast-default-postgresql -U user -d dast-default -p 543291To connect to your database from outside the cluster execute the following commands:92 kubectl port-forward --namespace monitor-sandbox-4422333-dast-default svc/dast-default-postgresql 5432:5432 &93 PGPASSWORD="$POSTGRES_PASSWORD" psql --host 127.0.0.1 -U user -d dast-default -p 543294WARNING: Rolling tag detected (bitnami/postgresql:9.6.16), please note that it is strongly recommended to avoid using rolling tags in a production environment.96secret/dast-default-secret replaced97No helm values file found at '.gitlab/auto-deploy-values.yaml'98Deploying new stable release...99Release "dast-default" does not exist. Installing it now.100NAME: dast-default101LAST DEPLOYED: Thu Jun 18 09:37:39 2020102NAMESPACE: monitor-sandbox-4422333-dast-default103STATUS: DEPLOYED104RESOURCES:105==> v1/Deployment106NAME READY UP-TO-DATE AVAILABLE AGE107dast-default 1/1 1 1 12s108==> v1/Pod(related)109NAME READY STATUS RESTARTS AGE110dast-default-6fc8d8f6b5-8p6dq 1/1 Running 0 12s111==> v1/Service112NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE113dast-default-auto-deploy ClusterIP 10.12.12.112 <none> 5000/TCP 12s114==> v1beta1/Ingress115NAME HOSTS ADDRESS PORTS AGE116dast-default-auto-deploy dast-4422333-dast-default.34.67.11.220.nip.io,le-4422333.34.67.11.220.nip.io 80, 443 12s117NOTES:118Application should be accessible at120deployment "dast-default" successfully rolled out121$ auto-deploy persist_environment_url123Uploading artifacts...124environment_url.txt: found 1 matching files and directories 125Uploading artifacts as "archive" to coordinator... ok id=37261270 responseStatus=201 Created token=uAKFKqyy126Job succeeded