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
58ebadd1
Commit
58ebadd1
authored
2 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
started custom deployment script
parent
d33f1b84
Branches
Branches containing commit
No related tags found
2 merge requests
!1973
Development
,
!1934
Resolve "Update Images"
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
.gitlab/ci/deploy.yml
+13
-1
13 additions, 1 deletion
.gitlab/ci/deploy.yml
.gitlab/deployment_scripts/update_secret.sh
+5
-0
5 additions, 0 deletions
.gitlab/deployment_scripts/update_secret.sh
with
19 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
0
View file @
58ebadd1
...
@@ -17,6 +17,7 @@ stages:
...
@@ -17,6 +17,7 @@ stages:
# - build_dependencies
# - build_dependencies
# - build_docker_images
# - build_docker_images
-
deploy
-
deploy
-
stop_review
include
:
include
:
# - local: /.gitlab/ci/build_composer.yml
# - local: /.gitlab/ci/build_composer.yml
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/deploy.yml
+
13
−
1
View file @
58ebadd1
...
@@ -2,13 +2,25 @@
...
@@ -2,13 +2,25 @@
stage
:
deploy
stage
:
deploy
image
:
alpine/k8s:1.22.6
image
:
alpine/k8s:1.22.6
script
:
script
:
-
kubectl -n $KUBE_NAMESPACE get pods
-
.gitlab/deployment_scripts/update_secret.sh
deploy_review
:
deploy_review
:
extends
:
extends
:
-
.deploy
-
.deploy
environment
:
environment
:
name
:
review/$CI_COMMIT_REF_SLUG
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'
stop_review
:
stage
:
stop_review
environment
:
name
:
review/$CI_COMMIT_REF_SLUG
script
:
-
echo "Stopping Deployment..."
when
:
manual
rules
:
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"
||
$CI_COMMIT_BRANCH
==
"development"'
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"
||
$CI_COMMIT_BRANCH
==
"development"'
when
:
never
when
:
never
...
...
This diff is collapsed.
Click to expand it.
.gitlab/deployment_scripts/update_secret.sh
0 → 100755
+
5
−
0
View file @
58ebadd1
#!/bin/bash
set
-e
echo
"test"
;
\ 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