saltstack / salt-bootstrap

Generic Salt Bootstrap Script
Other
929 stars 547 forks source link

[WIP] Added support for Amazon 2023, Debian 11 & 12, removed EOL OSs and Python 2.7 support #1987

Open dmurphy18 opened 5 months ago

dmurphy18 commented 5 months ago

What does this PR do?

Adds support for Amazon 2023, Debian 11 and 12. Removes support for Debian 7, 8 & 9, RHEL 6, Amazon Linux (RHEL 6 clone) and Python 2.7

What issues does this PR fix or reference?

Fixes: https://github.com/saltstack/salt-bootstrap/issues/1940, https://github.com/saltstack/salt-bootstrap/issues/1986

Previous Behavior

Amazon 2023, Debian 11 and 12 failed to install with bootstrap script

New Behavior

Amazon 2023, Debian 11 and 12 now install with bootstrap script. Debian 7, 8 and 9, RHEL 6, Amazon Linux (RHEL 6 clone) and Python 2.7 are no longer supported

dmurphy18 commented 5 months ago

Cleaned up script with shellcheck before removing the EOL OS and Python 2.7 support.

dmurphy18 commented 3 months ago

Ensure the bootstrap script works on Centosstream 8 with redhat-lsb-core installed, it might be affecting distro

Foorack commented 1 week ago

CI indicates this is failing with Failed to run install_debian_onedir_deps()!!!, without any visible Error message. Do we know why this is failing?

dmurphy18 commented 1 week ago

@Foorack WIP - Work In Progress, read the title. Still have to implement GitHub Actions runners

dmurphy18 commented 13 hours ago

Note: nightly workflow directory structure has changed and needs adjustment in the bootstrap script, for example: https://repo.saltproject.io/salt-dev/3006.x/latest/salt/py3/photon/4.0/x86_64/ etc. and that latest could be replaced by a date, that is, https://repo.saltproject.io/salt-dev/3006.x/2024-07-02/salt/py3/photon/4.0/x86_64/minor/