Skip to content

Commit

Permalink
Merge pull request #21 from shanemcd/cleanup-cleanup
Browse files Browse the repository at this point in the history
Regenerate build context with ansible-builder 0.5.1

Reviewed-by: https://github.com/apps/ansible-zuul
  • Loading branch information
ansible-zuul[bot] authored Dec 22, 2020
2 parents 3c94d6c + f677bf1 commit a4dbae5
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 37 deletions.
10 changes: 5 additions & 5 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM quay.io/ansible/ansible-runner:devel as galaxy

ADD requirements.yml /build/
ADD _build/requirements.yml /build/_build/requirements.yml

RUN ansible-galaxy role install -r /build/requirements.yml --roles-path /usr/share/ansible/roles
RUN ansible-galaxy collection install -r /build/requirements.yml --collections-path /usr/share/ansible/collections
RUN ansible-galaxy role install -r /build/_build/requirements.yml --roles-path /usr/share/ansible/roles
RUN ansible-galaxy collection install -r /build/_build/requirements.yml --collections-path /usr/share/ansible/collections

RUN mkdir -p /usr/share/ansible/roles /usr/share/ansible/collections

FROM quay.io/ansible/python-builder:latest as builder

ADD requirements_combined.txt /tmp/src/requirements.txt
ADD bindep_combined.txt /tmp/src/bindep.txt
ADD _build/requirements_combined.txt /tmp/src/requirements.txt
ADD _build/bindep_combined.txt /tmp/src/bindep.txt
RUN assemble

FROM quay.io/ansible/ansible-runner:devel
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions bindep_output.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
version: 1
dependencies:
galaxy: requirements.yaml
system: bindep.txt
galaxy: _build/requirements.yml
system: _build/bindep.txt
additional_build_steps:
append:
- RUN alternatives --set python /usr/bin/python3
22 changes: 0 additions & 22 deletions tools/requirements.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ whitelist_external =
true
commands =
/bin/bash -c "podman rmi quay.io/ansible/awx-ee:latest || true"
ansible-builder build -v3 -c . -f tools/execution-environment.yaml -t quay.io/ansible/awx-ee
ansible-builder build -v3 -c . -t quay.io/ansible/awx-ee

[testenv:ansible-builder]
passenv =
Expand Down

0 comments on commit a4dbae5

Please sign in to comment.