Skip to content
Snippets Groups Projects
Commit 0c9ba83f authored by Jafar Lie's avatar Jafar Lie
Browse files

formatting fix and removed clean state from cicd

Former-commit-id: d5ec4b01
parent 90f83ee1
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ stages: ...@@ -16,7 +16,7 @@ stages:
- push_button_spawn_cluster - push_button_spawn_cluster
# - e2e # - e2e
- tests - tests
- clean # manually delete stack # - clean # manually delete stack
...@@ -206,15 +206,15 @@ extended: ...@@ -206,15 +206,15 @@ extended:
variables: variables:
- $EXTENDED != null - $EXTENDED != null
clean: #clean:
stage: clean # stage: clean
tags: # tags:
- heat # - heat
before_script: # before_script:
- echo "cleanup stack" # - echo "cleanup stack"
- sleep 30 # - sleep 30
- echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh # - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
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
...@@ -27,6 +27,52 @@ ...@@ -27,6 +27,52 @@
- xorg-x11-xkb-utils - xorg-x11-xkb-utils
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
- name: install deps
apt:
name:
- 'gcc'
- 'perl'
- 'wget'
- 'pciutils'
- 'linux-headers-generic'
- 'xterm'
- 'libx11-dev'
- 'libx11-6'
- 'libglvnd-dev'
- 'xserver-xorg']state: present
update_cache: yes
become: true
become_user: root
when: ansible_distribution == 'Ubuntu'
- name: install deps
yum: name={{ item }} state=installed
become: true
with_items:
- gcc
- perl
- wget
- pciutils
- kernel-headers
- kernel-devel
- xterm
- libX11-common
- libX11-devel
- libX11
- libglvnd-devel
- xorg-x11-server-common
- xorg-x11-util-macros
- xorg-x11-server-utils
- xorg-x11-font-utils
- xorg-x11-server-Xorg
- xorg-x11-glamor
- xorg-x11-xinit
- xorg-x11-utils
- xorg-x11-xauth
- xorg-x11-proto-devel
- xorg-x11-xkb-utils
when: ansible_os_family == 'RedHat'
- name: install development tools - name: install development tools
yum: name="@Development Tools" state=installed yum: name="@Development Tools" state=installed
become: true become: true
......
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