Commit Graph

408 Commits

Author SHA1 Message Date
Geoff Jacobs
80be97a4da Merged in bugfix/ITOPSENG-283-crowd-ansible-is-ignoring-t (pull request #39)
crowd was ignoring xmx & xms in setenv.sh

Approved-by: Adam Brokes <abrokes@atlassian.com>
2019-10-31 00:57:18 +00:00
Steve Smith
7da47077e3 Merged in DCD-686-backup-restore-operations (pull request #36)
DCD-686: Slingshot restore operations

Approved-by: Adam Brokes <abrokes@atlassian.com>
2019-10-31 00:29:18 +00:00
Steve Smith
1ea30531b6 DCD-686: Remove HTTP manifest download for now. 2019-10-31 10:30:17 +11:00
Geoff Jacobs
ee759efead ITOPSENG-283 upstream ansible example had wrong syntax 🤦 2019-10-30 11:45:57 +11:00
Geoff Jacobs
7d90e8b65a ITOPSENG-283 more debug 2019-10-30 11:21:34 +11:00
Geoff Jacobs
5032371fed ITOPSENG-283 fixing typo and adding debug 2019-10-30 11:14:39 +11:00
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
Geoff Jacobs
2513450d07 ITOPSENG-283 updating the method for managing the xmx and xms settings in setenv.sh 2019-10-30 10:49:39 +11:00
Geoff Jacobs
eb3449e55c Merged in ITOPSENG-258-add-custom-node-names-to-cr (pull request #37)
ITOPSENG-258 add custom node names to cr

Approved-by: Adam Brokes <abrokes@atlassian.com>
2019-10-25 02:30:32 +00: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
Geoff Jacobs
1df244d778 ITOPSENG-258 splitting to a new task to appease the linting overlords 2019-10-21 10:49:53 +11:00
Geoff Jacobs
244e6664e6 ITOPSENG-258 setting the Crowd node name via CATALINA_OPTS 2019-10-21 10:46:56 +11:00
Varun Arbatti
0711c75dab Merged in DCD-697-additional-cw-logs (pull request #31)
DCD-697: Adds ansible and cfn logs to cloudwatch

* DCD-697: Adds ansible and cfn logs to cloudwatch

* DCD-697: Adds provisioning logs to a separarte log group. Adds a test to ensure provisioining logs exist

* DCD-697: Refers to files, not directory, for provisioning log groups

* DCD-697: Adds a comma between log groups

* DCD-697: Removes redundant comma between the 2 log groups

Approved-by: Steve Smith <ssmith@atlassian.com>
Approved-by: Adam Brokes <abrokes@atlassian.com>
2019-10-11 05:04:22 +00: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