ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
137 stars 161 forks source link

Regenerate build context using https://github.com/ansible/ansible-builder/pull/157 #13

Closed shanemcd closed 3 years ago

shanemcd commented 3 years ago

Depends-On: https://github.com/ansible/ansible-builder/pull/157

AlanCoding commented 3 years ago

looks like Zuul was using the requirements file


2020-12-16 01:51:00.035235 \| ubuntu-bionic \| setting PATH=/home/zuul/src/github.com/ansible/awx-ee/.tox/ansible-builder/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
--
944 | 2020-12-16 01:51:00.037161 \| ubuntu-bionic \|   /home/zuul/src/github.com/ansible/awx-ee/.tox$ /usr/bin/python3 -m virtualenv --python /usr/bin/python3 ansible-builder >/home/zuul/src/github.com/ansible/awx-ee/.tox/ansible-builder/log/ansible-builder-0.log
945 | 2020-12-16 01:51:05.599657 \| ubuntu-bionic \| ansible-builder installdeps: -r/home/zuul/src/github.com/ansible/awx-ee/requirements.txt
946 | 2020-12-16 01:51:05.599795 \| ubuntu-bionic \| setting PATH=/home/zuul/src/github.com/ansible/awx-ee/.tox/ansible-builder/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
947 | 2020-12-16 01:51:05.600636 \| ubuntu-bionic \|   /home/zuul/src/github.com/ansible/awx-ee$ /home/zuul/src/github.com/ansible/awx-ee/.tox/ansible-builder/bin/pip install -r/home/zuul/src/github.com/ansible/awx-ee/requirements.txt
948 | 2020-12-16 01:51:06.059520 \| ubuntu-bionic \| ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/home/zuul/src/github.com/ansible/awx-ee/requirements.txt'

So if these are requirements to build, is an empty file sufficient?

pabelanger commented 3 years ago

recheck

pabelanger commented 3 years ago

This is failing, because we are using the 'released' version of ansible-builder, but this content was generated using newer version. I am working on a fix for that now, so we can use depends-on for ansible-builder too.

AlanCoding commented 3 years ago

sources -> _build