[damned-lies] feat: add environment information in CI file



commit 892a12dad552cb90f2f0de656359122209dab653
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Mon May 9 15:06:23 2022 +0200

    feat: add environment information in CI file

 .gitlab-ci.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 693f2cec..6459c931 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -266,6 +266,11 @@ deploy:staging:
     IMAGE_TAG_ON_REGISTRY: "staging"
   dependencies:
     - build_container:production
+  environment:
+    name: l10n-staging.gnome.org
+    url: https://damned-lies-staging.apps.openshift4.gnome.org
+    action: start
+    deployment_tier: staging
   rules:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
       when: on_success
@@ -278,6 +283,11 @@ deploy:production:
     IMAGE_TAG_ON_REGISTRY: "latest"
   dependencies:
     - build_container:production
+  environment:
+    name: l10n.gnome.org
+    url: https://l10n.gnome.org
+    action: start
+    deployment_tier: staging
   rules:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
       when: manual
@@ -291,6 +301,11 @@ deploy:test:
     IMAGE_TAG_ON_REGISTRY: "testing"
   dependencies:
     - build_container:test
+  environment:
+    name: l10n-testing.gnome.org
+    url: https://damned-lies-testing.apps.openshift4.gnome.org
+    action: start
+    deployment_tier: staging
   rules:
     - if: $CI_COMMIT_BRANCH == "develop"
       when: on_success


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]