Commit Graph

11 Commits

Author SHA1 Message Date
Marc Wrobel
191f1d10a1 [eks] Update web.archive.org links 2023-09-11 23:00:51 +02:00
Nemo
645dc68900 [eks] Use web archive to run against 1.19 and 1.20
AWS is no longer publishing the history on GitHub, so we
instead rely on older copies of the website to track the old
release dates. This is done at 2 cutoff points right now for
1.19 and 1.20.

Older releases are available on the web archive, but those
pages didn't include release dates so not helpful.
2023-06-28 00:10:37 +02:00
Nemo
f0348a60c7 [eks] Switch to HTML website
The GitHub source is getting retired
and will be archived soon, with no further updates.

This switches to the AWS docs website instead, parsing
the HTML directly.

https://aws.amazon.com/blogs/aws/retiring-the-aws-documentation-on-github/
2023-06-11 15:02:51 +02:00
Marc Wrobel
208ab8e2f8 Apply various minor refactorings
Improve readability and fix a few Python warnings (line too long, exception too broad...) through various minor refactorings.
2023-06-11 12:45:59 +02:00
Marc Wrobel
6ba7828f96 Refactor product releases writing
Create a common function to write resulting JSON files to the releases directory.
It makes this task simpler to read and maintain, while making it modifiable at a central point in the future.
One example of such modification could be the sorting of the versions in a uniform way for all the scripts.
2023-06-11 12:45:59 +02:00
Marc Wrobel
a16d9090d3 Refactor HTTP URL fetching scripts
This creates a common function to fetch HTTP URLs, with enhanced capabilities (retry, use of a known User-Agent).
It makes scripts that need those capabilities simpler, while improving other scripts.

This commit also fixes some scripts that did not log properly (cos.py, eks.py, haproxy.py, palo-alto-networks.py, rhel.py, ros.py, unrealircd.py).
2023-06-11 12:45:59 +02:00
Marc Wrobel
b65b5ad4ee Cleanup code (#37)
* [apple,distrowatch,pypi] Remove unused imports

* [maven] use snake_case for variable names

* [eks,palo-alto-networks] Rename variables shadowing names from outer scopes

* [eks,palo-alto-networks] Remove unused variables

* [apple,haproxy,palo-alto-networks,rhel,ros,unrealircd] Rename variables shadowing built-in names
2022-12-14 09:20:45 +05:30
Nemo
f8b505409d [eks] Use the new platform-versions page.
- See https://github.com/awsdocs/amazon-eks-user-guide/issues/603
- Tracking eks release numbers makes more sense here
2022-09-19 19:41:32 +05:30
Nemo
33331288fa [eks] Fix EKS regex 2022-08-26 22:19:35 +05:30
Nemo
202e2cfd8b [eks] Fix repo cloning 2022-07-10 12:51:13 +05:30
Nemo
b83e1ee375 [eks] Add EKS release automation 2022-07-10 12:47:14 +05:30