Skip to content
Snippets Groups Projects
Commit aeac749e authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

Merge remote-tracking branch 'origin/ubuntu' into gpu

parents 86901c0a 4b988a9d
No related branches found
No related tags found
2 merge requests!310Gpu2,!304Gpu
...@@ -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
...@@ -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" }, 'computec7%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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment