Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge standard makefile updates #24

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ REQUIREMENTS = requirements.yml
all: install version lint test

test: lint
poetry run molecule test -s ${MOLECULE_SCENARIO}
poetry run molecule $@ -s ${MOLECULE_SCENARIO}

install:
@type poetry >/dev/null || pip3 install poetry
Expand All @@ -36,8 +36,11 @@ requirements: roles collections
dependency create prepare converge idempotence side-effect verify destroy login reset:
MOLECULE_DOCKER_IMAGE=${MOLECULE_DOCKER_IMAGE} poetry run molecule $@ -s ${MOLECULE_SCENARIO}

ignore:
poetry run ansible-lint --generate-ignore

clean: destroy reset
poetry env remove $$(which python)
@poetry env remove $$(which python) >/dev/null 2>&1 || exit 0

publish:
@echo publishing repository ${GITHUB_REPOSITORY}
Expand All @@ -51,3 +54,4 @@ version:

debug: version
@poetry export --dev --without-hashes
sudo ufw status