ECOM 1F0 2018-19 BTB GitLab CI/CD: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


Répondre aux questions de la manière suivante :
Répondre aux questions de la manière suivante :

'''What CI/CD pipeline do you want to generate? (Use arrow keys)
'''What CI/CD pipeline do you want to generate? (Use arrow keys)
Jenkins pipeline
Jenkins pipeline
Line 11: Line 12:
Travis CI '''
Travis CI '''
''Select Gitlab CI''
''Select Gitlab CI''

'''In GitLab CI, perform the build in a docker container (hint: GitLab.com uses Docker container) ? (y/N) '''
'''In GitLab CI, perform the build in a docker container (hint: GitLab.com uses Docker container) ? (y/N) '''

''y''
''y''

'''What tasks/integrations do you want to include ? (Press <space> to select, <a> to toggle all, <i> to invert selection)
'''What tasks/integrations do you want to include ? (Press <space> to select, <a> to toggle all, <i> to invert selection)
◯ Deploy your application to an *Artifactory*
◯ Deploy your application to an *Artifactory*

Latest revision as of 14:19, 23 October 2018

Initialisation

Exécuter la commande suivante à la racine de votre projet Jhipster :

jhipster ci-cd

Répondre aux questions de la manière suivante :

What CI/CD pipeline do you want to generate? (Use arrow keys)

 Jenkins pipeline 
 Azure Pipelines 
 GitLab CI 
 Travis CI 

Select Gitlab CI

In GitLab CI, perform the build in a docker container (hint: GitLab.com uses Docker container) ? (y/N)

y

What tasks/integrations do you want to include ? (Press <space> to select, <a> to toggle all, to invert selection)

◯ Deploy your application to an *Artifactory*
◯ Analyze your code with *Sonar* (requires SONAR_TOKEN set on CI service)
◯ Deploy to *Heroku* (requires HEROKU_API_KEY set on CI service)

select *Sonar*

*Sonar*: what is the URL of the Sonar server ? (https://sonarcloud.io)

Appuyez sur entrée

*Sonar*: what is the Organization of the Sonar server ? ()

Appuyez sur entrée