forked from GoogleCloudPlatform/compute-image-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a new workflow with tests that can be run in parallel (without oslogin). Add entries in prow to execute this workflow for: centos_6 centos_7 debian_8 debian_9 rhel_6 rhel_7 sles_12 ubuntu_1404 ubuntu_1604 ubuntu_1804
- Loading branch information
1 parent
d22600b
commit 1b620ad
Showing
11 changed files
with
230 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "centos-6-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/centos-cloud/global/images/family/centos-6" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "centos-7-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/centos-cloud/global/images/family/centos-7" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "debian-8-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/debian-cloud/global/images/family/debian-8" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "debian-9-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/debian-cloud/global/images/family/debian-9" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "rhel-6-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/rhel-cloud/global/images/family/rhel-6" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "rhel-7-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/rhel-cloud/global/images/family/rhel-7" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "sles-12-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/suse-cloud/global/images/family/sles-12" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
daisy_workflows/e2e_tests/ubuntu_1404_lts_img_test_ind.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "ubuntu-1404-lts-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/ubuntu-os-cloud/global/images/family/ubuntu-1404-lts" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
daisy_workflows/e2e_tests/ubuntu_1604_lts_img_test_ind.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "ubuntu-1604-lts-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/ubuntu-os-cloud/global/images/family/ubuntu-1604-lts" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
daisy_workflows/e2e_tests/ubuntu_1804_lts_img_test_ind.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Name": "ubuntu-1804-lts-img-test-ind", | ||
"Vars": { | ||
"source_image": "projects/ubuntu-os-cloud/global/images/family/ubuntu-1804-lts" | ||
}, | ||
"Steps": { | ||
"test-img-ind": { | ||
"Timeout": "30m", | ||
"IncludeWorkflow": { | ||
"Path": "../image_test/img_test_independent.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"Name": "img-test-independent", | ||
"Vars": { | ||
"source_image": {"Required": true, "Description": "Image to be tested"} | ||
}, | ||
"Steps": { | ||
"test-boot-f1-micro": { | ||
"SubWorkflow": { | ||
"Path": "./boot/boot.wf.json", | ||
"Vars": { | ||
"machine_type": "f1-micro", | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
}, | ||
"test-boot-g1-small": { | ||
"SubWorkflow": { | ||
"Path": "./boot/boot.wf.json", | ||
"Vars": { | ||
"machine_type": "g1-small", | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
}, | ||
"test-boot-n1-highcpu-64": { | ||
"SubWorkflow": { | ||
"Path": "./boot/boot.wf.json", | ||
"Vars": { | ||
"machine_type": "n1-highmem-64", | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
}, | ||
"test-boot-n1-highcpu-64": { | ||
"SubWorkflow": { | ||
"Path": "./boot/boot.wf.json", | ||
"Vars": { | ||
"machine_type": "n1-highcpu-64", | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
}, | ||
"test-metadata-ssh": { | ||
"SubWorkflow": { | ||
"Path": "./metadata-ssh/metadata-ssh.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
}, | ||
"test-configuration": { | ||
"SubWorkflow": { | ||
"Path": "./configuration/configuration.wf.json", | ||
"Vars": { | ||
"source_image": "${source_image}" | ||
} | ||
} | ||
} | ||
} | ||
} |