Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
0cdde073
Commit
0cdde073
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
prefix stackname with CICD consistently. add debug output
Former-commit-id:
346c1043
parent
1c4dcb0f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CICD/ansible_create_cluster_script.sh
+3
-0
3 additions, 0 deletions
CICD/ansible_create_cluster_script.sh
with
3 additions
and
0 deletions
CICD/ansible_create_cluster_script.sh
+
3
−
0
View file @
0cdde073
...
@@ -3,9 +3,12 @@ set -e
...
@@ -3,9 +3,12 @@ set -e
export
ANSIBLE_HOST_KEY_CHECKING
=
False
export
ANSIBLE_HOST_KEY_CHECKING
=
False
source
./
$NECTAR_ALLOCATION
-openrc
.sh
source
./
$NECTAR_ALLOCATION
-openrc
.sh
openstack stack list
cd
CICD
cd
CICD
STACKNAME
=
CICD
$STACKNAME
echo
"[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same"
echo
"[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same"
python3 ../scripts/make_inventory.py static CICD
$STACKNAME
|
tee
./files/inventory.
$STACKNAME
&&
chmod
755 ./files/inventory.
$STACKNAME
python3 ../scripts/make_inventory.py static CICD
$STACKNAME
|
tee
./files/inventory.
$STACKNAME
&&
chmod
755 ./files/inventory.
$STACKNAME
grep
-qv
"I could not find any resouces tagged with project_name:"
./files/inventory.
$STACKNAME
#fail if inventory file is empty
grep
-qv
"I could not find any resouces tagged with project_name:"
./files/inventory.
$STACKNAME
#fail if inventory file is empty
...
...
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