Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
camino
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
pnm-public
camino
Commits
f2b757ed
Commit
f2b757ed
authored
7 months ago
by
BITARD Michaël
Committed by
SAFINE LAGET Anis
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
chore(infra): créer l'image de cron automatiquement avec notre CI (
!1610
)
parent
ad5f9ca2
No related branches found
No related tags found
1 merge request
!1610
chore(infra): créer l'image de cron automatiquement avec notre CI
Pipeline
#465852
passed
7 months ago
Stage: prepare
Stage: test
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab/ci/global-jobs.yml
+14
-0
14 additions, 0 deletions
.gitlab/ci/global-jobs.yml
Makefile
+0
-10
0 additions, 10 deletions
Makefile
docker-compose.yml
+1
-1
1 addition, 1 deletion
docker-compose.yml
with
15 additions
and
11 deletions
.gitlab/ci/global-jobs.yml
+
14
−
0
View file @
f2b757ed
...
@@ -9,3 +9,17 @@ lint_detect_deadcode:
...
@@ -9,3 +9,17 @@ lint_detect_deadcode:
extends
:
.prepare-node-run
extends
:
.prepare-node-run
stage
:
test
stage
:
test
script
:
make lint/detect-dead-code
script
:
make lint/detect-dead-code
build_cron
:
stage
:
build
needs
:
[]
extends
:
-
.rule-build-and-push
-
.prepare-docker-push
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
script
:
-
/kaniko/executor --context "$CI_PROJECT_DIR/infra/ecocompose/crons/" --build-arg BUILD_ENV=dev --dockerfile "$CI_PROJECT_DIR/Dockerfile.cron" --destination "caminofr/cron:${CI_COMMIT_SHA}-dev" ${KANIKO_POST_PARAM}
-
/kaniko/executor --context "$CI_PROJECT_DIR/infra/ecocompose/crons/" --build-arg BUILD_ENV=preprod --dockerfile "$CI_PROJECT_DIR/Dockerfile.cron" --destination "caminofr/cron:${CI_COMMIT_SHA}-preprod" ${KANIKO_POST_PARAM}
-
/kaniko/executor --context "$CI_PROJECT_DIR/infra/ecocompose/crons/" --build-arg BUILD_ENV=prod --dockerfile "$CI_PROJECT_DIR/Dockerfile.cron" --destination "caminofr/cron:${CI_COMMIT_SHA}-prod" ${KANIKO_POST_PARAM}
This diff is collapsed.
Click to expand it.
Makefile
+
0
−
10
View file @
f2b757ed
...
@@ -284,13 +284,3 @@ nginx-proxy/build:
...
@@ -284,13 +284,3 @@ nginx-proxy/build:
nginx-proxy/push
:
nginx-proxy/push
:
docker push caminofr/camino-nginx-proxy:1.6.1
docker push caminofr/camino-nginx-proxy:1.6.1
cron/build
:
docker build
-t
caminofr/cron:1.0.0-dev
--build-arg
BUILD_ENV
=
dev
-f
Dockerfile.cron infra/ecocompose/crons/
docker build
-t
caminofr/cron:1.0.0-preprod
--build-arg
BUILD_ENV
=
preprod
-f
Dockerfile.cron infra/ecocompose/crons/
docker build
-t
caminofr/cron:1.0.0-prod
--build-arg
BUILD_ENV
=
prod
-f
Dockerfile.cron infra/ecocompose/crons/
cron/push
:
docker push caminofr/cron:1.0.0-dev
docker push caminofr/cron:1.0.0-preprod
docker push caminofr/cron:1.0.0-prod
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
1
−
1
View file @
f2b757ed
...
@@ -69,7 +69,7 @@ services:
...
@@ -69,7 +69,7 @@ services:
restart
:
unless-stopped
restart
:
unless-stopped
cron
:
cron
:
container_name
:
camino_cron
container_name
:
camino_cron
image
:
caminofr/cron:
1.0.0
-${ENV}
image
:
caminofr/cron:
${CAMINO_TAG}
-${ENV}
environment
:
environment
:
ENV
:
${ENV}
ENV
:
${ENV}
TCHAP_HOOK
:
${TCHAP_HOOK}
TCHAP_HOOK
:
${TCHAP_HOOK}
...
...
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