diff --git a/.travis.yml b/.travis.yml index f782ae58..886c1c1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,7 +54,6 @@ before_script: - sudo mount --make-rshared / - bash -x ci/ci/extra/get-kubevirt-releases - - bash -x ci/prepare-host $CPLATFORM - bash -x ci/prepare-host virtctl - bash -x ci/start-cluster $CPLATFORM $CVER diff --git a/build/Dockerfile b/build/Dockerfile index 927f6231..bc89c87e 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,7 +1,11 @@ -FROM quay.io/operator-framework/ansible-operator:v0.15.2 +FROM quay.io/operator-framework/ansible-operator:v0.16.0 LABEL org.kubevirt.hco.csv-generator.v1="/usr/bin/csv-generator" +COPY requirements.yml ${HOME}/requirements.yml +RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \ + && chmod -R ug+rwx ${HOME}/.ansible + COPY roles/ ${HOME}/roles/ COPY playbooks/ ${HOME}/ COPY watches.yaml ${HOME}/watches.yaml diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 00000000..82fe5aa7 --- /dev/null +++ b/requirements.yml @@ -0,0 +1,2 @@ +collections: + - operator_sdk.util