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
45dbd4839b
drop system lxml; install with pipenv instead
2022-09-27 09:45:04 -05:00
Lee Goolsbee
8c745195c6
go with psycopg2-binary instead of building psycopg2
2022-09-15 11:08:02 -05:00
Lee Goolsbee
a560258945
development doc updates; drop python2 dependency for debian/ubuntu hosts (only needed for AL2/yum)
2022-09-09 17:09:27 -05:00
Lee Goolsbee
57c2cad83f
fix some line-endings, add dependencies, allow python other than 3.8
2022-09-09 17:09:27 -05:00
Lee Goolsbee
797da718d1
add a retry loop (mostly for parallel pipelines tests where this can generate too many requests errors)
2022-09-09 17:09:27 -05:00
Lee Goolsbee
e1f5521652
upgrade dependencies
2022-09-07 18:56:05 -05:00
Yevhen Karnaukhov
f20f0c2de1
DCD-1387 Confluence FileNotFoundError fixing
2022-03-10 13:01:25 +01:00
Lee Goolsbee
3ea9a0dcca
ITPLT-637 use IMDSv2
2022-02-25 10:39:18 -06:00
Steve Smith
c0e90b81de
DCD-1387: The latest pipenv broke under Amazon Linux, so pin to previous.
2021-11-08 12:11:38 +11:00
Lee Goolsbee
2b1c0de1a2
install lxml to system python via yum package instead of root user pip install
2021-02-26 17:55:20 -06:00
Dylan Rathbone
4bda130d5f
Remove python2 pip for Debian installs
2020-11-03 10:24:02 +10:00
Dylan Rathbone
ccee6e4d8c
Remove python2 pip for Debian installs
2020-11-03 10:21:13 +10:00
Dylan Rathbone
301f44cbef
Add python2 pip for Debian installs
2020-11-03 09:16:49 +10:00
Dylan Rathbone
e2e4ce4ba6
Add python2 pip for Debian installs
2020-11-03 08:37:21 +10:00
Dylan Rathbone
3c2b000db5
Install lxml into system python env
2020-11-02 16:40:52 +10:00
Brett Meehan
6404fca50f
ITOPSENG-529-bump-pip-timeout
2020-03-25 12:01:42 +11:00
Ben Partridge
45e357fdd2
DCD-800: pipe stderr to iconv as well as stdout
2019-11-29 10:55:20 +11:00
Ben Partridge
5490651e9e
DCD-800: Use iconv to strip non-ascii characters
2019-11-29 10:32:41 +11:00
Ben Partridge
32bfef040c
Force no spinner when running pipenv sync
2019-11-28 16:41:34 +11:00
Ben Partridge
843f1c26e7
Revert "Redirect all logs to dev/null when running pipenv sync"
...
This reverts commit 14465e259f .
2019-11-28 16:30:35 +11:00
Ben Partridge
14465e259f
Redirect all logs to dev/null when running pipenv sync
2019-11-28 16:23:48 +11:00
Ben Partridge
d7fdb4c4c2
Suppress emoji and standard output when calling pipenv as it outputs
...
characters in non-ascii which causes errors in cloud-init
2019-11-28 15:29:44 +11:00
Steve Smith
72659de9ad
DCD-686: Install Postgres only if restoration is required.
2019-10-10 09:30:45 +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
07e97ba35e
DCD-686: Fix some issues with packages on Amazon Linux.
2019-10-09 13:00:53 +11: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
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
5e85f71ae8
DCD-686: Update pipelines config.
2019-10-04 11:39:43 +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
Azra Sulthana
2c25fb2020
added /usr/local/bin to PATH
2019-07-17 13:43:31 +05:30
Steve Smith
b12d204267
DCD-386: Use noconfirm for package installation.
2019-06-13 15:58:25 +10:00
Steve Smith
e1dab14a7f
DCD-386: Cleanups and clarifications.
2019-06-13 15:30:56 +10:00
Steve Smith
8925cd5af9
DCD-386: Use sync rather than install to use locked package versions.
2019-06-13 15:24:31 +10:00
Steve Smith
5716f863d1
DCD-386: Use pacapt to install pip from the system.
2019-06-13 15:06:29 +10:00
Steve Smith
cda21df138
DCD-386: Initial test of pipenv.
2019-06-13 13:57:56 +10:00
Varun Arbatti
6ba93d181d
DCD-427: pip list with columns display
2019-06-10 18:37:39 +02:00
Varun Arbatti
ce75792ce7
DCD-000: unpins cryptography before ansible install
2019-06-10 18:17:01 +02:00
Varun Arbatti
93ea0b41a7
DCD-000: Updates cryptography before ansible install
2019-06-10 17:57:45 +02:00
Varun Arbatti
8cc8c6b160
DCD-000: Updates setuptools before installing ansible
2019-06-10 17:53:44 +02:00
Steve Smith
1ff55764eb
DCD-224: Use /bin/bash for compatability.
2019-05-02 15:22:31 +10:00
Steve Smith
2933e3c7af
DCD-224: Add wrapper for installing Ansible
2019-04-17 16:15:36 +10:00