Commit 65539dce authored by Thong Kuah's avatar Thong Kuah
Browse files

Merge branch 'remove-release-hidden-job' into 'master'

CI Remove single use hidden job

See merge request gitlab-org/cluster-integration/auto-deploy-image!15
parents 4fa64309 ab73a989
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -205,9 +205,12 @@ test-create-application-secret:
    - kubectl get secrets -n $KUBE_NAMESPACE
    - kubectl get secrets production-secret -n $KUBE_NAMESPACE

.release:
release-tag:
  stage: release
  image: docker:stable
  variables:
    # e.g. auto-deploy-image:v1.0.0
    RELEASE_IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
  services:
    - docker:stable-dind
  before_script:
@@ -219,12 +222,6 @@ test-create-application-secret:
  only:
    - tags

release-tag:
  extends: .release
  variables:
    # e.g. auto-deploy-image:v1.0.0
    RELEASE_IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"

before_script:
  - |
    function expected_error() {