Commit Graph

53 Commits

Author SHA1 Message Date
Brett Meehan
7a992db9c4 ITPLAT-518 add line between execstart and execstop to ensure newline after exec_options loop 2021-03-04 09:43:45 +11:00
Brett Meehan
2ac2738985 ITPLAT-518 add templated whitespace after endif to ensure newline is placed 2021-03-03 17:44:59 +11:00
Brett Meehan
92baa3c291 ITPLAT-518 corrected stop script var name 2021-03-03 16:57:02 +11:00
Brett Meehan
7c3dbd53aa ITPLAT-518 fix molecule test for bbdc 2021-03-03 16:23:53 +11:00
Brett Meehan
62ae18d90b ITPLAT-518 adopt suggestions in PR comments 2021-03-03 15:35:20 +11:00
Brett Meehan
ce7b3b3e43 ITPLAT-518 remove fg from molecule test for bbdc 2021-03-03 14:05:47 +11:00
Brett Meehan
561ca14058 ITPLAT-518 modify unit file for bbdc to not start foreground 2021-03-03 13:59:43 +11:00
Lee Goolsbee
87e59aba64 Merged in ITPLAT-476-cast-atl_startup_restart-to-bool (pull request #129)
ITPLAT-476 cast atl_startup_restart to bool

Approved-by: Ben Partridge
2021-02-26 20:22:03 +00:00
Lee Goolsbee
520a881310 add tests to ensure expression for atl_startup_restart var in defaults is evaluated to boolean 2021-02-05 17:18:42 -06:00
Lee Goolsbee
1278cc6cf5 allow default filter to treat empty string as "false", cast to bool at end 2021-02-05 12:00:41 -06:00
Brett Meehan
362bc07ac6 ITPLAT-387 add comment about bbdc exclusion 2021-02-04 16:29:53 +11:00
Lee Goolsbee
a879291f50 try casting env var to bool before falling back to default(true) 2021-02-03 17:40:11 -06:00
Lee Goolsbee
998cb50b07 ITPLAT-476 cast atl_startup_restart to bool 2021-02-03 17:18:02 -06:00
Brett Meehan
33ba9fc2e5 Merge branch 'master' into ITPLAT-387-dcd---update-systemd-servic 2021-02-02 12:15:38 +11:00
Brett Meehan
6908cc8f94 ITPLAT-387 resolve merge conflict 2021-02-02 10:18:52 +11:00
Brett Meehan
d3e6ba137c ITPLAT-387 exclude bitbucket from catalina.out fix 2021-02-02 10:14:22 +11:00
Steve Smith
121ae6ac5c Revert new logic for restart flag. 2021-01-29 10:29:23 +11:00
Steve Smith
d1ec1cafc0 We don't need a bool filter as it's been moved up to import time. 2021-01-22 13:54:04 +11:00
Steve Smith
2a67095acc Move bool coerce up to initialisation. 2021-01-22 12:26:08 +11:00
Denise Unterwurzacher
edaf560a40 ITPLAT-428 Need to specify | bool to ensure the value is read as a boolean. This was warned about in previous versions: "[DEPRECATION WARNING]: evaluating false as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. This feature will be removed in version 2.12." Perhaps it was removed earlier. Handled both deprecation warnings found in previous runs. 2021-01-21 12:35:40 -06:00
Steve
c187f992f0 DCD-1205: Remove linting from molecule tests. It changed in v3, didnt't really help, and we ended up disabling it most of the time anyway. 2021-01-20 11:26:36 +11:00
Steve
253c5bd8e1 DCD-1205: Rename playbook.yml -> converge.yml for Molecule v3. 2021-01-20 11:09:32 +11:00
Denise Unterwurzacher
f3e3853cbd ITPLAT-387 catalina.err isn't a standard log file - standard Tomcat logging directs both stdout and stderr to catalina.out. See https://tomcat.apache.org/tomcat-8.0-doc/logging.html 2021-01-04 16:57:42 -06:00
Brett Meehan
d219dea4ba ITPLAT-387 restored accidentally trimmed blank line 2021-01-04 08:41:28 +11:00
Brett Meehan
25ec58381e ITPLAT-387 fixed the bitbucket and synchrony tests 2020-12-31 14:34:29 +11:00
Brett Meehan
d270cb75cb ITPLAT-387 move logdir creation to somewhere that doesnt break tests and mod the service test 2020-12-31 12:20:09 +11:00
Brett Meehan
75c905fe7d ITPLAT-387 ensure service log dir exists 2020-12-29 21:10:47 +11:00
Brett Meehan
e03ef9b564 ITPLAT-387 ensure service unit file defaults write to catalina.out 2020-12-29 13:49:12 +11:00
Steve Smith
657efb77ab DCD-1089: The systemd installation location depends on the OS. 2020-08-28 13:07:56 +10:00
Denise Unterwurzacher
d428624ac2 ITOPSENG-703 Added open file descriptors to the systemd config to allow for the applications to open more files. This avoids the 'too many open files' problem that can cause outages. 2020-06-17 12:10:22 -05:00
Brett Meehan
ef0a41af98 ITOPSENG-647 adjust hard-coded defaults to allow molecule tests to pass 2020-05-21 11:43:17 +10:00
Brett Meehan
7b9e9e2328 ITOPSENG-647 put product service file in the default path to allow systemctl mask and other linking operations to work properly 2020-05-21 10:17:22 +10:00
Dylan Rathbone
48dd6baad2 DCD-261: Prevent JDBC_PASSWORD from being logged 2020-04-24 11:23:25 +10:00
Steve Smith
0b129bce1d DCD-431: Fix incorrect service start-up target and make configurable. 2019-11-04 11:14:11 +11:00
Varun Arbatti
522706467e Merged in DCD-621-parallelize-builds (pull request #20)
DCD-621 parallelize builds

* DCD-621: Parallelizes tests ny invoking the parralelize script

* DCD-621: Removes leading / to start jira command in product_startup role

* DCD-621: Runs a scenario by name instead of using the all parameter

* DCD-621: A better find all scenarios function to ensure we look at relevant molecule scenarios. Better logging too

* DCD-510: Parallelizes tests further, running in 26 batches on 1 each. The pipeline file is now generated using Jinja

* DCD-510: Adds a pre check stage to verify if number of batches match actual number of scenarios. This test will fail (deliberately)

* DCD-510: Adds a pre check stage to verify if number of batches match actual number of scenarios. Fixes 'test' failure

* DCD-590: Adds note to development.md on how to generate a pipeline file. Adds a makefile and updates a few script commands

* DCD-590: Better documentation in development README document. Updates YML with instructions on how to fix issues with the prevalidation stage

Approved-by: Steve Smith <ssmith@atlassian.com>
Approved-by: Ben Partridge <bpartridge@atlassian.com>
2019-08-30 06:22:53 +00:00
Geoff Jacobs
ba25bc683d ITOPS-2035 allow products to not be started after running dc-deployments-automation based off environment variable 2019-08-19 11:15:18 +10:00
Azra Sulthana
8f506a16cc Changes after tarball PR was merged 2019-07-15 06:24:23 +00:00
Azra Sulthana
1c46b3cca4 Removed crowd_startup_exec_path 2019-07-12 04:31:22 +00:00
Azra Sulthana
8fbf76ab3e changes 2019-07-11 06:00:22 +00:00
Azra Sulthana
088239cba8 Merge remote-tracking branch 'origin/master' into ITOPS-1677-add-crowd-support-in-dc-deployment 2019-07-11 05:41:57 +00:00
Azra Sulthana
b960c1c4cb crowd 2019-07-11 05:34:52 +00:00
Steve Smith
5dc978afb0 DCD-418: Fix test. 2019-07-10 16:52:18 +10:00
Steve Smith
4b2dfd8f90 DCD-418: Limit permissions on the systemd unit and move DB params to the environment. 2019-07-09 16:15:45 +10:00
Steve Smith
81dbd67c11 DCD-434: Add injection of heap and additional JVM opts into BB environment. 2019-07-08 12:19:49 +10:00
Steve Smith
7a5a8e003b DCD-386: Cleanup BB home vars. 2019-06-11 05:20:55 +00:00
Steve Smith
f8641a0044 DCD-386: Tweaks to Bitbucket layout and tests. 2019-06-11 03:32:28 +00:00
Steve Smith
9aef39034d DCD-386: Fix bitbucket systemd test. 2019-06-11 10:09:03 +10:00
Steve Smith
e6f1212afb DCD-386: Cleanup some YAML whitespace. 2019-06-11 09:55:53 +10:00
Steve Smith
adeb027473 DCD-386: Fix some Molecule tests. 2019-06-03 12:13:51 +10:00
Steve Smith
9e2eb50a6b DCD-386: Rework product_startup to support more systemd params and add tests for some corner cases. 2019-05-31 10:52:58 +10:00