Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
acc5cfe9
Commit
acc5cfe9
authored
5 years ago
by
Igor Witz
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
118e7a43
No related branches found
Branches containing commit
No related tags found
1 merge request
!31
MAJ CI + volumes dans Dokuwiki
Pipeline
#39466
failed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+21
-8
21 additions, 8 deletions
.gitlab-ci.yml
with
21 additions
and
8 deletions
.gitlab-ci.yml
+
21
−
8
View file @
acc5cfe9
...
...
@@ -20,7 +20,10 @@ metabuild:
tags
:
[
build
]
only
:
changes
:
-
pica-dokuwiki/*
-
"
pica-dokuwiki/*"
branches
:
-
master
-
dev-ci
# build the container that was modified
build
:
...
...
@@ -28,7 +31,6 @@ build:
image
:
$REGISTRY_PROD/pica-ci:latest
before_script
:
-
echo $REGISTRY_PASSWORD | docker login $REGISTRY -u $REGISTRY_USERNAME --password-stdin
-
echo $MODIFIED_IMAGE
-
source /etc/profile.d/ci-variables
script
:
-
docker build -f $MODIFIED_IMAGE/Dockerfile $MODIFIED_IMAGE -t $REGISTRY/ci-builds/$CI_COMMIT_SHA
...
...
@@ -38,7 +40,10 @@ build:
tags
:
[
build
]
only
:
changes
:
-
pica-dokuwiki/*
-
"
pica-dokuwiki/*"
branches
:
-
master
-
dev-ci
# run CoreOS' Clair and make the CI failed if a critical vulnerability isn't in the whitelist
clair
:
...
...
@@ -64,8 +69,10 @@ clair:
tags
:
[
build
]
only
:
changes
:
-
pica-dokuwiki/*
allow_failure
:
false
-
"
pica-dokuwiki/*"
branches
:
-
master
-
dev-ci
# run docker-bench-security and upload the results
docker-bench-security
:
...
...
@@ -95,7 +102,10 @@ docker-bench-security:
tags
:
[
build
]
only
:
changes
:
-
pica-dokuwiki/*
-
"
pica-dokuwiki/*"
branches
:
-
master
-
dev-ci
# automatically deploy the container on pica01-test
deployment-test
:
...
...
@@ -124,7 +134,10 @@ deployment-test:
tags
:
[
build
]
only
:
changes
:
-
pica-dokuwiki/*
-
"
pica-dokuwiki/*"
branches
:
-
master
-
dev-ci
# automatically deploy the container on the production host associated with the modified image
# this will only happen after manually triggering the deployment
...
...
@@ -158,5 +171,5 @@ deployment-prod:
tags
:
[
build
]
only
:
changes
:
-
pica-dokuwiki/*
-
"
pica-dokuwiki/*
"
when
:
manual
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Igor Witz
@witzigor
mentioned in issue
#9 (closed)
·
5 years ago
mentioned in issue
#9 (closed)
mentioned in issue #9
Toggle commit list
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