zuul-config/playbooks/CI-setup/presetup.yaml

19 lines
499 B
YAML

---
- hosts: all
tasks:
- name: Run Kata CI setup
args:
executable: /bin/bash
chdir: "{{ zuul.project.src_dir }}"
shell: |
set -x
# set a ${WORKSPACE}, so we look enough like a Jenkins env that
# the Kata ci script will execute
export WORKSPACE=$HOME
export GOPATH=$HOME/go
export CI=true
export ZUUL=true
export PATH=${GOPATH}/bin:/usr/sbin:$PATH
.ci/install_go.sh -p -f
.ci/setup.sh