Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scaleway instances template
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
systemes-dinformation
alpha
pocs
Cloud Machinist
cloud machinist templates
scaleway instances template
Commits
19143d35
Commit
19143d35
authored
1 year ago
by
Nathan Rodet
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
ab8af255
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#79067
failed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-4
10 additions, 4 deletions
.gitlab-ci.yml
with
10 additions
and
4 deletions
.gitlab-ci.yml
+
10
−
4
View file @
19143d35
...
...
@@ -13,7 +13,13 @@ variables:
before_script
:
-
apk add --no-cache python3 py3-pip
-
python3 -m pip install --user ansible
-
python3 -m venv .venv
-
git clone https://github.com/ansible/ansible.git
-
cd ansible
-
virtualenv venv
-
source venv/bin/activate
-
pip install .
-
which ansible
-
ssh-keygen -b 2048 -t rsa -C "${ENVIRONMENT}-cma-update-tmp" -f ${SSH_KEY_PATH} -q -N ""
-
cd ${TF_ROOT}
-
export TF_VAR_SCW_ACCESS_KEY=${TF_VAR_SCW_ACCESS_KEY}
...
...
@@ -27,8 +33,8 @@ stages:
-
prepare
-
build
-
plan
-
provisionning
-
configur
ation
-
deploy
-
configur
e
-
destroy
ansible-hosts-file
:
...
...
@@ -61,7 +67,7 @@ tf-plan:
terraform
:
${TF_ROOT}/plan.json
tf-apply
:
stage
:
provisionning
stage
:
deploy
environment
:
name
:
${ENVIRONMENT}
script
:
...
...
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