There was an error fetching the job.
dast_environment_deploy
Passed Started
by
@mikolaj_wawrzyniak
Mikołaj Wawrzyniak
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.3.1 (738bbe5a)2 on docker-auto-scale fa6cab464Using Docker executor with image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.0 ...5Pulling docker image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.0 ...6Using docker image sha256:8d252815026899ace38e7c55f64c9c3a381376fbecf164bb67872fe234ad5b26 for registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.0 ...8Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1598602675-d4521004...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 4b506c2e 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 set31Download is skipped. The bundled chart in auto-deploy-image will be used.32Hang 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 "stable" chart repository36Update Complete.37Saving 1 charts38Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/39Deleting outdated charts40Hang tight while we grab the latest from your chart repositories...41...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):42 Get "http://127.0.0.1:8879/charts/index.yaml": dial tcp 127.0.0.1:8879: connect: connection refused43...Successfully got an update from the "stable" chart repository44Update Complete.45Saving 1 charts46Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/47Deleting outdated charts48$ auto-deploy ensure_namespace49NAME STATUS AGE50monitor-sandbox-4422333-dast-default Active 303d51$ auto-deploy initialize_tiller52Checking Tiller...53Tiller is listening on localhost:4413454Client: &version.Version{SemVer:"v2.16.9", GitCommit:"8ad7037828e5a0fca1009dabe290130da6368e39", GitTreeState:"clean"}55[debug] SERVER: "localhost:44134"56Kubernetes: &version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.10-gke.42", GitCommit:"42bef28c2031a74fc68840fce56834ff7ea08518", GitTreeState:"clean", BuildDate:"2020-06-02T16:07:00Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}57Server: &version.Version{SemVer:"v2.16.9", GitCommit:"8ad7037828e5a0fca1009dabe290130da6368e39", GitTreeState:"clean"}58$ auto-deploy create_secret59Create secret...60$ auto-deploy deploy61Error: release: "dast-default" not found62Release "dast-default-postgresql" does not exist. Installing it now.63NAME: dast-default-postgresql64LAST DEPLOYED: Fri Aug 28 08:19:20 202065NAMESPACE: monitor-sandbox-4422333-dast-default66STATUS: DEPLOYED67RESOURCES:68==> v1/Pod(related)69NAME READY STATUS RESTARTS AGE70dast-default-postgresql-0 1/1 Running 0 39s71==> v1/Secret72NAME TYPE DATA AGE73dast-default-postgresql Opaque 1 39s74==> v1/Service75NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE76dast-default-postgresql ClusterIP 10.12.11.239 <none> 5432/TCP 39s77dast-default-postgresql-headless ClusterIP None <none> 5432/TCP 39s78==> v1/StatefulSet79NAME READY AGE80dast-default-postgresql 1/1 39s81NOTES:82** Please be patient while the chart is being deployed **83PostgreSQL can be accessed via port 5432 on the following DNS name from within your cluster:84 dast-default-postgresql.monitor-sandbox-4422333-dast-default.svc.cluster.local - Read/Write connection85To get the password for "user" run:86 export POSTGRES_PASSWORD=$(kubectl get secret --namespace monitor-sandbox-4422333-dast-default dast-default-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)87To connect to your database run the following command:88 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 543289To connect to your database from outside the cluster execute the following commands:90 kubectl port-forward --namespace monitor-sandbox-4422333-dast-default svc/dast-default-postgresql 5432:5432 &91 PGPASSWORD="$POSTGRES_PASSWORD" psql --host 127.0.0.1 -U user -d dast-default -p 543292WARNING: Rolling tag detected (bitnami/postgresql:9.6.16), please note that it is strongly recommended to avoid using rolling tags in a production environment.94Validating chart version...95Fetching the previously deployed chart version... 96Fetching the deploying chart version... v1.0.097secret/dast-default-secret replaced98No helm values file found at '.gitlab/auto-deploy-values.yaml'99Deploying new stable release...100Release "dast-default" does not exist. Installing it now.101NAME: dast-default102LAST DEPLOYED: Fri Aug 28 08:20:00 2020103NAMESPACE: monitor-sandbox-4422333-dast-default104STATUS: DEPLOYED105RESOURCES:106==> v1/Deployment107NAME READY UP-TO-DATE AVAILABLE AGE108dast-default 1/1 1 1 19s109==> v1/Pod(related)110NAME READY STATUS RESTARTS AGE111dast-default-c7f59f8c5-6zzht 1/1 Running 0 19s112==> v1/Service113NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE114dast-default-auto-deploy ClusterIP 10.12.4.126 <none> 5000/TCP 19s115==> v1beta1/Ingress116NAME HOSTS ADDRESS PORTS AGE117dast-default-auto-deploy dast-4422333-dast-default.34.67.11.220.nip.io,le-4422333.34.67.11.220.nip.io 80, 443 18s118NOTES:119Application should be accessible at121deployment "dast-default" successfully rolled out122$ auto-deploy persist_environment_url124Uploading artifacts...125environment_url.txt: found 1 matching files and directories 126Uploading artifacts as "archive" to coordinator... ok id=37682913 responseStatus=201 Created token=byuJLk7o127Job succeeded