Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
backoffice_server
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
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
web-et-numerique
Factory
LLLE_Project
backoffice_server
Commits
cee5829a
Commit
cee5829a
authored
1 year ago
by
Rémi PAILHAREY
Browse files
Options
Downloads
Patches
Plain Diff
chore: use factory group token
parent
54311ebe
No related branches found
No related tags found
1 merge request
!108
chore(release): Ecolyo 3.1.0
Pipeline
#100736
passed
1 year ago
Stage: quality
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-17
13 additions, 17 deletions
.gitlab-ci.yml
with
13 additions
and
17 deletions
.gitlab-ci.yml
+
13
−
17
View file @
cee5829a
...
...
@@ -12,7 +12,6 @@ default:
services
:
-
docker:dind
variables
:
DOCKER_DRIVER
:
overlay2
DOCKER_TLS_CERTDIR
:
"
"
...
...
@@ -43,7 +42,7 @@ import-convert-assets:
-
curl "https://forge.grandlyon.com/api/v4/projects/409/repository/archive?path=src/assets/icons/visu/ecogesture&sha=$ECOLYO_ASSETS_BRANCH" --output ecogesture.tar.gz
-
tar -xf ecogesture.tar.gz
-
cd *-ecogesture/src/assets/icons/visu/ecogesture
-
for file in *.svg; do inkscape --export-type="png" $file; done
-
for file in *.svg; do inkscape --export-type="png" $file; done
-
rm *.svg
# Cleanup
-
cd ~
...
...
@@ -55,9 +54,9 @@ import-convert-assets:
-
cp -r image-lib $CI_PROJECT_DIR/image-lib
artifacts
:
paths
:
-
$CI_PROJECT_DIR/image-lib
-
$CI_PROJECT_DIR/image-lib
only
:
only
:
-
master
when
:
manual
...
...
@@ -90,10 +89,10 @@ sonarqube:
-
dev
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/sonarsource/sonar-scanner-cli:4
variables
:
SONAR_USER_HOME
:
'
${CI_PROJECT_DIR}/.sonar
'
# Defines the location of the analysis task cache
GIT_DEPTH
:
'
0'
# T
SONAR_USER_HOME
:
"
${CI_PROJECT_DIR}/.sonar
"
# Defines the location of the analysis task cache
GIT_DEPTH
:
"
0"
# T
cache
:
key
:
'
${CI_JOB_NAME}
'
key
:
"
${CI_JOB_NAME}
"
paths
:
-
.sonar/cache
script
:
...
...
@@ -115,10 +114,10 @@ sonarqube-mr:
-
merge_requests
image
:
${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/sonarsource/sonar-scanner-cli:4
variables
:
SONAR_USER_HOME
:
'
${CI_PROJECT_DIR}/.sonar
'
# Defines the location of the analysis task cache
GIT_DEPTH
:
'
0'
# T
SONAR_USER_HOME
:
"
${CI_PROJECT_DIR}/.sonar
"
# Defines the location of the analysis task cache
GIT_DEPTH
:
"
0"
# T
cache
:
key
:
'
${CI_JOB_NAME}
'
key
:
"
${CI_JOB_NAME}
"
paths
:
-
.sonar/cache
script
:
...
...
@@ -151,8 +150,8 @@ deploy_rec:
script
:
-
find k8s/ -name '*.yml' -exec sed -i "s/{{NS}}/$NAMESPACE/g" {} \;
-
oc create secret -n $NAMESPACE docker-registry llle-project --docker-server=$CI_REGISTRY --docker-username=llle-project --docker-password=$
TOKEN_PULL_IMAGE
--dry-run=client -o yaml | oc apply -f -
-
oc create secret -n $NAMESPACE docker-registry llle-project --docker-server=$CI_REGISTRY --docker-username=llle-project --docker-password=$
READ_REGISTRY_TOKEN
--dry-run=client -o yaml | oc apply -f -
-
oc apply -f k8s/secrets
-
oc apply -f k8s/deployments
-
oc apply -f k8s/cronjobs
...
...
@@ -181,8 +180,8 @@ deploy_prod:
script
:
-
find k8s/ -name '*.yml' -exec sed -i "s/{{NS}}/$NAMESPACE/g" {} \;
-
oc create secret -n $NAMESPACE docker-registry llle-project --docker-server=$CI_REGISTRY --docker-username=llle-project --docker-password=$
TOKEN_PULL_IMAGE
--dry-run=client -o yaml | oc apply -f -
-
oc create secret -n $NAMESPACE docker-registry llle-project --docker-server=$CI_REGISTRY --docker-username=llle-project --docker-password=$
READ_REGISTRY_TOKEN
--dry-run=client -o yaml | oc apply -f -
-
oc apply -f k8s/secrets
-
oc apply -f k8s/deployments
-
oc apply -f k8s/cronjobs
...
...
@@ -191,6 +190,3 @@ deploy_prod:
-
ns-ecolyo-bo-p01-syn
only
:
-
master
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