Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
b3b34327
Commit
b3b34327
authored
2 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
fixed environment name
parent
27353d23
No related branches found
No related tags found
2 merge requests
!1973
Development
,
!1934
Resolve "Update Images"
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-1
0 additions, 1 deletion
.gitlab-ci.yml
.gitlab/ci/deploy.yml
+13
-5
13 additions, 5 deletions
.gitlab/ci/deploy.yml
with
13 additions
and
6 deletions
.gitlab-ci.yml
+
0
−
1
View file @
b3b34327
...
@@ -8,7 +8,6 @@ workflow:
...
@@ -8,7 +8,6 @@ workflow:
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development" && ($CI_COMMIT_TAG || $CI_COMMIT_BRANCH)
-
if
:
$CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "development" && ($CI_COMMIT_TAG || $CI_COMMIT_BRANCH)
variables
:
variables
:
DEPLOY_ENVIRONMENT
:
"
review/${CI_COMMIT_REF_SLUG}"
DOCKER_COMPOSER_IMAGE_TAG
:
$CI_COMMIT_REF_SLUG-composer
DOCKER_COMPOSER_IMAGE_TAG
:
$CI_COMMIT_REF_SLUG-composer
DOCKER_FPM_IMAGE_TAG
:
$CI_COMMIT_REF_SLUG
DOCKER_FPM_IMAGE_TAG
:
$CI_COMMIT_REF_SLUG
DOCKER_NGINX_IMAGE_TAG
:
$CI_COMMIT_REF_SLUG
DOCKER_NGINX_IMAGE_TAG
:
$CI_COMMIT_REF_SLUG
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/deploy.yml
+
13
−
5
View file @
b3b34327
deploy
:
.
deploy
:
stage
:
deploy
stage
:
deploy
environment
:
name
:
$DEPLOY_ENVIRONMENT
image
:
alpine/k8s:1.22.6
image
:
alpine/k8s:1.22.6
script
:
script
:
-
printenv
-
kubectl -n $KUBE_NAMESPACE get pods
-
kubectl -n $KUBE_NAMESPACE get pods
\ No newline at end of file
deploy_review
:
extends
:
-
.deploy
variables
:
environment
:
name
:
review/$CI_COMMIT_REF_SLUG
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
!=
"master"
||
$CI_COMMIT_BRANCH
==
"development"'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
||
$CI_COMMIT_BRANCH'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment