Skip to content

Commit

Permalink
Merge pull request #1 from genesis-community/feature/smoke-tests
Browse files Browse the repository at this point in the history
test: add smoke tests
  • Loading branch information
ess authored May 24, 2022
2 parents 13d940d + d8785de commit 5395a53
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions manifests/scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ params:
deployment_type: cf # for crazy people using an non-"cf" cf deployment name
core_network: (( vault meta.cf.exodus ":core_network" ))
system_domain: (( vault meta.cf.exodus ":system_domain" ))
system_org: (( vault meta.cf.exodus ":system_org" ))
system_space: (( vault meta.cf.exodus ":system_space" ))
username: (( vault meta.cf.exodus ":system_username" ))
password: (( vault meta.cf.exodus ":system_password" ))
network: (( grab params.cf.core_network ))
nats:
client_cert: (( vault meta.cf.exodus ":nats_client_cert" ))
Expand Down Expand Up @@ -72,6 +76,26 @@ instance_groups:
as: scheduler-postgres
release: postgres

- name: smoke-tests
instances: 1
azs: (( grab params.availability_zones || meta.default.azs ))
stemcell: default
networks:
- name: (( grab params.network || "default" ))
vm_type: (( grab params.vm_type || "default" ))
lifecycle: errand

jobs:
- name: smoke-tests
release: scheduler-boshrelease
properties:
cf:
username: (( grab params.cf.username ))
password: (( grab params.cf.password ))
api: (( concat "https://api." params.cf.system_domain ))
organization: (( grab params.cf.system_org ))
space: (( grab params.cf.system_space ))

update:
serial: false
canaries: 1
Expand Down

0 comments on commit 5395a53

Please sign in to comment.