Skip to content

Commit 16005e4

Browse files
committed
Add CLOUDSTACK_TEMPLATE_URL for testacc github workflow
1 parent 6f3fe7c commit 16005e4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/testacc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
6666
echo "CLOUDSTACK_API_KEY=$CLOUDSTACK_API_KEY" >> $GITHUB_ENV
6767
echo "CLOUDSTACK_SECRET_KEY=$CLOUDSTACK_SECRET_KEY" >> $GITHUB_ENV
68+
echo "CLOUDSTACK_TEMPLATE_URL=http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-xen.vhd.bz2" >> $GITHUB_ENV
6869
- name: Install CMK
6970
run: |
7071
curl -sfL https://github.com/apache/cloudstack-cloudmonkey/releases/download/6.3.0/cmk.linux.x86-64 -o /usr/local/bin/cmk

cloudstack/resource_cloudstack_template_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func testAccCheckCloudStackTemplateDestroy(s *terraform.State) error {
189189
var testAccCloudStackTemplate_basic = fmt.Sprintf(`
190190
resource "cloudstack_template" "foo" {
191191
name = "terraform-test"
192-
format = "QCOW2"
192+
format = "VHD"
193193
hypervisor = "Simulator"
194194
os_type = "Centos 5.6 (64-bit)"
195195
url = "%s"
@@ -203,7 +203,7 @@ var testAccCloudStackTemplate_update = fmt.Sprintf(`
203203
resource "cloudstack_template" "foo" {
204204
name = "terraform-test"
205205
display_text = "terraform-updated"
206-
format = "QCOW2"
206+
format = "VHD"
207207
hypervisor = "Simulator"
208208
os_type = "Centos 5.6 (64-bit)"
209209
url = "%s"

0 commit comments

Comments
 (0)