Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.61 KB

neco-test.md

File metadata and controls

51 lines (32 loc) · 1.61 KB

Behavior of the neco-test GCP project

Overview

workflow

Test environment for dctest and multi host test of other github Neco projects are provisioned by GCE. All resources are in neco-test GCP project. Instance name is called by CircleCI which is based on vmx-enabled instance image.

GAE app

/shutdown for neco-test project does:

  • If instances have shutdown-at metadata and exceed that timestamp, delete them.
  • If instances do not have shutdown-at metadata and run longer than configured lifetime (app.shutdown.expiration), delete them.

Cron is scheduled to run above actions every 5 minutes.

Usage

Edit Configuration file for neco-test

Edit config.go

Update vmx-enabled installed packages for neco-test

Edit artifacts.go

Deploy Cloud Functions app

make -f Makefile.instancedel init

Create or Update vmx-enabled image for neco-test

necogcp neco-test create-image

Extend 2 hours from now to prevent auto deletion

necogcp neco-test extend INSTANCE_NAME