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

formatting fix and removed clean state from cicd

parent abef5486
No related branches found
No related tags found
1 merge request!293Ubuntu
......@@ -16,7 +16,7 @@ stages:
- push_button_spawn_cluster
# - e2e
- tests
- clean # manually delete stack
# - clean # manually delete stack
......@@ -206,15 +206,15 @@ extended:
variables:
- $EXTENDED != null
clean:
stage: clean
tags:
- heat
before_script:
- echo "cleanup stack"
- sleep 30
- echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
script:
- source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
#clean:
# stage: clean
# tags:
# - heat
# before_script:
# - echo "cleanup stack"
# - sleep 30
# - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
# script:
# - source ./$NECTAR_ALLOCATION-openrc.sh
# - bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
#when: manual
......@@ -27,6 +27,52 @@
- xorg-x11-xkb-utils
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
yum: name="@Development Tools" state=installed
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