Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Libravatar Nginx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Libravatar Nginx
Commits
b033e915
Verified
Commit
b033e915
authored
3 years ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
ci(gitlab-ci): Switch to semantic-releases are version source
parent
1362d356
No related branches found
No related tags found
No related merge requests found
Pipeline
#12674
passed with warnings
3 years ago
Stage: build
Stage: test
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-4
9 additions, 4 deletions
.gitlab-ci.yml
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
9
−
4
View file @
b033e915
...
@@ -10,9 +10,6 @@ stages:
...
@@ -10,9 +10,6 @@ stages:
-
release
-
release
-
deploy
-
deploy
variables
:
CI_REGISTRY_IMAGE_VERSION
:
"
3.0.1"
container-testing
:
container-testing
:
stage
:
test
stage
:
test
image
:
quay.io/sheogorath/build-ah-engine:1.3.0
image
:
quay.io/sheogorath/build-ah-engine:1.3.0
...
@@ -32,6 +29,13 @@ container-testing:
...
@@ -32,6 +29,13 @@ container-testing:
tags
:
tags
:
-
amd64
-
amd64
container-tagging
:
stage
:
deploy
variables
:
CI_REGISTRY_IMAGE_VERSION
:
"
$CI_COMMIT_TAG"
rules
:
-
if
:
$CI_COMMIT_TAG
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
variables
:
variables
:
...
@@ -40,7 +44,8 @@ deploy:
...
@@ -40,7 +44,8 @@ deploy:
project
:
shivering-isles/ansible-infrastructure-deploy
project
:
shivering-isles/ansible-infrastructure-deploy
strategy
:
depend
strategy
:
depend
rules
:
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
$CI_DEFAULT_BRANCH'
-
if
:
$CI_COMMIT_TAG
release
:
release
:
image
:
image
:
name
:
ghcr.io/go-semantic-release/semantic-release:2.20.0
name
:
ghcr.io/go-semantic-release/semantic-release:2.20.0
...
...
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