This repository has been archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '17-m2m-project-deployment'
- Loading branch information
Showing
26 changed files
with
1,098 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
|
||
# A developer-specific project deployment. | ||
# | ||
# This re-uses the production playbook with key variables set | ||
# to create a new project that has its own database | ||
# (without running backups) and uses the main graph database. | ||
# | ||
# Variables defined here replace any production role defaults. | ||
|
||
- hosts: localhost | ||
gather_facts: No | ||
|
||
vars: | ||
namespace: fragalysis-m2ms | ||
namespace_display_name: "Fragalysis (Development-M2MS)" | ||
namespace_description: "The Fragalysis Project (Development-M2MS)" | ||
input_vol_name: fs-m2ms-input | ||
web_hostname: fragalysis-m2ms.apps.xchem.diamond.ac.uk | ||
|
||
backup_deploy: no | ||
|
||
mysql_name: mysql | ||
|
||
wait_for_mysql: yes | ||
web_name: web | ||
web_image_tag: latest | ||
|
||
roles: | ||
- fragalysis-stack-prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../roles |
15 changes: 15 additions & 0 deletions
15
ansible/playbooks/fragalysis-stack-prod-m2ms/undeploy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
|
||
- hosts: localhost | ||
gather_facts: No | ||
|
||
vars: | ||
namespace: fragalysis-m2ms | ||
deploy_backup: no | ||
input_vol_name: fs-m2ms-input | ||
|
||
tasks: | ||
- name: Run the Fragalysis Undeploy Tasks | ||
include_role: | ||
name: fragalysis-stack-prod | ||
tasks_from: fs-p-undeploy.yaml |
Oops, something went wrong.