Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
anis-next
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
anis
anis-next
Commits
21942bd0
Commit
21942bd0
authored
3 years ago
by
François Agneray
Browse files
Options
Downloads
Patches
Plain Diff
Update gitlab-ci (client, server, services)
parent
09a10266
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!29
Develop
Pipeline
#5963
failed
3 years ago
Stage: trigger-child-pipelines
Pipeline: anis-next
#5966
Pipeline: anis-next
#5965
Pipeline: anis-next
#5964
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
client/.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
client/.gitlab-ci.yml
server/.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
server/.gitlab-ci.yml
services/.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
services/.gitlab-ci.yml
with
9 additions
and
0 deletions
client/.gitlab-ci.yml
+
4
−
0
View file @
21942bd0
...
...
@@ -17,6 +17,7 @@ install_dependencies:
-
node_modules
policy
:
pull-push
script
:
-
cd client
-
yarn install
sonar_scanner
:
...
...
@@ -28,6 +29,7 @@ sonar_scanner:
-
node_modules
policy
:
pull
script
:
-
cd client
-
sonar-scanner
-Dsonar.projectKey=anis-next
-Dsonar.sources=src
...
...
@@ -46,6 +48,7 @@ build:
-
node_modules
policy
:
pull
script
:
-
cd client
-
yarn global add @angular/cli@latest
-
ng build
artifacts
:
...
...
@@ -57,6 +60,7 @@ dockerize:
stage
:
dockerize
cache
:
{}
script
:
-
cd client
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker pull $CI_REGISTRY/anis/anis-next/client:latest ||
true
-
docker build --cache-from $CI_REGISTRY/anis/anis-next/client:latest -t $CI_REGISTRY/anis/anis-next/client:latest .
...
...
This diff is collapsed.
Click to expand it.
server/.gitlab-ci.yml
+
4
−
0
View file @
21942bd0
...
...
@@ -12,6 +12,7 @@ install_dependencies:
image
:
jakzal/phpqa:php8.0
stage
:
install_dependencies
script
:
-
cd server
-
composer install --ignore-platform-reqs
cache
:
key
:
${CI_COMMIT_REF_SLUG}
...
...
@@ -28,6 +29,7 @@ test:
-
vendor
policy
:
pull
script
:
-
cd server
-
phpdbg
-qrr ./vendor/bin/phpunit
--bootstrap ./tests/bootstrap.php
...
...
@@ -43,6 +45,7 @@ sonar_scanner:
image
:
sonarsource/sonar-scanner-cli:latest
stage
:
sonar
script
:
-
cd server
-
sonar-scanner
-Dsonar.projectKey=anis-next
-Dsonar.sources=src
...
...
@@ -62,6 +65,7 @@ dockerize:
policy
:
pull
dependencies
:
[]
script
:
-
cd server
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker pull $CI_REGISTRY/anis/anis-next/server:latest ||
true
-
docker build --cache-from $CI_REGISTRY/anis/anis-next/server:latest -t $CI_REGISTRY/anis/anis-next/server:latest .
...
...
This diff is collapsed.
Click to expand it.
services/.gitlab-ci.yml
+
1
−
0
View file @
21942bd0
...
...
@@ -10,6 +10,7 @@ dockerize:
stage
:
dockerize
cache
:
{}
script
:
-
cd services
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker pull $CI_REGISTRY/anis/anis-next/services:latest ||
true
-
docker build --cache-from $CI_REGISTRY/anis/anis-next/services:latest -t $CI_REGISTRY/anis/anis-next/services:latest .
...
...
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