Running with gitlab-runner 12.9.0 (4c96e5ad)
  on docker-auto-scale 72989761
section_start:1586199278: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:1586199339:prepare_executor
section_start:1586199339:prepare_script
Preparing environment
Running on runner-72989761-project-4422333-concurrent-0 via runner-72989761-stg-srm-1586199278-14de2202...
section_end:1586199342:prepare_script
section_start:1586199342: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/12742034 -> refs/pipelines/12742034
 * [new branch]      master                  -> origin/master
Checking out a666adff as master...

Skipping Git submodules setup
section_end:1586199344:get_sources
section_start:1586199344:restore_cache
Restoring cache
section_end:1586199345:restore_cache
section_start:1586199345:download_artifacts
Downloading artifacts
Downloading artifacts for dast_environment_deploy (37141846)...
Downloading artifacts from coordinator... ok        id=37141846 responseStatus=200 OK token=A5PGcUAi
section_end:1586199346:download_artifacts
section_start:1586199346: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-production   Active   159d
$ 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 "production-secret" deleted
secret/production-secret replaced
No helm values file found at '.gitlab/auto-deploy-values.yaml'
Deploying new stable release...
Release "production" has been upgraded.
LAST DEPLOYED: Mon Apr  6 18:56:04 2020
NAMESPACE: monitor-sandbox-4422333-production
STATUS: DEPLOYED

RESOURCES:
==> v1/PersistentVolumeClaim
NAME                 AGE
production-postgres  159d

==> v1/Pod(related)
NAME                                  AGE
production-6df6669764-fwrht           3s
production-f59557cb6-4khn9            3m12s
production-postgres-6449f8cc98-pr6sp  20d

==> v1/Secret
NAME                 AGE
production-postgres  159d

==> v1/Service
NAME                    AGE
production-auto-deploy  159d
production-postgres     159d

==> v1beta1/Deployment
NAME                 AGE
production           159d
production-postgres  159d

==> v1beta1/Ingress
NAME                    AGE
production-auto-deploy  159d


NOTES:
Application should be accessible at

    http://gitlab-org-monitor-monitor-sandbox.34.67.11.220.nip.io
Waiting for deployment "production" rollout to finish: 0 of 1 updated replicas are available...
deployment "production" successfully rolled out
$ auto-deploy delete canary
$ auto-deploy delete rollout
$ auto-deploy persist_environment_url
section_end:1586199377:build_script
section_start:1586199377:after_script
Running after_script
section_end:1586199378:after_script
section_start:1586199378:archive_cache
Saving cache
section_end:1586199380:archive_cache
section_start:1586199380:upload_artifacts_on_success
Uploading artifacts for successful job
Uploading artifacts...
environment_url.txt: found 1 matching files        
Uploading artifacts to coordinator... ok            id=37141848 responseStatus=201 Created token=5Q_p5i-1
section_end:1586199382:upload_artifacts_on_success
Job succeeded