Skip to content

Commit

Permalink
add .PHONY to quick-test in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Jan 9, 2024
1 parent 9d0f739 commit 38d96b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $(PLUGIN_DIR): *.go Dockerfile
docker rm -vf tmp

# Provision a test environment for docker-volume-linode using Ansible.
.PHONY: quick-test
quick-test:
ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook -v --extra-vars "ssh_pubkey_path=${QUICKTEST_SSH_PUBKEY} skip_tests=${QUICKTEST_SKIP_TESTS}" quick-test/deploy.yml

Expand Down
3 changes: 3 additions & 0 deletions quick-test/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
label: "{{ temp_token_name }}"
state: absent

- set_fact:
ssh_pubkey: '{{ lookup("file", ssh_pubkey_path) }}'

- name: Create a temporary token for the plugin to consume
linode.cloud.token:
label: "{{ temp_token_name }}"
Expand Down

0 comments on commit 38d96b7

Please sign in to comment.