Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservice
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ludo8147
webservice
Commits
a38edc59
Commit
a38edc59
authored
7 months ago
by
ludo8147
Browse files
Options
Downloads
Patches
Plain Diff
prceed pipeline on gitlab runner 03
parent
efb02416
No related branches found
No related tags found
No related merge requests found
Pipeline
#68993
passed
7 months ago
Stage: build
Stage: test
Stage: publish
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-0
9 additions, 0 deletions
.gitlab-ci.yml
with
9 additions
and
0 deletions
.gitlab-ci.yml
+
9
−
0
View file @
a38edc59
...
@@ -68,6 +68,7 @@ job_upload:
...
@@ -68,6 +68,7 @@ job_upload:
image
:
registry.hub.docker.com/library/docker:24.0.7
image
:
registry.hub.docker.com/library/docker:24.0.7
tags
:
tags
:
-
docker-privileged
-
docker-privileged
-
gitlab-runner03
dependencies
:
dependencies
:
-
job_build
-
job_build
services
:
services
:
...
@@ -120,6 +121,8 @@ job_upload:
...
@@ -120,6 +121,8 @@ job_upload:
create_secrets
:
create_secrets
:
<<
:
*deploy_template
<<
:
*deploy_template
stage
:
deploy
stage
:
deploy
tags
:
-
gitlab-runner03
script
:
script
:
-
|
-
|
create_namespace_and_secret() {
create_namespace_and_secret() {
...
@@ -139,6 +142,8 @@ deploy_to_staging:
...
@@ -139,6 +142,8 @@ deploy_to_staging:
stage
:
deploy
stage
:
deploy
environment
:
environment
:
name
:
staging
name
:
staging
tags
:
-
gitlab-runner03
variables
:
variables
:
KUBE_NAMESPACE
:
staging
KUBE_NAMESPACE
:
staging
CPU_REQUEST
:
"
200m"
CPU_REQUEST
:
"
200m"
...
@@ -175,6 +180,8 @@ deploy_to_staging:
...
@@ -175,6 +180,8 @@ deploy_to_staging:
deploy_to_production
:
deploy_to_production
:
<<
:
*deploy_template
<<
:
*deploy_template
stage
:
deploy
stage
:
deploy
tags
:
-
gitlab-runner03
environment
:
environment
:
name
:
production
name
:
production
variables
:
variables
:
...
@@ -214,6 +221,8 @@ deploy_to_production:
...
@@ -214,6 +221,8 @@ deploy_to_production:
rollback
:
rollback
:
<<
:
*deploy_template
<<
:
*deploy_template
stage
:
deploy
stage
:
deploy
tags
:
-
gitlab-runner03
script
:
script
:
-
|
-
|
echo "Performing rollback..."
echo "Performing rollback..."
...
...
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