Skip to content
Snippets Groups Projects
Commit 7835556a authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

fix(Makefile): allow to run acceptance tests

parent bb8333f3
No related branches found
No related tags found
No related merge requests found
Pipeline #80839 passed
RUBY_VERSION='3.2.0'
OS_VERSION_1=ubuntu2204-64
install: clean bundle_install ## Clean + Install dependencies install: clean bundle_install ## Clean + Install dependencies
.PHONY: bundle_install .PHONY: bundle_install
...@@ -34,15 +37,14 @@ unit_tests: bundle_install ## Run unit tests ...@@ -34,15 +37,14 @@ unit_tests: bundle_install ## Run unit tests
bundle exec rake parallel_spec bundle exec rake parallel_spec
.PHONY: linter .PHONY: linter
acceptance_tests: bundle_install ## Run acceptance tests ---> FIXME acceptance_tests: bundle_install ## Run acceptance tests
RUBY_VERSION='3.2.0' \
RBENV_VERSION=${RUBY_VERSION} \ RBENV_VERSION=${RUBY_VERSION} \
PUPPET_INSTALL_TYPE=agent \ PUPPET_INSTALL_TYPE=agent \
BEAKER_IS_PE='no' \ BEAKER_IS_PE='no' \
BEAKER_PUPPET_COLLECTION=puppet7 \ BEAKER_PUPPET_COLLECTION=puppet7 \
BEAKER_debug='true' \ BEAKER_debug='true' \
BEAKER_HYPERVISOR=docker \ BEAKER_HYPERVISOR=docker \
BEAKER_setfile="myhostname{hostname=comptoir.example.com}" \ BEAKER_setfile="${OS_VERSION_1}{hostname=comptoir.example.com}" \
bundle exec rake beaker bundle exec rake beaker
.PHONY: acceptance_tests .PHONY: acceptance_tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment