diff options
| -rwxr-xr-x | deploy-dev-env.sh | 10 | ||||
| -rw-r--r-- | jjb/yaml/deploy-dev-env.yaml | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/deploy-dev-env.sh b/deploy-dev-env.sh new file mode 100755 index 0000000..af5b87e --- /dev/null +++ b/deploy-dev-env.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +buildroot="$(pwd)" + +pushd ${buildroot}/conf +cp ${HOME}/env.yaml.openbook.example env.yaml.openbook +rm -f env.yaml +ln -s env.yaml.openbook env.yaml +popd +ansible-playbook -i inventory_json.rb openbook_installer.yaml diff --git a/jjb/yaml/deploy-dev-env.yaml b/jjb/yaml/deploy-dev-env.yaml new file mode 100644 index 0000000..4bd3198 --- /dev/null +++ b/jjb/yaml/deploy-dev-env.yaml @@ -0,0 +1,23 @@ +--- +- job: + name: deploy-dev-env + display-name: "deploy-dev-env" + project-type: freestyle + description: "Uses the ansible playbook that was generated by the build-docker-containers job to deploy Openbook onto the development cluster." + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + artifact-num-to-keep: 0 + triggers: + - timed: "H 1 * * *" + scm: + - git: + url: git@github.com:Talligent/openbook-v4-installer.git + branches: + - master + builders: + - shell: | + ./deploy-dev-env.sh |
