Commit Graph

896 Commits

Author SHA1 Message Date
Ben Partridge
bf2fcca449 DCD-880: Add playbook to run the backup role 2020-01-03 14:23:35 +11:00
Ben Partridge
60c51da160 DCD-880: stop product service and run slingshot in backup playbook 2020-01-03 13:58:26 +11:00
Ben Partridge
5d543b3f0c DCD-880: Install postgresql as part of slingshot backup 2020-01-03 13:32:27 +11:00
Ben Partridge
58692b2843 DCD-880: Variablify create_backups tasks 2020-01-03 12:04:40 +11:00
Ben Partridge
7f715f409c DCD-880: Add task to install atlassian-slingshot on ubuntu 2020-01-03 11:51:26 +11:00
Ben Partridge
e7de5baff7 DCD-880: Create role to run slingshot and implement task to install
slingshot on amazon linux
2020-01-03 11:33:54 +11:00
Brett Meehan
051afc7c09 Merged in bugfix/ITOPSENG-101-3-bugfix-for-clones (pull request #63)
Bugfix/ITOPSENG-101 3 bugfix for clones

Approved-by: Ben Partridge <bpartridge@atlassian.com>
2020-01-02 01:53:30 +00:00
Brett Meehan
d7757d68b4 ITOPSENG-101 comment detail about noqa 503 2020-01-02 12:39:23 +11:00
Brett Meehan
04046cc105 Merge branch 'master' into bugfix/ITOPSENG-101-3-bugfix-for-clones 2019-12-31 13:33:31 +11:00
Varun Arbatti
20a9c08979 Merged in DCD-797-restore_independent-of_db_init_role (pull request #61)
DCD-797: Make restore work without requiring database_init role to be run

* DCD-797: Make restore work without requiring database_init role to be run

* DCD-797: Fixes error with yaml lint

* DCD-797: Adds  check before running restore database tasks

* DCD-797: Restore a database when either db_creted.changed is true or when `atl_force_db_restore` variable is set to true

* DCD-797: set default filter to return a default value when the argument is a python false-y value. Update readme to reflect name of extra var env variable

Approved-by: Ben Partridge <bpartridge@atlassian.com>
Approved-by: Steve Smith <ssmith@atlassian.com>
2019-12-31 00:37:50 +00:00
Ben Partridge
60a2fc738b Merged in DCD-879-fix-no-server-home-crash-restore (pull request #62)
DCD-879: Add default(false) for serverHome property of shared home manifest artifact

Approved-by: Steve Smith
Approved-by: Varun Arbatti
2019-12-31 00:29:34 +00:00
Ben Partridge
d3774a338e DCD-879: add "set empty" parameter to default filter for
atl_backup_home_is_server and a filter to set is as a bool
2019-12-31 11:18:04 +11:00
Ben Partridge
aabbc4dfed DCD-879: Add default(false) for serverHome property of shared home manifest artifact 2019-12-30 15:22:11 +11:00
Steve Smith
f6644a57da Merged in DCD-861-optimise-home-restore (pull request #60)
DCD-861: Use native tar rather than unarchive to avoid unnecessary idempotence checks with large archives.

Approved-by: Ben Partridge <bpartridge@atlassian.com>
Approved-by: Varun Arbatti <varbatti@atlassian.com>
2019-12-17 03:18:11 +00:00
Steve Smith
b17ec2d236 DCD-861: Use native tar rather than unarchive to avoid unnecessary idempotence checks with large archives. 2019-12-17 12:02:52 +11:00
Brett Meehan
a8ac216a99 Merged in bugfix/ITOPSENG-333-dont-create-db-if-exists (pull request #59)
ITOPSENG-333 prevent db_create if db already exists

Approved-by: Geoff Jacobs <gjacobs@atlassian.com>
Approved-by: Ben Partridge <bpartridge@atlassian.com>
2019-12-16 04:04:28 +00:00
Brett Meehan
afb9527871 ITOPSENG-333 put comment in code to explain the need for skipping db_create 2019-12-16 14:25:24 +11:00
Brett Meehan
3ab863d55e ITOPSENG-333 prevent db_create if db already exists 2019-12-16 09:37:39 +11:00
Brett Meehan
3484d422c8 Merged in bugfix/ITOPSENG-277-itops-required-changes-for-confluence (pull request #58)
ITOPSENG-277 fix schema owner and grant logic

Approved-by: Ben Partridge <bpartridge@atlassian.com>
2019-12-10 23:59:02 +00:00
Brett Meehan
6e20e92a76 ITOPSENG-277 fix schema owner and grant logic 2019-12-10 17:40:29 +11:00
Brett Meehan
5936cb0409 Merged in feature/ITOPSENG-277-itops-required-changes-for-confluence (pull request #57)
Feature/ITOPSENG-277 itops required changes for confluence

Approved-by: Ben Partridge <bpartridge@atlassian.com>
2019-12-10 00:49:46 +00:00
Brett Meehan
cf183913ba ITOPSENG-277 have the schema fixes applied against atl_db_root_db_name 2019-12-10 11:20:25 +11:00
Brett Meehan
dff012fc8d ITOPSENG-277 split base_url query over 2 lines to pass linting 2019-12-10 10:44:59 +11:00
Brett Meehan
4824fe53cb ITOPSENG-277 remove proxyname and scheme from confluence playbook as they are in group_vars 2019-12-10 10:29:26 +11:00
Brett Meehan
eb83a768c3 ITOPSENG-277 managed to get the column name unquoted by removing it from positional args 2019-12-10 09:45:24 +11:00
Brett Meehan
94c8c6a92e ITOPSENG-277 messing qith quotes 2019-12-10 08:02:03 +11:00
Brett Meehan
0739a67b8d ITOPSENG-277 ensure the schema perms are set witht he right vars 2019-12-09 17:29:37 +11:00
Brett Meehan
643eb1a46e ITOPSENG-277 do the lookups for proxy and scheme and ensure the schema perms are good 2019-12-09 17:23:09 +11:00
Brett Meehan
4d19d1d865 ITOPSENG-277 remove duplicate url arg 2019-12-05 16:29:35 +11:00
Brett Meehan
7ff68f61c7 ITOPSENG-277 restore testing of proxy and port 2019-12-05 16:23:53 +11:00
Brett Meehan
090b7a0a74 ITOPSENG-277 restored blank lines 2019-12-05 16:18:57 +11:00
Brett Meehan
bc8dd94e9c ITOPSENG-277 removing slurping of all /etc/atl. DCD prefer explicit variable assignment 2019-12-05 16:14:18 +11:00
Brett Meehan
8c02ea36bb ITOPSENG-277 added fixes for tests as per discussion with Ben 2019-12-05 15:12:33 +11:00
Bilal Tisekar
6c9e8bc213 Merged in feature/ITOPS-374-hide-secrets-in-synchrony-star (pull request #49)
fix broken path for synchrony service

Approved-by: Adam Brokes <abrokes@atlassian.com>
2019-12-05 03:20:39 +00:00
Steve Smith
3491b7f2d1 Merged in DCD-828-confluence-home-restore (pull request #55)
DCD-828: Add logic to restore Conf server (non-shared) home archive

Approved-by: Ben Partridge <bpartridge@atlassian.com>
2019-12-05 02:51:39 +00:00
Brett Meehan
fff55c5409 ITOPSENG-277 added when suggested by Ben 2019-12-05 13:43:06 +11:00
Brett Meehan
72cecfe04d ITOPSENG-101 fixed variable value case in /etc/atl_vars.yml 2019-12-05 11:50:14 +11:00
Lee Goolsbee
5689d4a2b0 Merged in ITOPSENG-321-install-dejavu-sans-fonts (pull request #54)
ITOPSENG-321 install dejavu-sans-fonts for all linux hosts

Approved-by: Geoff Jacobs
Approved-by: Steve Smith
Approved-by: Ben Partridge
2019-12-04 16:15:27 +00:00
Ben Partridge
9980854dfe Merged in DCD-686-restore-from-manifest (pull request #56)
Adds restore role to confluence and bitbucket playbooks

Approved-by: Steve Smith
Approved-by: Adam Brokes
2019-12-04 05:41:05 +00:00
Lee Goolsbee
b195f2a467 ITOPSENG-321 ubuntu/debian needs fontconfig instead 2019-12-03 21:55:06 -06:00
Brett Meehan
b102f6b9a4 ITOPSENG-277 ensure synchrony_service_url is a string before length count 2019-12-04 14:53:08 +11:00
Ben Partridge
bc0ad759ba DCD-686: Undo renaming of ald_backup_manifest_url var 2019-12-04 12:51:35 +11:00
Steve Smith
48c9927c50 DCD-828: Minor cleanups. 2019-12-04 11:34:26 +11:00
Lee Goolsbee
a04d3efc44 ITOPSENG-321 install OS-specific package for dejavu sans 2019-12-03 17:11:04 -06:00
Lee Goolsbee
0112252315 ITOPSENG-321 install dejavu-sans-fonts for all linux hosts 2019-12-03 12:13:01 -06:00
Steve Smith
cbe0382abe DCD-791: Rename restore test to reflect difference and add test flag. 2019-12-03 14:57:42 +11:00
Brett Meehan
dfa68eda31 ITOPSENG-277 fix bad focus mispaste in seraph-config.xml.j2 2019-12-03 13:12:42 +11:00
Steve Smith
5518028541 DCD-828: Update pipelines. 2019-12-02 14:57:19 +11:00
Steve Smith
199cca264d DCD-828: Initial attempt at tar-based server-to-DC transform 2019-12-02 14:49:33 +11:00
Brett Meehan
3c4beba750 ITOPSENG-277 make tests pass 2019-12-02 13:05:42 +11:00