From ad4c8272b069f8b01146889eb221f8e814f9d4d4 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Thu, 29 Oct 2020 20:25:54 +0000 Subject: [PATCH 01/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ddcd9b6..ebec95a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -382,3 +382,13 @@ pages: untracked: true rules: - if: $CI_COMMIT_REF_NAME == "master" + +deploy_staging: + stage: deploy + script: + - echo "Deploy to staging server" + environment: + name: staging + url: https://staging.example.com + only: + - master -- GitLab From da569f27fd482ef279d9311da7ff5f09f208a1fb Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Thu, 29 Oct 2020 21:33:03 +0000 Subject: [PATCH 02/24] added deploy_review job --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebec95a..407ab05 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -392,3 +392,16 @@ deploy_staging: url: https://staging.example.com only: - master + +deploy_review: + stage: deploy + script: + - echo "Deploy a review app" + environment: + name: review/$CI_COMMIT_REF_NAME + url: https://$CI_ENVIRONMENT_SLUG.example.com + only: + - branches + except: + - master + -- GitLab From 4b033204546d271189cfb836e0452badab079794 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Thu, 29 Oct 2020 22:01:49 +0000 Subject: [PATCH 03/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 407ab05..aab2406 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -342,7 +342,28 @@ test_pages: # # All Deploy jobs below # +deploy_staging: + stage: deploy + script: + - echo "Deploy to staging server" + environment: + name: staging + url: https://staging.example.com + only: + - master +deploy_review: + stage: deploy + script: + - echo "Deploy a review app" + environment: + name: review/$CI_COMMIT_REF_NAME + url: https://$CI_ENVIRONMENT_SLUG.example.com + only: + - branches + except: + - master + kumu: stage: deploy dependencies: @@ -382,26 +403,3 @@ pages: untracked: true rules: - if: $CI_COMMIT_REF_NAME == "master" - -deploy_staging: - stage: deploy - script: - - echo "Deploy to staging server" - environment: - name: staging - url: https://staging.example.com - only: - - master - -deploy_review: - stage: deploy - script: - - echo "Deploy a review app" - environment: - name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.example.com - only: - - branches - except: - - master - -- GitLab From c14fa19c5cee85c11d69fc3e997c903110bc9fc3 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 15:09:58 +0000 Subject: [PATCH 04/24] updated job names for staging and review --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aab2406..ee13adc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -342,7 +342,7 @@ test_pages: # # All Deploy jobs below # -deploy_staging: +staging_environment: stage: deploy script: - echo "Deploy to staging server" @@ -352,7 +352,7 @@ deploy_staging: only: - master -deploy_review: +review_app: stage: deploy script: - echo "Deploy a review app" -- GitLab From 2ff781ce69d05ee4690a36741cc6ad690fd35c13 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 16:17:41 +0000 Subject: [PATCH 05/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee13adc..a63757e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -316,6 +316,27 @@ build_kumu-viz: - kumu-data.json expire_in: 1 day +staging_environment: + stage: deploy + script: + - echo "Deploy to staging server" + environment: + name: staging + url: https://staging.example.com + only: + - master + +review_app: + stage: deploy + script: + - echo "Deploy a review app" + environment: + name: review/$CI_COMMIT_REF_NAME + url: https://$CI_ENVIRONMENT_SLUG.example.com + only: + - branches + except: + - master test_pages: stage: integration-tests @@ -342,27 +363,7 @@ test_pages: # # All Deploy jobs below # -staging_environment: - stage: deploy - script: - - echo "Deploy to staging server" - environment: - name: staging - url: https://staging.example.com - only: - - master -review_app: - stage: deploy - script: - - echo "Deploy a review app" - environment: - name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.example.com - only: - - branches - except: - - master kumu: stage: deploy -- GitLab From a2e582768654f06e1819f0827a26b05e4100196f Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 16:25:06 +0000 Subject: [PATCH 06/24] environment changed to branches instead of master --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a63757e..7465d38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -324,7 +324,7 @@ staging_environment: name: staging url: https://staging.example.com only: - - master + - branches review_app: stage: deploy -- GitLab From a03ce90c350da558eef873cf6f0963682536c7a8 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 16:26:49 +0000 Subject: [PATCH 07/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7465d38..904ff3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -316,27 +316,7 @@ build_kumu-viz: - kumu-data.json expire_in: 1 day -staging_environment: - stage: deploy - script: - - echo "Deploy to staging server" - environment: - name: staging - url: https://staging.example.com - only: - - branches -review_app: - stage: deploy - script: - - echo "Deploy a review app" - environment: - name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.example.com - only: - - branches - except: - - master test_pages: stage: integration-tests @@ -364,6 +344,27 @@ test_pages: # All Deploy jobs below # +staging_environment: + stage: deploy + script: + - echo "Deploy to staging server" + environment: + name: staging + url: https://staging.example.com + only: + - branches + +review_app: + stage: deploy + script: + - echo "Deploy a review app" + environment: + name: review/$CI_COMMIT_REF_NAME + url: https://$CI_ENVIRONMENT_SLUG.example.com + only: + - branches + except: + - master kumu: stage: deploy -- GitLab From 0e264199bff50350b7d8f94882b513ffeea0f76f Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 16:41:49 +0000 Subject: [PATCH 08/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 904ff3a..a6602b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -344,15 +344,6 @@ test_pages: # All Deploy jobs below # -staging_environment: - stage: deploy - script: - - echo "Deploy to staging server" - environment: - name: staging - url: https://staging.example.com - only: - - branches review_app: stage: deploy -- GitLab From fd59c27446e7891e3d3965eabee7118014ea064c Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 16:56:28 +0000 Subject: [PATCH 09/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6602b9..4823a74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -351,7 +351,7 @@ review_app: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.example.com + url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/#/ only: - branches except: -- GitLab From a282f3adab119e2ff52c760162470575f4f09c2a Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 18:44:41 +0000 Subject: [PATCH 10/24] added kubernetes namespace property --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4823a74..b911115 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -352,6 +352,8 @@ review_app: environment: name: review/$CI_COMMIT_REF_NAME url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/#/ + kubernetes: + namespace: production only: - branches except: -- GitLab From 096083daa4bbc30b3719b43abb9c9ba63eac5b06 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 19:06:01 +0000 Subject: [PATCH 11/24] changed only to rules --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b911115..859b0b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -354,10 +354,8 @@ review_app: url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/#/ kubernetes: namespace: production - only: - - branches - except: - - master + rules: + - if: $CI_COMMIT_REF_NAME != "master" kumu: stage: deploy -- GitLab From babe696ef807bf3ac70d5337c3b3e55ea6044d47 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 19:31:52 +0000 Subject: [PATCH 12/24] trying different URL --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 859b0b9..addf068 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -351,7 +351,7 @@ review_app: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/#/ + url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/ kubernetes: namespace: production rules: -- GitLab From 8b2f212dc82ff4255f87f609e4e4241132a4f8b5 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 19:46:37 +0000 Subject: [PATCH 13/24] trying different url --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index addf068..59981ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -351,7 +351,7 @@ review_app: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/ + url: https://90cos.gitlab.io/mttl-$CI_ENVIRONMENT_SLUG kubernetes: namespace: production rules: -- GitLab From e17f3cdf9f1b9d37774284787a52149baa49574c Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 19:59:18 +0000 Subject: [PATCH 14/24] trying another URL to not get 404 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 59981ab..205e83d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -351,7 +351,7 @@ review_app: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_NAME - url: https://90cos.gitlab.io/mttl-$CI_ENVIRONMENT_SLUG + url: https://90cos-$CI_ENVIRONMENT_SLUG.gitlab.io/mttl kubernetes: namespace: production rules: -- GitLab From d6206aa6a4d4284c2305f2407d3b4d0ca816c5cb Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 20:26:58 +0000 Subject: [PATCH 15/24] trying to fix 404, added script property in review_app job --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 205e83d..4dbf7f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -354,6 +354,12 @@ review_app: url: https://90cos-$CI_ENVIRONMENT_SLUG.gitlab.io/mttl kubernetes: namespace: production + script: + - cd frontend + - npm install + - CI=true npm run build + - rm -rf ../public && mv build ../public + - cp -r ../documentation ../public/documentation rules: - if: $CI_COMMIT_REF_NAME != "master" -- GitLab From 2e3cba3c6f410cbb7290a811a28e09882799cd65 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Fri, 30 Oct 2020 20:47:09 +0000 Subject: [PATCH 16/24] trying to get deployment working for review_app --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4dbf7f2..d546a76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -354,12 +354,23 @@ review_app: url: https://90cos-$CI_ENVIRONMENT_SLUG.gitlab.io/mttl kubernetes: namespace: production + dependencies: + - create_mttl_dataset + - create_ttl_dataset + - create_extra_datasets + - create_metrics + - build_roadmap + - build_docs script: - cd frontend - npm install - CI=true npm run build - rm -rf ../public && mv build ../public - cp -r ../documentation ../public/documentation + cache: + paths: + - frontend/node_modules + untracked: true rules: - if: $CI_COMMIT_REF_NAME != "master" -- GitLab From 36551718c6976e3e26ff991ba2ef1dc2685a78c6 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 15:17:42 +0000 Subject: [PATCH 17/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d546a76..b7103ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -367,12 +367,15 @@ review_app: - CI=true npm run build - rm -rf ../public && mv build ../public - cp -r ../documentation ../public/documentation + artifacts: + paths: + - public cache: paths: - frontend/node_modules untracked: true rules: - - if: $CI_COMMIT_REF_NAME != "master" + - if: $CI_COMMIT_REF_NAME == "master" kumu: stage: deploy -- GitLab From 8d57eb41844c19109e9e7263b603a468d4ed6118 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 16:31:09 +0000 Subject: [PATCH 18/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7103ce..9df6a22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -352,28 +352,6 @@ review_app: environment: name: review/$CI_COMMIT_REF_NAME url: https://90cos-$CI_ENVIRONMENT_SLUG.gitlab.io/mttl - kubernetes: - namespace: production - dependencies: - - create_mttl_dataset - - create_ttl_dataset - - create_extra_datasets - - create_metrics - - build_roadmap - - build_docs - script: - - cd frontend - - npm install - - CI=true npm run build - - rm -rf ../public && mv build ../public - - cp -r ../documentation ../public/documentation - artifacts: - paths: - - public - cache: - paths: - - frontend/node_modules - untracked: true rules: - if: $CI_COMMIT_REF_NAME == "master" -- GitLab From c11b31812cf73b126b2c8fbd22de6574c819d8dc Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 16:36:24 +0000 Subject: [PATCH 19/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9df6a22..fcb2be4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -352,6 +352,8 @@ review_app: environment: name: review/$CI_COMMIT_REF_NAME url: https://90cos-$CI_ENVIRONMENT_SLUG.gitlab.io/mttl + kubernetes: + namespace: production rules: - if: $CI_COMMIT_REF_NAME == "master" -- GitLab From a26a47224aa41ecbf27151d10d363c95160ef319 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 16:51:30 +0000 Subject: [PATCH 20/24] Somehow lost the review app button... reverting back to what I had when it was working --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fcb2be4..c704777 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -351,12 +351,12 @@ review_app: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_NAME - url: https://90cos-$CI_ENVIRONMENT_SLUG.gitlab.io/mttl + url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/#/ kubernetes: namespace: production rules: - - if: $CI_COMMIT_REF_NAME == "master" - + - if: $CI_COMMIT_REF_NAME != "master" + kumu: stage: deploy dependencies: -- GitLab From b0f6486a017985acade71499d19b95f0186e94c5 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 17:06:28 +0000 Subject: [PATCH 21/24] trying work around from linked issue in comments --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c704777..faa5106 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -351,7 +351,7 @@ review_app: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_NAME - url: https://$CI_ENVIRONMENT_SLUG.90cos.gitlab.io/mttl/#/ + url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html kubernetes: namespace: production rules: -- GitLab From 98a570f1cf9e4064fe612ac4eb11829d0ef7a7f2 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 17:27:44 +0000 Subject: [PATCH 22/24] still trying workaround --- .gitlab-ci.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index faa5106..2ea15ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -345,17 +345,7 @@ test_pages: # -review_app: - stage: deploy - script: - - echo "Deploy a review app" - environment: - name: review/$CI_COMMIT_REF_NAME - url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html - kubernetes: - namespace: production - rules: - - if: $CI_COMMIT_REF_NAME != "master" + kumu: stage: deploy @@ -396,3 +386,18 @@ pages: untracked: true rules: - if: $CI_COMMIT_REF_NAME == "master" + +pages:review: + stage: deploy + script: + - echo "Deploy a review app" + artifacts: + paths: + - public + environment: + name: review/$CI_COMMIT_REF_NAME + url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html + kubernetes: + namespace: production + rules: + - if: $CI_COMMIT_REF_NAME != "master" -- GitLab From b998c7ecf173649a9965aeec9c0a3fa2a31552a3 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 18:58:10 +0000 Subject: [PATCH 23/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ea15ce..d59a331 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -396,7 +396,7 @@ pages:review: - public environment: name: review/$CI_COMMIT_REF_NAME - url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html + url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/frontend/public/index.html kubernetes: namespace: production rules: -- GitLab From 449e647a7bc6eb4d145f057ea51e59a31c1b1518 Mon Sep 17 00:00:00 2001 From: Daniel Curran Date: Mon, 2 Nov 2020 21:19:20 +0000 Subject: [PATCH 24/24] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d59a331..ea3f160 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -397,7 +397,5 @@ pages:review: environment: name: review/$CI_COMMIT_REF_NAME url: https://$CI_PROJECT_NAMESPACE.gitlab.io/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/frontend/public/index.html - kubernetes: - namespace: production rules: - if: $CI_COMMIT_REF_NAME != "master" -- GitLab