dast_environment_deploy
Passed Started
by
@syasonik-admin
Sarah Yasonik
This job is deployed to dast-default using cluster monitor-sandbox-staging2.
This job is archived. Only the complete pipeline can be retried.
1Running with gitlab-runner 13.9.0-rc2 (69c049fd)2 on docker-auto-scale fa6cab463 feature flags: FF_GITLAB_REGISTRY_HELPER_IMAGE:true6Using Docker executor with image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.7 ...7Pulling docker image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.7 ...8Using docker image sha256:3cc6f3a2fe3a9b760b7d7030af302d04022020882378955fb8b98d941f682033 for registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.7 with digest registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image@sha256:cc3b155c0406960ac664aaea96703b3289f295698128af383308c78931d3db11 ...10Running on runner-fa6cab46-project-4422333-concurrent-0 via runner-fa6cab46-stg-srm-1613514191-7a258c2d...12$ eval "$CI_PRE_CLONE_SCRIPT"13Fetching changes with git depth set to 50...14Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/15Created fresh repository.16Checking out 00164633 as master...17Skipping Git submodules setup19Using docker image sha256:3cc6f3a2fe3a9b760b7d7030af302d04022020882378955fb8b98d941f682033 for registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.7 with digest registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image@sha256:cc3b155c0406960ac664aaea96703b3289f295698128af383308c78931d3db11 ...20$ auto-deploy check_kube_domain21$ auto-deploy download_chart22Creating /root/.helm 23Creating /root/.helm/repository 24Creating /root/.helm/repository/cache 25Creating /root/.helm/repository/local 26Creating /root/.helm/plugins 27Creating /root/.helm/starters 28Creating /root/.helm/cache/archive 29Creating /root/.helm/repository/repositories.yaml 30Adding stable repo with URL: https://charts.helm.sh/stable 31Adding local repo with URL: http://127.0.0.1:8879/charts 32$HELM_HOME has been configured at /root/.helm.33Not installing Tiller due to 'client-only' flag having been set34"bitnami" has been added to your repositories35Download skipped. Using the default chart included in auto-deploy-image...36Hang tight while we grab the latest from your chart repositories...37...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):38 Get "http://127.0.0.1:8879/charts/index.yaml": dial tcp 127.0.0.1:8879: connect: connection refused39...Successfully got an update from the "bitnami" chart repository40...Successfully got an update from the "stable" chart repository41Update Complete.42Saving 1 charts43Downloading postgresql from repo https://charts.helm.sh/stable44Deleting outdated charts45$ auto-deploy ensure_namespace46NAME STATUS AGE47monitor-sandbox-4422333-dast-default Active 119d48$ auto-deploy initialize_tiller49Checking Tiller...50Tiller is listening on localhost:4413451Client: &version.Version{SemVer:"v2.16.9", GitCommit:"8ad7037828e5a0fca1009dabe290130da6368e39", GitTreeState:"clean"}52[debug] SERVER: "localhost:44134"53Kubernetes: &version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.15-gke.6000", GitCommit:"b02f5ea6726390a4b19d06fa9022981750af2bbc", GitTreeState:"clean", BuildDate:"2020-11-18T09:16:22Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}54Server: &version.Version{SemVer:"v2.16.9", GitCommit:"8ad7037828e5a0fca1009dabe290130da6368e39", GitTreeState:"clean"}55$ auto-deploy create_secret56Create secret...57$ auto-deploy deploy58Error: release: "dast-default" not found59Release "dast-default-postgresql" does not exist. Installing it now.60NAME: dast-default-postgresql61LAST DEPLOYED: Tue Feb 16 22:24:32 202162NAMESPACE: monitor-sandbox-4422333-dast-default63STATUS: DEPLOYED64RESOURCES:65==> v1/Pod(related)66NAME READY STATUS RESTARTS AGE67dast-default-postgresql-0 1/1 Running 0 35s68==> v1/Secret69NAME TYPE DATA AGE70dast-default-postgresql Opaque 1 37s71==> v1/Service72NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE73dast-default-postgresql ClusterIP 10.57.6.60 <none> 5432/TCP 37s74dast-default-postgresql-headless ClusterIP None <none> 5432/TCP 37s75==> v1/StatefulSet76NAME READY AGE77dast-default-postgresql 1/1 37s78NOTES:79** Please be patient while the chart is being deployed **80PostgreSQL can be accessed via port 5432 on the following DNS name from within your cluster:81 dast-default-postgresql.monitor-sandbox-4422333-dast-default.svc.cluster.local - Read/Write connection82To get the password for "user" run:83 export POSTGRES_PASSWORD=$(kubectl get secret --namespace monitor-sandbox-4422333-dast-default dast-default-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)84To connect to your database run the following command:85 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 543286To connect to your database from outside the cluster execute the following commands:87 kubectl port-forward --namespace monitor-sandbox-4422333-dast-default svc/dast-default-postgresql 5432:5432 &88 PGPASSWORD="$POSTGRES_PASSWORD" psql --host 127.0.0.1 -U user -d dast-default -p 543289WARNING: Rolling tag detected (bitnami/postgresql:9.6.16), please note that it is strongly recommended to avoid using rolling tags in a production environment.91Validating chart version...92Fetching the previously deployed chart version... 93Fetching the deploying chart version... v1.0.794secret/dast-default-secret replaced95No helm values file found at '.gitlab/auto-deploy-values.yaml'96Deploying new stable release...97Release "dast-default" does not exist. Installing it now.98NAME: dast-default99LAST DEPLOYED: Tue Feb 16 22:25:10 2021100NAMESPACE: monitor-sandbox-4422333-dast-default101STATUS: DEPLOYED102RESOURCES:103==> v1/Deployment104NAME READY UP-TO-DATE AVAILABLE AGE105dast-default 1/1 1 1 16s106==> v1/Pod(related)107NAME READY STATUS RESTARTS AGE108dast-default-9c96545cf-gc658 1/1 Running 0 16s109==> v1/Service110NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE111dast-default-auto-deploy ClusterIP 10.57.8.166 <none> 5000/TCP 16s112==> v1beta1/Ingress113NAME HOSTS ADDRESS PORTS AGE114dast-default-auto-deploy dast-4422333-dast-default.34.67.11.220.nip.io,le-4422333.34.67.11.220.nip.io 80, 443 16s115NOTES:116Application should be accessible at118deployment "dast-default" successfully rolled out119$ auto-deploy persist_environment_url121Uploading artifacts...122environment_url.txt: found 1 matching files and directories 123Uploading artifacts as "archive" to coordinator... ok id=38559972 responseStatus=201 Created token=rWuYjpeT125Job succeeded