Commit Graph

132 Commits

Author SHA1 Message Date
Steve Smith
87b6d9cb50 DCD-224: Add test case for pre-existing version file. 2019-04-18 12:31:49 +10:00
Steve Smith
7342b7f039 DCD-224: Switch to using marketplace version feed, and add test for another corner-case. 2019-04-18 12:13:05 +10:00
Steve Smith
b7f3fb5434 DCD-224: Don't use the product owner for the mountpoint as we can't assume it exists yet. 2019-04-18 09:45:49 +10:00
Steve Smith
9da5a37219 DCD-224: Should mount EFS before creating any directories. 2019-04-18 09:11:17 +10:00
Steve Smith
2933e3c7af DCD-224: Add wrapper for installing Ansible 2019-04-17 16:15:36 +10:00
Steve Smith
c73870ab55 DCD-224: Restart the product on failure. 2019-04-17 14:54:38 +10:00
Steve Smith
86686c08ef DCD-224: Fix unpacking of product. 2019-04-17 14:54:18 +10:00
Steve Smith
a8d7643c2e DCD-224: Fix format of service env vars. 2019-04-17 14:42:53 +10:00
Steve Smith
34ba568f63 DCD-224: Fix var name. 2019-04-17 14:36:26 +10:00
Steve Smith
f0b5086832 DCD-224: Fix typo in group vars. 2019-04-17 14:34:14 +10:00
Steve Smith
58b622187a DCD-224: Add note about setenv in the service file. 2019-04-17 14:32:02 +10:00
Steve Smith
ce864ebd8c DCD-224: Add required environment to Jira service file. 2019-04-17 14:30:31 +10:00
Steve Smith
87c5b0ba81 DCD-224: Inject JVM heap overrides into the product setenv script. 2019-04-17 14:21:17 +10:00
Steve Smith
8ba280c2e9 DCD-224: Fix idempotence for download/unpack. 2019-04-17 14:20:10 +10:00
Steve Smith
31d40e1dae DCD-224: Add systemd service for jira. 2019-04-17 13:16:27 +10:00
Steve Smith
1874454163 DCD-224: Use provided Ansible virtualenv if provided. 2019-04-17 12:43:56 +10:00
Steve Smith
53800d6dc8 DCD-224: Add Apache 2 license file. 2019-04-17 12:29:11 +10:00
Steve Smith
afb4724eca DCD-224: Use UTF-8 for all encodings. 2019-04-17 12:20:19 +10:00
Steve Smith
2a70f9ec54 DCD-224: Grant the created DB roles to postgres root user for DB creation. 2019-04-17 12:20:07 +10:00
Steve Smith
121c630034 DCD-224: Use import_tasks rather than deprecated import. 2019-04-17 12:05:02 +10:00
Steve Smith
ade6b02c90 DCD-224: Fix DB name var. 2019-04-17 11:37:56 +10:00
Steve Smith
ef96d81aad DCD-224: Fix DB password var. 2019-04-17 11:34:30 +10:00
Steve Smith
9df15ebcaf DCD-224: Add DB config role to Jira AWS. 2019-04-17 11:32:29 +10:00
Steve Smith
6ecfb047f1 DCD-224: Add some default for database parameters. 2019-04-17 11:32:14 +10:00
Steve Smith
93761025f9 DCD-224: Fix DB driver var name. 2019-04-17 11:31:06 +10:00
Steve Smith
ed4804ee1f DCD-224: Fix JDBC URL generation 2019-04-17 11:30:37 +10:00
Steve Smith
72fafab5d5 DCD-224: Move db config to its own role. 2019-04-17 10:39:10 +10:00
Steve Smith
43e5599c10 DCD-224: Add psycopg2 for Ansible Postgres support. 2019-04-17 10:37:23 +10:00
Steve Smith
6fb61db834 DCD-224: Add DB and application user 2019-04-17 09:55:00 +10:00
Steve Smith
367a2ce1ba DCD-224: Add some tagging to speed up some tests. 2019-04-16 16:26:15 +10:00
Steve Smith
ecc21a5f79 DCD-224: Update AWS Jira playbook with latest roles. 2019-04-16 14:54:05 +10:00
Steve Smith
37fd4d2da3 DCD-224: Start of Jira preconfiguration. Just dbconfig.xml for now. 2019-04-16 14:34:38 +10:00
Steve Smith
5b91a531ce DCD-224: Refactor to simplify directory layout and testing. 2019-04-16 10:52:18 +10:00
Steve Smith
f2a9dbd1b6 DCD-224: Remove jira_config for now. 2019-04-16 09:37:15 +10:00
Steve Smith
5ba2731a18 DCD-224: Add linux_common base to tests as AWS Linux needs extra packages. 2019-04-16 08:41:42 +10:00
Steve Smith
13e91668ab DCD-224: Add unpacking of the downloaded tarball. 2019-04-15 16:13:51 +10:00
Steve Smith
a8d8025e24 DCD-224: Move to using tgz rather than self-instller. 2019-04-15 15:50:57 +10:00
Steve Smith
a72154a02b DCD-224: Correct installation dir. 2019-04-15 15:49:19 +10:00
Steve Smith
79815a20c3 DCD-224: Add some other common packages. 2019-04-15 15:49:02 +10:00
Steve Smith
2380b55df8 DCD-224: Move to using the product-downloads.atlassian.com CDN. 2019-04-15 14:48:22 +10:00
Steve Smith
6c70ce323e DCD-224: Download locally rather than to the shared drive to avoid races. 2019-04-15 14:18:25 +10:00
Steve Smith
94c06ce4d5 DCD-224: Add fetching of the installer. 2019-04-15 13:06:41 +10:00
Steve Smith
6e596bef55 DCD-224: Handle version override and reading any existing cached version 2019-04-15 11:35:41 +10:00
Steve Smith
624edfa5c9 DCD-224: Fetch the product 'latest' file when no version is specified. 2019-04-15 10:05:55 +10:00
Steve Smith
6db317051a DCD-224: Rename product vars for clarity and create the shared home. 2019-04-11 15:19:57 +10:00
Steve Smith
5feca0132f DCD-224: Fix ansible config file. 2019-04-11 14:18:04 +10:00
Steve Smith
ab00c1f9bd DCD-224: Move EC2 metadata fetching to the role top-level. 2019-04-11 12:25:23 +10:00
Steve Smith
1651b7b3ee DCD-224: Move EC2 metadata retrieval to aws_common 2019-04-11 12:02:41 +10:00
Steve Smith
bc893a0a2e DCD-224: Ensure ec2-utils is installed and add testing. 2019-04-11 11:23:15 +10:00
Steve Smith
fe0e85b17e DCD-224: Move Amazon-specific Postgres installation to product-common role. 2019-04-11 11:14:59 +10:00