Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
omnibus-heptapod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
omnibus-heptapod
Commits
494d1b25
Commit
494d1b25
authored
4 years ago
by
Rémy Coutable
Browse files
Options
Downloads
Patches
Plain Diff
Set default tag in .gitlab-ci.yml
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
b56c3c1e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+15
-1
15 additions, 1 deletion
.gitlab-ci.yml
gitlab-ci-config/gitlab-com.yml
+0
-11
0 additions, 11 deletions
gitlab-ci-config/gitlab-com.yml
with
15 additions
and
12 deletions
.gitlab-ci.yml
+
15
−
1
View file @
494d1b25
...
...
@@ -21,6 +21,20 @@
-
aws-marketplace-release
-
notification_fail
workflow
:
rules
:
# For branches, create a pipeline.
# FIXME: We should change the following to `- if: 'CI_MERGE_REQUEST_IID'`
-
if
:
'
$CI_COMMIT_BRANCH'
# For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
# For tags, create a pipeline.
-
if
:
'
$CI_COMMIT_TAG'
default
:
tags
:
-
gitlab-org
variables
:
BUILDER_IMAGE_REGISTRY
:
"
dev.gitlab.org:5005/cookbooks/gitlab-omnibus-builder"
PUBLIC_BUILDER_IMAGE_REGISTRY
:
"
registry.gitlab.com/gitlab-org/gitlab-omnibus-builder"
...
...
@@ -49,7 +63,7 @@
services
:
-
docker:19.03.0-dind
tags
:
-
docker
-
gitlab-org-
docker
### Measure memory usage
.measure_memory_script_artifacts
:
&measure_memory_script_artifacts
...
...
This diff is collapsed.
Click to expand it.
gitlab-ci-config/gitlab-com.yml
+
0
−
11
View file @
494d1b25
...
...
@@ -21,10 +21,6 @@
-
triggers@gitlab-org/build/omnibus-gitlab-mirror
-
pipelines@gitlab-org/build/omnibus-gitlab-mirror
.dedicated-runner
:
&dedicated-runner
tags
:
-
gitlab-org
.knapsack-artifacts
:
&knapsack-artifacts
expire_in
:
31d
paths
:
...
...
@@ -40,7 +36,6 @@
.knapsack
:
&prepare_knapsack
<<
:
*knapsack-state
<<
:
*dedicated-runner
stage
:
prepare
before_script
:
[]
script
:
...
...
@@ -54,7 +49,6 @@
.spec_template
:
stage
:
tests
<<
:
*dedicated-runner
before_script
:
# These jobs will not be run on dev, so we set ALTERNATIVE_SOURCES to true
# so tests run fine on forks
...
...
@@ -88,7 +82,6 @@
.trigger-job
:
&trigger-job
image
:
"
ruby:2.4"
stage
:
trigger-package
<<
:
*dedicated-runner
when
:
manual
script
:
-
bundle exec rake build:trigger
...
...
@@ -136,7 +129,6 @@
rubocop
:
stage
:
check
<<
:
*dedicated-runner
image
:
ruby:2.6
before_script
:
-
bundle install -j $(nproc) --binstubs --path gems --without default test
...
...
@@ -154,7 +146,6 @@
cache
:
{}
dependencies
:
[]
before_script
:
[]
<<
:
*dedicated-runner
script
:
# Lint prose
-
vale --minAlertLevel error doc
...
...
@@ -286,7 +277,6 @@
update-knapsack
:
<<
:
*knapsack-state
<<
:
*dedicated-runner
image
:
"
${RUBY_IMAGE}"
stage
:
post-test
before_script
:
[]
...
...
@@ -401,7 +391,6 @@
dependencies_io_check
:
image
:
"
${RUBY_IMAGE}"
stage
:
trigger-package
<<
:
*dedicated-runner
script
:
-
bundle exec rake build:trigger
only
:
...
...
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