Running with gitlab-runner 12.9.0 (4c96e5ad)
  on docker-auto-scale 72989761
section_start:1587039152:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.12.1 ...
Pulling docker image registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.12.1 ...
Using docker image sha256:f6e68ccd91fd8aa189c0627e0d1a2d9efa2893fd50282861e2a94a0b8c06c4f0 for registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v0.12.1 ...
section_end:1587039214:prepare_executor
section_start:1587039214:prepare_script
Preparing environment
Running on runner-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1587039152-e1b6f40a...
section_end:1587039217:prepare_script
section_start:1587039217:get_sources
Getting source from Git repository
$ eval "$CI_PRE_CLONE_SCRIPT"
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/gitlab-org/monitor/monitor-sandbox/.git/
Created fresh repository.
From https://staging.gitlab.com/gitlab-org/monitor/monitor-sandbox
 * [new ref]         refs/pipelines/12750472 -> refs/pipelines/12750472
 * [new branch]      master                  -> origin/master
Checking out a666adff as master...

Skipping Git submodules setup
section_end:1587039219:get_sources
section_start:1587039219:restore_cache
Restoring cache
section_end:1587039221:restore_cache
section_start:1587039221:download_artifacts
Downloading artifacts
Downloading artifacts for dast_environment_deploy (37160324)...
Downloading artifacts from coordinator... ok        id=37160324 responseStatus=200 OK token=LbgL_zhT
section_end:1587039222:download_artifacts
section_start:1587039222:build_script
Running before_script and script
$ auto-deploy check_kube_domain
$ auto-deploy download_chart
Creating /root/.helm 
Creating /root/.helm/repository 
Creating /root/.helm/repository/cache 
Creating /root/.helm/repository/local 
Creating /root/.helm/plugins 
Creating /root/.helm/starters 
Creating /root/.helm/cache/archive 
Creating /root/.helm/repository/repositories.yaml 
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com 
Adding local repo with URL: http://127.0.0.1:8879/charts 
$HELM_HOME has been configured at /root/.helm.
Not installing Tiller due to 'client-only' flag having been set
"gitlab" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
	Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused
...Successfully got an update from the "gitlab" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
Saving 1 charts
Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/
Deleting outdated charts
Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
	Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused
...Successfully got an update from the "gitlab" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
Saving 1 charts
Downloading postgresql from repo https://kubernetes-charts.storage.googleapis.com/
Deleting outdated charts
$ auto-deploy ensure_namespace
NAME                              STATUS   AGE
monitor-sandbox-4422333-staging   Active   87s
$ auto-deploy initialize_tiller
Checking Tiller...
Tiller is listening on localhost:44134
Client: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"}
[debug] SERVER: "localhost:44134"

Kubernetes: &version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.10-gke.27", GitCommit:"145f9e21a4515947d6fb10819e5a336aff1b6959", GitTreeState:"clean", BuildDate:"2020-02-21T18:01:40Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}
Server: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"}

$ auto-deploy create_secret
Create secret...
$ auto-deploy deploy
secret/staging-secret replaced
No helm values file found at '.gitlab/auto-deploy-values.yaml'
Deploying new stable release...
Release "staging" does not exist. Installing it now.
NAME:   staging
LAST DEPLOYED: Thu Apr 16 12:13:59 2020
NAMESPACE: monitor-sandbox-4422333-staging
STATUS: DEPLOYED

RESOURCES:
==> v1/PersistentVolumeClaim
NAME              AGE
staging-postgres  5s

==> v1/Pod(related)
NAME                              AGE
staging-867b8d9f68-hcfln          5s
staging-postgres-575bdc559-tnzb2  5s

==> v1/Secret
NAME              AGE
staging-postgres  5s

==> v1/Service
NAME                 AGE
staging-auto-deploy  5s
staging-postgres     5s

==> v1beta1/Deployment
NAME              AGE
staging           5s
staging-postgres  5s

==> v1beta1/Ingress
NAME                 AGE
staging-auto-deploy  5s


NOTES:
Application should be accessible at

    http://gitlab-org-monitor-monitor-sandbox-staging.34.67.11.220.nip.io
Waiting for deployment "staging" rollout to finish: 0 of 1 updated replicas are available...
deployment "staging" successfully rolled out
section_end:1587039259:build_script
section_start:1587039259:after_script
Running after_script
section_end:1587039260:after_script
section_start:1587039260:archive_cache
Saving cache
section_end:1587039261:archive_cache
section_start:1587039261:upload_artifacts_on_success
Uploading artifacts for successful job
section_end:1587039263:upload_artifacts_on_success
Job succeeded