Commit Graph

24 Commits

Author SHA1 Message Date
Nemo
ed3d139109 [dep] Auto upgrade via Dependabot (#104)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-06-08 06:16:40 +00:00
Marc Wrobel
adb7cbfdeb [github_releases] Add automation (closes #34)
This script is using the GitHub CLI with the GraphQL API in order to retrieve releases. The reasons are:

- using 'gh release list' does not return all the releases
- using the API, directly or via GitHub CLI, is slow, produces a lot of 502 errors, and is harder due to pagination.
- using the GraphQL API directly is hard due to pagination.
- using a library, such as graphql-python, is sightly harder than using the GitHub CLI (and still requires a GITHUB_TOKEN).

Access to the GitHub token is required when using GitHub CLI, hence the update.yml workflow update.
2023-03-03 09:24:02 +01:00
Marc Wrobel
082b165d5d Add Java automation
Fetch Java versions with their dates from https://www.java.com/releases/.

This script is using a new dependency: requests-html (https://requests-html.kennethreitz.org/). This is because https://www.java.com/releases/ needs JavaScript to render correctly. And for this to work requests-html automatically downloads Chromium because of its dependency to pyppeteer.

Chromium is downloaded into PYPPETEER_HOME, so the workflow has been modified to set this directory as a subdirectory of ~/.cache. Note that declaring the same environment variable from the python script does not work.
2023-01-03 18:23:19 +01:00
Marc Wrobel
a061e41789 Minimize cache size (closes #53)
Add --depth=1 to the git fetch command to minimize the git repositories size. A test showed that this reduced the cache size from 7507 MB to 962 MB.
2023-01-03 09:03:36 +00:00
Nemo
44e95ac39a Update trigger-deploy.yml 2022-12-20 15:09:41 +05:30
Nemo
e485d315f0 [ci] Fix secret usage 2022-12-20 15:07:08 +05:30
Nemo
1745448707 [ci] Trigger website deploy on new release-data build
This triggers a new build, but only on commits to the main branch.
2022-12-20 12:07:32 +05:30
Nemo
e018736fbe [distrowatch] Support running single product 2022-07-13 13:21:53 +05:30
Nemo
32450c162c Add a debugging workflow to allow testing
If you push a branch to the main repo, and a branch here with the same
name, then the update script here will use the same branch name instead
of using `main`. This way, we can keep 2 branches in sync and then merge
them.

If a branch does not exist, we'll fallback to cloning master instead
2022-07-10 15:44:47 +05:30
Nemo
5962146a16 [distrowatch] Distrowatch update script 2022-07-10 15:44:09 +05:30
Nemo
fc39472416 [pangp] Add Palo Alto Networks GlobalProtect App 2022-05-30 15:31:31 +05:30
Nemo
869a866e7e Switch haproxy to all changelogs 2022-05-24 18:09:14 +05:30
Nemo
f3e9a2c7b2 Fix commit message 2022-05-24 15:28:46 +05:30
Nemo
6a08386585 Fix directories 2022-05-24 15:14:14 +05:30
Nemo
a207d5c30e [ci] Add manual trigger to update data 2022-05-18 15:35:50 +05:30
Nemo
8997487f42 Script to fetch unrealircd releases (#4)
unrealircd: 6.0.3
elasticsearch: 8.2.0
laravel: 8.83.11, 9.11.0
2022-05-03 16:23:53 +00:00
Nemo
2724ebbbc0 Closes #3 2022-04-26 20:19:49 +05:30
Nemo
f9ce28d487 Update update.yml 2022-04-21 07:38:32 +00:00
Nemo
3b4cca9faf Update update.yml 2022-03-29 12:36:08 +05:30
Nemo
6b0ef0a19e Fix clone ref for website repo 2022-03-29 12:34:37 +05:30
Nemo
192bc258ea Cleanup releases into some standard format. (#2) 2022-03-28 08:08:41 +00:00
Nemo
034e407dfe Only run on schedule 2022-03-28 07:17:23 +00:00
Nemo
0cbf22bf9f Initial Automation 2022-03-28 07:17:21 +00:00
Nemo
6b082aac17 Initial commit for workflow 2022-03-24 15:26:07 +05:30