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
da053ded
Commit
da053ded
authored
5 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
more waittime to avoid timeouts after booting
parent
fc65aee9
No related branches found
No related tags found
1 merge request
!297
Cicd merge back
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-2
4 additions, 2 deletions
.gitlab-ci.yml
with
4 additions
and
2 deletions
.gitlab-ci.yml
+
4
−
2
View file @
da053ded
...
@@ -3,6 +3,7 @@ variables:
...
@@ -3,6 +3,7 @@ variables:
STACKNAME
:
CICD_reporef$CI_COMMIT_REF_NAME
STACKNAME
:
CICD_reporef$CI_COMMIT_REF_NAME
NECTAR_ALLOCATION
:
HPCCICD
NECTAR_ALLOCATION
:
HPCCICD
ANSIBLE_HOST_KEY_CHECKING
:
"
False"
ANSIBLE_HOST_KEY_CHECKING
:
"
False"
DEFAULT_PATH
:
"
CICD"
stages
:
stages
:
# - integration_test_downstream # working but unwanted here
# - integration_test_downstream # working but unwanted here
...
@@ -71,7 +72,7 @@ build_cluster_cicd:
...
@@ -71,7 +72,7 @@ build_cluster_cicd:
-
bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME
-
bash -x ./CICD/heat/heatcicdwrapper.sh create_or_update $STACKNAME
-
bash -x ./CICD/heat/server_rebuild.sh all
-
bash -x ./CICD/heat/server_rebuild.sh all
after_script
:
after_script
:
-
sleep
2
0
# artifically wait a bit to give the nodes time to boot
-
sleep
3
0
# artifically wait a bit to give the nodes time to boot
# only:
# only:
# changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
# changes: #https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
# - "heat/*HOT*.yaml"
# - "heat/*HOT*.yaml"
...
@@ -83,6 +84,7 @@ ansible_create_cluster_stage:
...
@@ -83,6 +84,7 @@ ansible_create_cluster_stage:
tags
:
tags
:
-
ansible
-
ansible
before_script
:
before_script
:
-
cd $DEFAULT_PATH/..
-
echo "$GC_KEY" > gc_key.pem
-
echo "$GC_KEY" > gc_key.pem
-
chmod 400 gc_key.pem
-
chmod 400 gc_key.pem
-
echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
-
echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
...
@@ -192,7 +194,7 @@ clean:
...
@@ -192,7 +194,7 @@ clean:
script
:
script
:
-
source ./$NECTAR_ALLOCATION-openrc.sh
-
source ./$NECTAR_ALLOCATION-openrc.sh
-
bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
-
bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
when
:
manual
#
when: manual
#trigger_pipeline_in_B:
#trigger_pipeline_in_B:
...
...
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
1d75e924
·
4 years ago
mentioned in commit
1d75e924
mentioned in commit 1d75e924e4ff9f1def320f4a72dc69dd4dcdd51e
Toggle commit list
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