Commit Graph

46 Commits

Author SHA1 Message Date
Lee Goolsbee
91cc5c3d1a ITPLT-3650 define platform as linux/amd64 for molecule; fixes ability to run on Apple Silicon and should continue to work fine in pipelines 2024-04-29 12:10:17 -05:00
Lee Goolsbee
9ec397abd5 ITPLT-3650 update test execution environments to newer versions of debian, ubuntu, and python 2024-04-29 12:10:17 -05:00
Lee Goolsbee
677f2a85ca ITPLT-3650 drop support for Amazon Linux 2 2024-04-29 12:10:12 -05:00
Lee Goolsbee
ecb262a15f ITPLT-3650 compatibility updates for ansible-core 2.16 and other dependencies 2024-04-26 15:20:52 -05:00
Geoff Jacobs
fa61970756 reverting previous changes. issue turned out to be the wrong version of python on a node 2023-08-11 13:40:08 +10:00
Geoff Jacobs
5a11d93922 working through pipelines errors 2023-08-11 11:28:39 +10:00
Geoff Jacobs
21a5c0e17c adding the variable to molecule 2023-08-11 10:59:27 +10:00
Geoff Jacobs
f33710c0bf adding the variable to molecule 2023-08-11 10:50:57 +10:00
Geoff Jacobs
edc77e99a6 no, can't reference itself, add pipenv_venv to inventory vars 2023-08-11 10:19:52 +10:00
Geoff Jacobs
aaf54f389c molecule doesn't use the wrapper scripts, can I default a variable to itself? 2023-08-11 10:12:09 +10:00
Geoff Jacobs
7fefd0ae3d default to pipenv_venv 2023-08-11 10:04:18 +10:00
Geoff Jacobs
e8914d0a6a found another task that is failing, testing out omit here 2023-08-11 09:56:35 +10:00
Lee Goolsbee
6151f01534 Merged in al2022 (pull request #187)
Add support for Amazon Linux 2022

* first pass at basic AL2022 support

* unpin git version on AL2022

* resolve a few package issues/discrepancies

* fix non-Amazon distro support

* fix missing nfs.service symlink on AL2022

* remove Ubuntu/Debian install task from aws_common (no existing ubuntu dependency tasks)

* add amazonlinux:2022 to list of images for testing via molecule

* install amazon-cloudwatch-agent from package sources instead of direct RPM on AL2022; add workaround for missing group

* fix typo in task name

* add mising amazonlinux:2022 test for product_install role

* al2022 -> al2023

* al2023 ships with rpm-installed versions of setuptools and distlib that aren't removable and older than what pipenv requires; use py3.11 instead


Approved-by: Vadym Kovalskiy
Approved-by: Eugene Ivantsov
Approved-by: Yurii Kuzan
2023-05-17 17:11:12 +00:00
Lee Goolsbee
8c745195c6 go with psycopg2-binary instead of building psycopg2 2022-09-15 11:08:02 -05:00
Lee Goolsbee
10e6b3eefe move molecule dependency management to project-level config; disable molecule dependency management 2022-09-09 17:09:27 -05:00
Lee Goolsbee
4d7b2c57f0 try a fix for the tests in pipelines; add collections cache 2022-09-09 17:09:27 -05:00
Lee Goolsbee
694f1c2874 use collections; use FQCN for all tasks 2022-09-07 18:56:23 -05:00
Geoff Jacobs
4d84174b7b reverting my handling of the missing sshd_config and going back to ignoring errors. the failed_when logic was failing on a real node (but fine in molecule) 2022-07-26 06:41:39 +10:00
Geoff Jacobs
e5c1954b81 adding the file command on azl2 to help with mimetype discovery. adding some failed_when logic to unarchiving the obr 2022-07-25 12:28:33 +10:00
Geoff Jacobs
2f6150492e troubleshooting some flakey JSM downloads 2022-07-25 11:49:55 +10:00
Steve Smith
daf7f7b34b DCD-1378: Replace an existing line if it exists. 2021-11-16 15:28:23 +11:00
Steve Smith
8df555ca73 DCD-1378: Add ciphers line to sshd config. 2021-11-16 14:29:55 +11: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
7ede9c8cc1 ITPLAT-399 Systemd cleans up files in /tmp older than 10 days. This removes the /tmp/.java_pid* file which is the socket created by the JVM that facilitates thread dumps. This file is never recreated once it's deleted, and the only way to recreate it and restore thread dump functionality is to restart the JVM. If using OpenJDK there is no -F option to force thread dumps which bypasses the socket. Once the file is deleted there is no way to take a thread dump on OpenJDK until a restart is performed. This commit excludes required java hooks including the pid file from systemd's cleanup. For more info: https://bugzilla.redhat.com/show_bug.cgi?id=1704608 2021-01-13 11:47:19 -06:00
Lee Goolsbee
b195f2a467 ITOPSENG-321 ubuntu/debian needs fontconfig instead 2019-12-03 21:55:06 -06: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
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
0c5f82c438 DCD-686: Move git version to where it is used. 2019-10-03 14:57:20 +10:00
Varun Arbatti
fb44bf92f1 Merged in DCD-590-fixes-broken-ci-due-to-linter (pull request #21)
DCD-590: Fixes lint issue

Approved-by: Steve Smith <ssmith@atlassian.com>
2019-09-02 01:08:52 +00:00
Geoff Jacobs
324dfb12e2 ITOPS-2059 specifying to manually create the group as well so that gids can be predictable if uid is <=1000 2019-08-22 13:08:20 +10:00
Steve Smith
0d6204a85c DCD-386: Provide a default for the product user UID. 2019-06-11 01:52:41 +00:00
Steve Smith
07ab6629de DCD-352: Fixes for molecule test. 2019-06-03 12:56:10 +10:00
Steve Smith
f13fb656d0 DCD-386: Move user creation up to linux_common as NFS needs to share the UID. 2019-05-30 11:42:01 +10:00
Steve Smith
9faa3b4e07 DCD-386: Move git installation to common. 2019-05-29 14:48:06 +10:00
Steve Smith
c59776bcbe DCD-224: Fix xmllint package. 2019-05-21 11:53:32 +10:00
Steve Smith
2d47201810 DCD-224: Add xmllint to base install. 2019-05-21 10:57:07 +10:00
Steve Smith
e32b439ce2 DCD-224: Add installation of the ServiceDesk OBR when specified version is "all" or "servicedesk". 2019-04-29 15:37:44 +10:00
Steve Smith
121c630034 DCD-224: Use import_tasks rather than deprecated import. 2019-04-17 12:05:02 +10:00
Steve Smith
43e5599c10 DCD-224: Add psycopg2 for Ansible Postgres support. 2019-04-17 10:37:23 +10:00
Steve Smith
79815a20c3 DCD-224: Add some other common packages. 2019-04-15 15:49:02 +10:00
Steve Smith
ba49e5c087 DCD-224: Misc. minor cleanups. 2019-04-09 16:20:13 +10:00
Steve Smith
1823f5891e DCD-224: Move to more distro-specific package installation. 2019-04-09 15:37:08 +10:00
Steve Smith
a3c58e4d0e DCD-224: Rename linux-common to linux_common for consistency. 2019-04-09 15:31:20 +10:00