Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Resin
Client
Commits
da0926a8
Commit
da0926a8
authored
4 years ago
by
Hugo SUBTIL
Browse files
Options
Downloads
Patches
Plain Diff
fix(cicd): tmp remove of sonar analysis because no runner available
parent
a575aba2
No related branches found
No related tags found
1 merge request
!2
Dev
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-17
18 additions, 17 deletions
.gitlab-ci.yml
with
18 additions
and
17 deletions
.gitlab-ci.yml
+
18
−
17
View file @
da0926a8
...
...
@@ -21,26 +21,27 @@ build_dev:
services
:
-
docker:18.09-dind
stage
:
build
tags
:
-
build-push-to-registry
only
:
-
dev
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build --pull -t "$CI_REGISTRY_IMAGE:dev" --build-arg conf=dev .
-
docker push "$CI_REGISTRY_IMAGE:dev"
code_analysis
:
stage
:
sonar-analysis
tags
:
-
test
only
:
-
dev
script
:
-
>
sonar-scanner
-Dsonar.projectName=${SONAR_PROJECT_KEY}
-Dsonar.projectVersion=1.0
-Dsonar.sourceEncoding=UTF-8
-Dsonar.projectBaseDir=.
-Dsonar.host.url=${SONAR_URL}
-Dsonar.projectKey=${SONAR_PROJECT_KEY}
-Dsonar.login=${SONAR_TOKEN}
# code_analysis:
# stage: sonar-analysis
# tags:
# - test
# only:
# - dev
# script:
# - >
# sonar-scanner
# -Dsonar.projectName=${SONAR_PROJECT_KEY}
# -Dsonar.projectVersion=1.0
# -Dsonar.sourceEncoding=UTF-8
# -Dsonar.projectBaseDir=.
# -Dsonar.host.url=${SONAR_URL}
# -Dsonar.projectKey=${SONAR_PROJECT_KEY}
# -Dsonar.login=${SONAR_TOKEN}
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