Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
compute Clarify API authentication error, fixes #368 (#688) Feb 22, 2019
test_data OVF importer (#710) Mar 18, 2019
README.md fix test config/testgrid links (#667) Feb 5, 2019
common.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
common_test.go test runner: Add CustomProjectLock (#459) Jun 26, 2018
disk.go Use debian worker image for import/export workflows (#507) Aug 14, 2018
disk_test.go Cloud Logging - test permissions when creating client. (#381) Apr 23, 2018
disktype.go Allow foo.com:bar project naming (#167) Sep 22, 2017
error.go Images in state of OBSOLETE or DELETED still exist, use new typed err… Jan 19, 2018
error_test.go Daisy: moving resource registries into Workflow struct. (#287) Jan 18, 2018
firewall_rule.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
forwarding_rule.go Network integration image test (#434) Jun 15, 2018
image.go Ignoring license validation errors (#740) Apr 5, 2019
image_test.go Fix tests b/c of GCS/GCE api library update (#548) Sep 24, 2018
instance.go Daisy: removed the check for network being in the same project to sup… Jul 8, 2019
instance_test.go Fix tests b/c of GCS/GCE api library update (#548) Sep 24, 2018
license.go Changing daisy internal errors to dErrs. (#250) Nov 29, 2017
logger.go daisy: dont use logger until it is instantiated (#444) Jun 13, 2018
logger_test.go Add daisy_test_runner tool (#439) Jun 8, 2018
machinetype.go Changing daisy internal errors to dErrs. (#250) Nov 29, 2017
network.go daisy: Allow 3 different settings for network.autoCreateSubnetworks (#… Oct 26, 2018
network_test.go daisy: Allow 3 different settings for network.autoCreateSubnetworks (#… Oct 26, 2018
project.go Changing daisy internal errors to dErrs. (#250) Nov 29, 2017
region.go Network integration image test (#434) Jun 15, 2018
resource.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
resource_registry.go Fix disk integration test (#460) Jun 27, 2018
resource_registry_test.go Fix disk integration test (#460) Jun 27, 2018
resource_test.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
sources.go Use debian worker image for import/export workflows (#507) Aug 14, 2018
sources_test.go
step.go [daisy] a new param "print_perf" to show perf statistics on console (#… Jun 28, 2019
step_attach_disk_test.go Daisy: Fix AttachDisks test error (#322) Feb 5, 2018
step_attach_disks.go Daisy: Add resize and detach disk steps (#476) Jul 12, 2018
step_copy_gcs_objects.go daisy: Add -format flag to daisy to format json workflow files (#461) Jun 27, 2018
step_copy_gcs_objects_test.go
step_create_disks.go Use debian worker image for import/export workflows (#507) Aug 14, 2018
step_create_disks_test.go Daisy: moving resource registries into Workflow struct. (#287) Jan 18, 2018
step_create_firewall_rule.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
step_create_firewall_rule_test.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
step_create_forwarding_rule.go Network integration image test (#434) Jun 15, 2018
step_create_forwarding_rule_test.go
step_create_images.go
step_create_images_test.go Daisy: moving resource registries into Workflow struct. (#287) Jan 18, 2018
step_create_instances.go [Osconfig Agent] Preserve test run logs (#755) May 8, 2019
step_create_instances_test.go Daisy: allow only setting subnetworks in instance create (#480) Jul 18, 2018
step_create_networks.go Add daisy_test_runner tool (#439) Jun 8, 2018
step_create_networks_test.go Add basic Cloud Logging support. (#380) Apr 20, 2018
step_create_subnetworks.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
step_create_subnetworks_test.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
step_create_target_instance.go
step_create_target_instance_test.go Network integration image test (#434) Jun 15, 2018
step_delete_resources.go Separate metadata script tests, add windows specialize scripts (#525) Sep 4, 2018
step_delete_resources_test.go
step_deprecate_images.go Add daisy_test_runner tool (#439) Jun 8, 2018
step_deprecate_images_test.go Daisy: moving resource registries into Workflow struct. (#287) Jan 18, 2018
step_detach_disk_test.go Daisy: Add resize and detach disk steps (#476) Jul 12, 2018
step_detach_disks.go Daisy: Add resize and detach disk steps (#476) Jul 12, 2018
step_includeworkflow.go OVF importer (#710) Mar 18, 2019
step_includeworkflow_test.go Daisy: Use step timeout as default timeout for sub/include workflows (#… May 7, 2018
step_resize_disks.go Daisy: Add resize and detach disk steps (#476) Jul 12, 2018
step_resize_disks_test.go Daisy: Add resize and detach disk steps (#476) Jul 12, 2018
step_start_instances.go Fix disk integration test (#460) Jun 27, 2018
step_start_instances_test.go Fix disk integration test (#460) Jun 27, 2018
step_stop_instances.go image tests: Metadata script integration test (#450) Jun 19, 2018
step_stop_instances_test.go daisy: Add StopStep (#397) May 22, 2018
step_sub_workflow.go daisy: don't cancel workflow on subworkflow completion (#570) Oct 29, 2018
step_sub_workflow_test.go Daisy: Use step timeout as default timeout for sub/include workflows (#… May 7, 2018
step_test.go Fix disk integration test (#460) Jun 27, 2018
step_wait_for_instances_signal.go Support for multiple failure matches in Daisy. (#846) Jul 2, 2019
step_wait_for_instances_signal_test.go Support for multiple failure matches in Daisy. (#846) Jul 2, 2019
storage.go Changing daisy internal errors to dErrs. (#250) Nov 29, 2017
storage_test.go
subnetwork.go Use debian worker image for import/export workflows (#507) Aug 14, 2018
subnetwork_test.go
target_instance.go Improve multi nic test by creating networks on daisy (#467) Jul 11, 2018
test_common_test.go Fix tests b/c of GCS/GCE api library update (#548) Sep 24, 2018
validate.go Daisy: Fixup cloud logging (#385) Apr 27, 2018
validate_test.go Add basic Cloud Logging support. (#380) Apr 20, 2018
workflow.go [daisy] a new param "print_perf" to show perf statistics on console (#… Jun 28, 2019
workflow_test.go Fix gofmt and update gocheck to be less verbose Oct 23, 2018
zone.go Changing daisy internal errors to dErrs. (#250) Nov 29, 2017

README.md

What is Daisy?

Daisy is a solution for running multi-step workflows on GCE.

GoDoc

The current Daisy stepset includes support for creating/deleting GCE resources, waiting for signals from GCE VMs, streaming GCE VM logs, uploading local files to GCE and GCE VMs, and more.

For example, Daisy is used to create Google Official Guest OS images. The workflow:

  1. Creates a Debian 8 disk and another empty disk.
  2. Creates and boots a VM with the two disks.
  3. Runs and waits for a script on the VM.
  4. Creates an image from the previously empty disk.
  5. Automatically cleans up the VM and disks.

Other use-case examples:

  • Workflows for importing external physical or virtual disks to GCE.
  • GCE environment deployment.
  • Ad hoc GCE testing environment deployment and test running.

Documentation

Daisy documentation can be found here.

Testing

Infrastructure has been set up to perform presubmit testing on PRs and periodic continuous integration tests against HEAD.

Presubmit checks unit tests, golint, go fmt, and go vet against PRs with changes to Daisy source code. Unit test coverage is reported to codecov.io, which posts coverage reports on the PR. Presubmit tests are gated by repo owners. Repo owners have the following commands available on a PR:

  • /go test: runs unit tests and reports coverage.
  • /golint: runs golint.
  • /go fmt: runs go fmt.
  • /go vet: runs go vet.
  • /ok-to-test: gives Prow the go-ahead to run the entire suite automatically.
  • /retest: reruns failed tests, only available after Prow reports failures.

Periodic tests run every 6 hours. Currently, periodic tests include the e2e tests here: ../test-infra/prow/config.yaml. You can see the test results for the e2e tests in testgrid: [https://k8s-testgrid.appspot.com/google-gce-compute-image-tools#ci-daisy-e2e].

You can’t perform that action at this time.