Skip to content

Commit

Permalink
Makefile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Jun 3, 2024
1 parent 28eea07 commit ddc46f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@ unittest:

create-integration-config:
ifneq ("${LINODE_TOKEN}", "")
@echo "api_token: ${LINODE_TOKEN}" > $(INTEGRATION_CONFIG);
touch $INTEGRATION_CONFIG
@echo "api_token: ${LINODE_TOKEN}" >> $(INTEGRATION_CONFIG);
ansible-playbook scripts/create_e2e_cloud_firewall.yaml
else ifneq ("${LINODE_API_TOKEN}", "")
@echo "api_token: ${LINODE_API_TOKEN}" > $(INTEGRATION_CONFIG);
touch $INTEGRATION_CONFIG
@echo "api_token: ${LINODE_API_TOKEN}" >> $(INTEGRATION_CONFIG);
ansible-playbook scripts/create_e2e_cloud_firewall.yaml
else
echo "LINODE_API_TOKEN must be set"; \
exit 1;
Expand Down

0 comments on commit ddc46f9

Please sign in to comment.