Merge "Improve kata-runsh job"

This commit is contained in:
Zuul 2018-06-16 14:29:42 +00:00 committed by Gerrit Code Review
commit c9a19d564f
3 changed files with 34 additions and 4 deletions

View File

@ -1,6 +1,30 @@
- hosts: all
tasks:
- name: Install build-essential
package:
name: build-essential
state: present
become: yes
- name: Install golang
package:
name: golang-1.10
state: present
become: yes
- name: Make sure sources.list.d exists
file:
path: /etc/apt/sources.list.d
owner: root
group: root
mode: 0755
state: directory
become: yes
- name: Run kata setup.sh
args:
executable: /bin/bash
chdir: "{{ zuul.project.src_dir }}"
command: ".ci/setup.sh"
shell: |
set -x
export PATH=$PATH:/usr/lib/go-1.10/bin
export CI=true
export GOPATH=$HOME
.ci/setup.sh

View File

@ -2,5 +2,11 @@
tasks:
- name: Run kata run.sh
args:
executable: /bin/bash
chdir: "{{ zuul.project.src_dir }}"
command: ".ci/run.sh"
shell: |
set -x
export PATH=$PATH:/usr/lib/go-1.10/bin
export CI=true
export GOPATH=$HOME
.ci/run.sh

View File

@ -1452,5 +1452,5 @@
timeout: 3600
nodeset:
nodes:
- name: ubuntu-bionic
label: ubuntu-bionic-vexxhost
- name: ubuntu-xenial
label: ubuntu-xenial-vexxhost