From 1e09e2b0219ca41c4855d49c3b94ba3da2291f33 Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Mon, 6 Jul 2020 12:39:59 -0500
Subject: [PATCH] Add environment for deploy job

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 890517f..6f334a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -93,9 +93,10 @@ get_chart_grb:
     SUBCOMP_REPOS: "geosphere-grb"
     SUBCOMP_CHART_DIR: "cspp-geo-grb"
 
-# TODO: Use "environment: " to define a job for production and one for development
-#       https://docs.gitlab.com/ee/ci/yaml/#environment
 deploy_g16_grb:
+  environment:
+    name: production
+    url: http://geosphere.ssec.wisc.edu
   extends: .helm_based_job
   stage: deploy GRB
   script:
-- 
GitLab