Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
O
OIDC-Tester
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
Service Desk
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
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Guenole Projects
OIDC-Tester
Commits
98da82e6
Commit
98da82e6
authored
4 years ago
by
Jérôme Le Bras
Browse files
Options
Downloads
Patches
Plain Diff
Deploy rct cloud
parent
cec13826
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-2
23 additions, 2 deletions
.gitlab-ci.yml
with
23 additions
and
2 deletions
.gitlab-ci.yml
+
23
−
2
View file @
98da82e6
...
...
@@ -68,10 +68,9 @@ deploy_dev_cloud:
stage
:
deploy_dev
script
:
-
COMPONENT_NAME=portal-backend
-
ZIP_NAME=$COMPONENT_NAME.zip
-
*inject-private-key
-
*get-security-config-repo
-
mv $
ZIP
_NAME ./config/ansible
-
mv $
COMPONENT
_NAME
.zip
./config/ansible
-
'
ansible-playbook
./config/ansible/deploy.yml
--inventory-file=./config/env-file
--extra-vars
"gitlab_api_token=$GITLAB_API_TOKEN
component_name=$COMPONENT_NAME
KEYCLOAK_PASSWORD=$KEYCLOAK_PWD_dev_cloud"'
...
...
@@ -85,3 +84,25 @@ deploy_dev_cloud:
only
:
-
master
deploy_rct_cloud
:
image
:
$CI_REGISTRY/ideafactory/clientportal/general/ansible:latest
stage
:
deploy_rct
script
:
-
COMPONENT_NAME=portal-backend
-
*inject-private-key
-
*get-security-config-repo
-
mv $COMPONENT_NAME.zip ./config/ansible
-
'
ansible-playbook
./config/ansible/deploy.yml
--inventory-file=./config/env-file
--extra-vars
"gitlab_api_token=$GITLAB_API_TOKEN
component_name=$COMPONENT_NAME
KEYCLOAK_PASSWORD=$KEYCLOAK_PWD_rct_cloud"'
dependencies
:
-
zip
environment
:
name
:
recette_cloud
allow_failure
:
true
tags
:
-
docker
only
:
-
master
when
:
manual
\ No newline at end of file
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