Steve Smith
e440daa1a5
DCD-686: Update pipeline tests.
2019-10-30 11:03:19 +11:00
Steve Smith
4c0cec4509
DCD-686: Check for no-op when no manifest URL specified.
2019-10-30 11:01:34 +11:00
Varun Arbatti
7e4d1301e1
DCD-686: Changes case of shared home from snakeCase to lower camel case
2019-10-21 11:08:28 +11:00
Varun Arbatti
46a2bad4b8
DCD-742: Updates manifest structure in ansible
2019-10-10 14:51:06 +11:00
Steve Smith
8254482761
DCD-686: Fix tarball location.
2019-10-10 11:28:56 +11:00
Steve Smith
8a343f7e8c
DCD-686: Fix unarchive operation.
2019-10-10 11:26:47 +11:00
Steve Smith
93c359d029
DCD-686: Rename role to reflect updated functionality and exand restore functionality.
2019-10-10 11:12:18 +11:00
Steve Smith
6f56925fa1
DCD-686: Move restore operations into the fetch role for the time being.
2019-10-10 11:05:20 +11:00
Steve Smith
dddf3a86ec
DCD-686: Add comment about manifest format.
2019-10-10 09:39:50 +11:00
Steve Smith
72659de9ad
DCD-686: Install Postgres only if restoration is required.
2019-10-10 09:30:45 +11:00
Steve Smith
0400d8943d
DCD-686: Only restore DB when it is a new one.
2019-10-09 15:29:58 +11:00
Steve Smith
9d8b47ba9e
DCD-686: Only download backups if changed.
2019-10-09 13:48:50 +11:00
Steve Smith
adf9c27093
DCD-686: Ignore any roles specified in the DB dump during restore.
2019-10-09 13:44:02 +11:00
Steve Smith
5996a176d5
DCD-686: We need postgres installed for client utils.
2019-10-09 13:25:32 +11:00
Steve Smith
cb691d2556
DCD-686: We still need some python2 packages.
2019-10-09 13:14:04 +11:00
Steve Smith
32d3640bbb
DCD-686: Add fetching of backups to Jira for testing.
2019-10-09 13:06:30 +11:00
Steve Smith
c724b0432a
DCD-686: Initial implementation of DB restore from dump.
2019-10-09 13:06:30 +11:00
Steve Smith
564f06522c
Merged in DCD-686-fix-amazon-linux (pull request #34 )
...
DCD-686: Fix some issues with packages on Amazon Linux.
Approved-by: Ben Partridge <bpartridge@atlassian.com >
2019-10-09 02:04:20 +00:00
Steve Smith
07e97ba35e
DCD-686: Fix some issues with packages on Amazon Linux.
2019-10-09 13:00:53 +11:00
Steve Smith
fa20a58aa3
Merged in DCD-686-spike-ansible-backups (pull request #32 )
...
DCD-686: Add fetching of backup metadata and dumps
Approved-by: Ben Partridge <bpartridge@atlassian.com >
Approved-by: Varun Arbatti <varbatti@atlassian.com >
2019-10-09 01:12:44 +00:00
Ben Partridge
507e40d5d4
Merged in JIRASERVER-66236-set-jira-collation-correctly (pull request #33 )
...
Set jira database parameters correctly
Approved-by: Steve Smith
Approved-by: Varun Arbatti
2019-10-09 00:26:45 +00:00
Ben Partridge
9941a6ca2c
JIRASERVER-66236: use template0 as jira database template
2019-10-08 13:47:41 +11:00
Ben Partridge
23ef172c91
JIRASERVER-66236: Set Jira collation, ctype to C, encoding to UNICODE
2019-10-08 13:47:41 +11:00
Brett Meehan
610f1cd58a
Merged in feature/ITOPSENG-101-changes-for-itops-jira-template (pull request #29 )
...
Feature/ITOPSENG-101 changes for itops jira template (required for itops supported jira services)
Approved-by: Steve Smith <ssmith@atlassian.com >
Approved-by: Brett Meehan <bmeehan@atlassian.com >
2019-10-07 23:49:10 +00:00
Steve Smith
fd466f1230
DCD-686: Another role rename to match functionality.
2019-10-08 10:19:39 +11:00
Steve Smith
d67f579f2f
DCD-686: Add download of the backups.
2019-10-04 15:42:44 +10:00
Steve Smith
87ac31ea3a
DCD-686: Move back to pipenv-based Ansible installation to work around bugs (again).
2019-10-04 13:55:37 +10:00
Steve Smith
bbff7f94bb
DCD-686: Revert lockfiles as we should move to fine control over Ansible versions (again).
2019-10-04 13:49:43 +10:00
Steve Smith
606ac960d9
DCD-686: Ansible 2.8 added a timeout to the yum module which broke everything.
2019-10-04 13:35:17 +10:00
Steve Smith
0209ad22b7
DCD-686: Another combination of dev dependencies to work around compatability issues.
2019-10-04 12:24:59 +10:00
Steve Smith
60b823cd02
DCD-686: Try with python3.
2019-10-04 12:10:07 +10:00
Steve Smith
ba25ab8f73
DCD-686: Update to Debian Buster for better compability with Amazon Linux 2.
2019-10-04 11:57:54 +10:00
Steve Smith
b82ab6327a
DCD-686: Need to force update on Ubuntu.
2019-10-04 11:43:19 +10:00
Steve Smith
5e85f71ae8
DCD-686: Update pipelines config.
2019-10-04 11:39:43 +10:00
Steve Smith
6a940a7183
DCD-686: Rename manifest fetching role to be more descriptive.
2019-10-04 09:04:50 +10:00
Steve Smith
0f6bbe0f89
DCD-686: Add comment describing role.
2019-10-04 08:19:33 +10:00
Steve Smith
3dca469177
DCD-686: Load the downloaded manifest into a var.
2019-10-03 16:11:58 +10:00
Steve Smith
2a0a1814c8
DCD-686: Remove molecule as the manifest fetch isn't really testable.
2019-10-03 14:58:14 +10:00
Steve Smith
0c5f82c438
DCD-686: Move git version to where it is used.
2019-10-03 14:57:20 +10:00
Steve Smith
f5ebeaedb0
DCD-686: Amazon Linux 2 has updated its Ansible packages so we can remove pipenv from the installation phase.
2019-10-03 14:23:05 +10:00
Steve Smith
46adc9af3f
DCD-686: Move to Python 3.7 and update packages to support AWS operations.
2019-10-03 13:29:21 +10:00
Steve Smith
14e2fdf25b
DCD-686: Ensure temp directory is present before downloads.
2019-10-03 13:24:07 +10:00
Steve Smith
89038fb7c0
DCD-686: Fix S3 download.
2019-10-03 11:52:34 +10:00
Steve Smith
a3b3460f97
DCD-686: Add file permissions to s3 fetch.
2019-10-03 11:51:14 +10:00
Steve Smith
8c3d7ce9f4
DCD-686: Add file permissions.
2019-10-03 11:50:14 +10:00
Steve Smith
347bdab24d
DCD-686: Correct scheme lookup.
2019-10-03 11:48:47 +10:00
Steve Smith
79fd9e5db9
DCD-686: More tweaks to manifest handling.
2019-10-03 11:47:10 +10:00
Steve Smith
38b1441d4a
DCD-686: Typo
2019-10-03 11:37:51 +10:00
Steve Smith
cfca695c31
DCD-686: set_fact variables don't stack.
2019-10-03 11:36:49 +10:00
Steve Smith
24d8a8f16c
DCD-686: Fix missing quote.
2019-10-03 11:34:25 +10:00