Skip to content

Commit

Permalink
Add build target to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Ondra Machacek <omachace@redhat.com>
  • Loading branch information
machacekondra authored and bardielle committed Apr 4, 2024
1 parent 4207de8 commit 3c0567c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
context/
/tests/output/
/changelogs/.plugin-cache.yaml
execution-environment/context/
Expand Down
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
QUAY_USER ?= vmware_ops
QUAY_TAG ?= latest

.PHONY: install-python-packages
install-python-packages:
pip3 install -r tests/integration/requirements.txt
Expand All @@ -9,3 +12,11 @@ install-ansible-collections:
.PHONY: integration
integration: install-python-packages install-ansible-collections
ansible-test integration --no-temp-workdir

.PHONY: ee-clean
ee-clean:
rm -rf context/

.PHONY: ee-build
ee-build: ee-clean
ansible-builder build -f execution-environment/execution-environment.yml -t quay.io/${QUAY_USER}/vmware:${QUAY_TAG} -v3

0 comments on commit 3c0567c

Please sign in to comment.