try scheduling nightly deploys for test env with CircleCI config

This commit is contained in:
dandds
2018-11-30 11:32:14 -05:00
parent 23294b2e2b
commit b54e3147c3
2 changed files with 39 additions and 5 deletions

View File

@@ -195,6 +195,19 @@ jobs:
name: "Update Kubernetes Deployment"
command: ./deploy/kubernetes/atst-update-deploy.sh
deploy_test:
docker:
- image: *sourceImage
auth: *sourceAuth
environment: *dockerCmdEnvironment
working_directory: *workingDirectory
steps:
- attach_workspace:
at: .
- run:
name: "Update Kubernetes Deployment"
command: ./deploy/kubernetes/atst-update-deploy.sh atat-test
workflows:
version: 2
run-tests:
@@ -215,3 +228,18 @@ workflows:
filters:
branches:
only: master
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- deploy_test:
requires:
- build_and_push_image
filters:
branches:
only: master