Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
package_alerts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
linuxsupport
cronjobs
package_alerts
Commits
7f8ab6fe
Commit
7f8ab6fe
authored
2 years ago
by
Alex Iribarren
Browse files
Options
Downloads
Plain Diff
Merge branch 'simplify' into 'master'
New build method See merge request linuxsupport/cronjobs/centos_rss!6
parents
04f22c4d
ff3f7c7c
No related branches found
No related tags found
1 merge request
!6
New build method
Pipeline
#4213476
passed
2 years ago
Stage: build
Stage: deploy_test
Stage: deploy
Stage: cleanup
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-24
3 additions, 24 deletions
.gitlab-ci.yml
centos_rss.nomad
+1
-2
1 addition, 2 deletions
centos_rss.nomad
with
4 additions
and
26 deletions
.gitlab-ci.yml
+
3
−
24
View file @
7f8ab6fe
...
@@ -2,29 +2,8 @@
...
@@ -2,29 +2,8 @@
include
:
'
https://gitlab.cern.ch/linuxsupport/cronjobs/base/raw/master/gitlab-ci.yml'
include
:
'
https://gitlab.cern.ch/linuxsupport/cronjobs/base/raw/master/gitlab-ci.yml'
build_centos_rss
:
build_centos_rss
:
stage
:
build
extends
:
.build_image
tags
:
-
docker-image-build
script
:
"
echo"
# unused but this line is required by GitLab CI
variables
:
variables
:
CONTEXT_DIR
:
centos_rss
CONTEXT_DIR
:
centos_rss
TO
:
$CI_REGISTRY_IMAGE/centos_rss:$CI_COMMIT_REF_NAME
DOCKER_FILE
:
centos_rss/Dockerfile
TO
:
$CI_REGISTRY_IMAGE/centos_rss
deploy
:
extends
:
.nomad
stage
:
deploy
script
:
-
for j in *.nomad; do echo -e "\n${j}:"; nomad job run <(envsubst < $j); done
only
:
-
tags
-
master
deploy_dev
:
extends
:
.nomad
stage
:
deploy
script
:
-
for j in *.nomad; do echo -e "\n${j}:"; nomad job run <(envsubst < $j); done
except
:
-
tags
-
master
when
:
manual
This diff is collapsed.
Click to expand it.
centos_rss.nomad
+
1
−
2
View file @
7f8ab6fe
...
@@ -13,8 +13,7 @@ job "${PREFIX}_centos_rss" {
...
@@ -13,8 +13,7 @@ job "${PREFIX}_centos_rss" {
driver
=
"docker"
driver
=
"docker"
config
{
config
{
image
=
"https://gitlab-registry.cern.ch/linuxsupport/cronjobs/centos_rss/centos_rss:${CI_COMMIT_REF_NAME}"
image
=
"https://gitlab-registry.cern.ch/linuxsupport/cronjobs/centos_rss/centos_rss:${CI_COMMIT_SHORT_SHA}"
force_pull
=
$
{
FORCE_PULL
}
logging
{
logging
{
config
{
config
{
tag
=
"${PREFIX}_centos_rss"
tag
=
"${PREFIX}_centos_rss"
...
...
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