dast_environment_deploy
Passed Started
by
@dbodicherla
Dhiraj Bodicherla
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.0.0-rc2 (926834bc)2 on docker-auto-scale fa6cab464Using Docker executor with image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.15.0 ...5Pulling docker image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.15.0 ...6Using docker image sha256:93c7f924bc641f744a2ea17f02bfeeb23403a531c459d1471dd50037e274922e for registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.15.0 ...8Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1590089267-d22518f8...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.15 * [new ref] refs/pipelines/12776645 -> refs/pipelines/1277664516 * [new branch] master -> origin/master17Checking out 1d7fe5f0 as master...18Skipping Git submodules setup22$ auto-deploy check_kube_domain23$ auto-deploy download_chart24Creating /root/.helm 25Creating /root/.helm/repository 26Creating /root/.helm/repository/cache 27Creating /root/.helm/repository/local 28Creating /root/.helm/plugins 29Creating /root/.helm/starters 30Creating /root/.helm/cache/archive 31Creating /root/.helm/repository/repositories.yaml 32Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 33Adding local repo with URL: http://127.0.0.1:8879/charts 34$HELM_HOME has been configured at /root/.helm.35Not installing Tiller due to 'client-only' flag having been set36"gitlab" has been added to your repositories37Hang tight while we grab the latest from your chart repositories...38...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):39 Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused40...Successfully got an update from the "gitlab" chart repository41...Successfully got an update from the "stable" chart repository42Update Complete.43Saving 1 charts44Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/45Deleting outdated charts46Hang tight while we grab the latest from your chart repositories...47...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):48 Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused49...Successfully got an update from the "gitlab" chart repository50...Successfully got an update from the "stable" chart repository51Update Complete.52Saving 1 charts53Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/54Deleting outdated charts55$ auto-deploy ensure_namespace56NAME STATUS AGE57monitor-sandbox-4422333-dast-default Active 204d58$ auto-deploy initialize_tiller59Checking Tiller...60Tiller is listening on localhost:4413461Client: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}62[debug] SERVER: "localhost:44134"63Kubernetes: &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"}64Server: &version.Version{SemVer:"v2.16.6", GitCommit:"dd2e5695da88625b190e6b22e9542550ab503a47", GitTreeState:"clean"}65$ auto-deploy create_secret66Create secret...67$ auto-deploy deploy68Error: release: "dast-default" not found69Release "dast-default-postgresql" does not exist. Installing it now.70NAME: dast-default-postgresql71LAST DEPLOYED: Thu May 21 19:29:18 202072NAMESPACE: monitor-sandbox-4422333-dast-default73STATUS: DEPLOYED74RESOURCES:75==> v1/Pod(related)76NAME READY STATUS RESTARTS AGE77dast-default-postgresql-0 1/1 Running 0 20s78==> v1/Secret79NAME TYPE DATA AGE80dast-default-postgresql Opaque 1 20s81==> v1/Service82NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE83dast-default-postgresql ClusterIP 10.12.13.188 <none> 5432/TCP 20s84dast-default-postgresql-headless ClusterIP None <none> 5432/TCP 20s85==> v1/StatefulSet86NAME READY AGE87dast-default-postgresql 1/1 20s88NOTES:89** Please be patient while the chart is being deployed **90PostgreSQL can be accessed via port 5432 on the following DNS name from within your cluster:91 dast-default-postgresql.monitor-sandbox-4422333-dast-default.svc.cluster.local - Read/Write connection92To get the password for "user" run:93 export POSTGRES_PASSWORD=$(kubectl get secret --namespace monitor-sandbox-4422333-dast-default dast-default-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)94To connect to your database run the following command:95 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 543296To connect to your database from outside the cluster execute the following commands:97 kubectl port-forward --namespace monitor-sandbox-4422333-dast-default svc/dast-default-postgresql 5432:5432 &98 PGPASSWORD="$POSTGRES_PASSWORD" psql --host 127.0.0.1 -U user -d dast-default -p 543299WARNING: Rolling tag detected (bitnami/postgresql:9.6.16), please note that it is strongly recommended to avoid using rolling tags in a production environment.101secret/dast-default-secret replaced102No helm values file found at '.gitlab/auto-deploy-values.yaml'103Deploying new stable release...104Release "dast-default" does not exist. Installing it now.105NAME: dast-default106LAST DEPLOYED: Thu May 21 19:29:40 2020107NAMESPACE: monitor-sandbox-4422333-dast-default108STATUS: DEPLOYED109RESOURCES:110==> v1/Deployment111NAME READY UP-TO-DATE AVAILABLE AGE112dast-default 1/1 1 1 12s113==> v1/Pod(related)114NAME READY STATUS RESTARTS AGE115dast-default-6489dccdc5-msm2d 1/1 Running 0 12s116==> v1/Service117NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE118dast-default-auto-deploy ClusterIP 10.12.13.230 <none> 5000/TCP 12s119==> v1beta1/Ingress120NAME HOSTS ADDRESS PORTS AGE121dast-default-auto-deploy dast-4422333-dast-default.34.67.11.220.nip.io,le-4422333.34.67.11.220.nip.io 80, 443 12s122NOTES:123Application should be accessible at125deployment "dast-default" successfully rolled out126$ auto-deploy persist_environment_url130Uploading artifacts...131environment_url.txt: found 1 matching files 132Uploading artifacts to coordinator... ok id=37227528 responseStatus=201 Created token=wED54VqR133Job succeeded