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
170d9647
Commit
170d9647
authored
1 year ago
by
Nathan Rodet
Browse files
Options
Downloads
Patches
Plain Diff
updated scripts
parent
275d9143
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#78846
failed
1 year ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-10
11 additions, 10 deletions
.gitlab-ci.yml
scripts/hosts.yaml
+0
-5
0 additions, 5 deletions
scripts/hosts.yaml
with
11 additions
and
15 deletions
.gitlab-ci.yml
+
11
−
10
View file @
170d9647
...
...
@@ -20,34 +20,35 @@ before_script:
stages
:
-
prepare
-
validate
-
build
-
deploy
-
destroy
ssh
_
key
:
sshkey
:
stage
:
prepare
script
:
-
ssh-keygen -b 2048 -t rsa -f /tmp/sshkey -q -N ""
-
ls /tmp
ansible
_
hosts
_
file
:
ansible
-
hosts
-
file
:
stage
:
prepare
script
:
-
mv ~/bash.bash_logout badfile
-
ls
-
chmod +x ./${SCRIPTS_ROOT}/build-ansible-hosts.sh
-
./${SCRIPTS_ROOT}/build-ansible-hosts.sh
init
:
terraform-
init
:
stage
:
prepare
script
:
-
gitlab-terraform init
validate
:
stage
:
validat
e
terraform-
validate
:
stage
:
prepar
e
script
:
-
gitlab-terraform validate
plan
:
terraform-
plan
:
stage
:
build
script
:
-
gitlab-terraform plan
...
...
@@ -59,7 +60,7 @@ plan:
reports
:
terraform
:
${TF_ROOT}/plan.json
apply
:
terraform-
apply
:
stage
:
deploy
environment
:
name
:
${ENVIRONMENT}
...
...
@@ -68,12 +69,12 @@ apply:
dependencies
:
-
plan
ansible
:
ansible
-playbook
:
stage
:
deploy
script
:
-
ansible-playbook -i ${ANSIBLE_ROOT}/tasks/update.yaml
destroy
:
terraform-
destroy
:
stage
:
destroy
environment
:
name
:
${ENVIRONMENT}
...
...
This diff is collapsed.
Click to expand it.
scripts/hosts.yaml
deleted
100644 → 0
+
0
−
5
View file @
275d9143
instances
:
hosts
:
dev-0.cma.alpha.grandlyon.com
:
dev-1.cma.alpha.grandlyon.com
:
dev-2.cma.alpha.grandlyon.com
:
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