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
8e33c129
Commit
8e33c129
authored
4 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/ubuntu' into gpu
Former-commit-id:
aeac749e
parents
0d91c42c
c13fce1a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-2
10 additions, 2 deletions
.gitlab-ci.yml
CICD/heat/gc_HOT.yaml
+2
-2
2 additions, 2 deletions
CICD/heat/gc_HOT.yaml
with
12 additions
and
4 deletions
.gitlab-ci.yml
+
10
−
2
View file @
8e33c129
...
@@ -13,6 +13,7 @@ stages:
...
@@ -13,6 +13,7 @@ stages:
-
ansible_create_cluster_stage
-
ansible_create_cluster_stage
-
push_button_spawn_cluster
-
push_button_spawn_cluster
-
tests
-
tests
-
integration_test
#https://docs.gitlab.com/ee/ci/triggers/
-
integration_test
#https://docs.gitlab.com/ee/ci/triggers/
-
clean
-
clean
...
@@ -70,7 +71,6 @@ ansiblelint:
...
@@ -70,7 +71,6 @@ ansiblelint:
-
cd CICD
-
cd CICD
-
python3 ansiblelint/run_lint.py --targets master_playbook.yml
-
python3 ansiblelint/run_lint.py --targets master_playbook.yml
build_cluster_cicd
:
build_cluster_cicd
:
stage
:
heat
stage
:
heat
allow_failure
:
false
allow_failure
:
false
...
@@ -189,7 +189,7 @@ manual_cluster_spawn:
...
@@ -189,7 +189,7 @@ manual_cluster_spawn:
only
:
only
:
refs
:
refs
:
-
"
cicd"
-
"
cicd"
clean
:
clean
:
stage
:
clean
stage
:
clean
tags
:
tags
:
...
@@ -228,3 +228,11 @@ clean:
...
@@ -228,3 +228,11 @@ clean:
# after_script:
# after_script:
# - sleep 20 # artifically wait a bit to make sure it is really dead
# - sleep 20 # artifically wait a bit to make sure it is really dead
# - openstack stack list
# - bash -x ./CICD/heat/heatcicdwrapper.sh update $HEAT_TEST_STACKNAME
# - openstack stack list
# - bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $HEAT_TEST_STACKNAME
# - openstack stack list
# after_script:
# - sleep 20 # artifically wait a bit to make sure it is really dead
This diff is collapsed.
Click to expand it.
CICD/heat/gc_HOT.yaml
+
2
−
2
View file @
8e33c129
...
@@ -380,7 +380,7 @@ resources:
...
@@ -380,7 +380,7 @@ resources:
image
:
{
get_param
:
ubuntu_1804_image_id
}
image
:
{
get_param
:
ubuntu_1804_image_id
}
key_name
:
{
get_param
:
ssh_key
}
key_name
:
{
get_param
:
ssh_key
}
name
:
name
:
list_join
:
[
'
-'
,
[
{
get_param
:
"
OS::stack_name"
},
'
computec%index%'
]]
list_join
:
[
'
-'
,
[
{
get_param
:
"
OS::stack_name"
},
'
computec
7
%index%'
]]
security_groups
:
[
default
,
{
get_resource
:
SSHMonashSecGroup
},
{
get_resource
:
SlurmSecGroup
},
{
get_resource
:
NFSSecGroup
}
]
security_groups
:
[
default
,
{
get_resource
:
SSHMonashSecGroup
},
{
get_resource
:
SlurmSecGroup
},
{
get_resource
:
NFSSecGroup
}
]
metadata
:
metadata
:
ansible_host_groups
:
[
ComputeNodes
]
ansible_host_groups
:
[
ComputeNodes
]
...
@@ -413,7 +413,7 @@ resources:
...
@@ -413,7 +413,7 @@ resources:
UbuntuDesktopNodes
:
UbuntuDesktopNodes
:
type
:
"
OS::Heat::ResourceGroup"
type
:
"
OS::Heat::ResourceGroup"
properties
:
properties
:
count
:
0
count
:
1
resource_def
:
resource_def
:
type
:
"
OS::Nova::Server"
type
:
"
OS::Nova::Server"
properties
:
properties
:
...
...
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