Commit Graph

181 Commits

Author SHA1 Message Date
Jia Yuan Lo 6cd8438a7d ci: clean more packages for spaces
Also skip building docker image when building large packages
2024-02-25 00:02:51 +08:00
dependabot[bot] 7e2af7650b
build(deps): bump actions/upload-artifact from 3 to 4 (#18727) 2024-01-01 15:17:50 +00:00
dependabot[bot] 015a10be76
build(deps): bump actions/download-artifact from 3 to 4 (#18726) 2024-01-01 15:17:08 +00:00
Jia Yuan Lo 44cf9681db ci: isolate cleaning to another section again
* effectively partial revert d1af589d00
* sort big-pkgs.list
2023-12-11 10:13:33 +08:00
Chongyun Lee 27206e43de packages.yml: fix regexp on big packages 2023-11-22 15:35:16 +08:00
Ivan Max 526757fcdc
packages.yml: one more small fix 2023-11-19 19:19:16 +03:00
Ivan Max dfa8de1706
packages.yml: small fix 2023-11-15 22:49:08 +03:00
Ivan Max 4222df85d1
packages.yml: change location indicating big packages (#18509) 2023-11-15 21:47:44 +03:00
Twaik Yont a17c6f42f9 ci(packages): enable arm and arch64 CPU emulation 2023-11-15 13:38:08 +02:00
Twaik Yont 52258bd876 ci(packages): append `bionic-host` to the regex used to look for larger packages 2023-11-09 07:45:37 +02:00
Lucy Phipps ad5531d6aa
packages CI: large package regex use grep -P like the rest 2023-11-03 10:44:28 +00:00
Finagolfin 3592306edd ci(packages): correct regex used to look for larger packages 2023-11-02 17:59:33 +05:30
Finagolfin 62f2443fcd ci(packages): Update NDK used outside docker to latest 26b 2023-10-23 13:21:58 +05:30
Leonid Pliushch 0bff714afc
github actions: allow runs on development branches 2023-10-08 20:36:08 +03:00
Finagolfin d36bf3f0ba ci(packages): Clear out disk space on the CI for large packages and rebuild Swift. 2023-10-07 16:12:09 +05:30
Finagolfin dce69dad77 rebuild(swift), ci(packages): Clear out more space for Swift and log how much space there is 2023-10-07 10:26:02 +05:30
Jia Yuan Lo 3a2401805c ci(packages.yml): clean up for really large package
Also remove the NDK and ANDROID_HOME enviromment variables since we
never use them after moved to and from Docker image
2023-10-07 07:35:47 +08:00
Finagolfin d1af589d00 chore,ci(packages): Build large packages on the CI without Docker, instead of simply clearing up space 2023-10-05 07:55:40 +05:30
Jia Yuan Lo 88cb65beb4
revbump(main/wasmer): due to auto update failure (#18005)
Enable CI to clean up before building wasmer
2023-09-29 13:46:45 +08:00
dependabot[bot] 089a1eccbb build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 17:24:58 +05:30
Jia Yuan Lo 2e14ee3df7
bump(main/tinygo): 0.29.0 (#17740)
Add custom auto update
2023-09-02 09:59:12 +08:00
Jia Yuan Lo d47c544b06
bump(main/zig): 0.11.0 (#17733) 2023-09-01 10:38:31 +08:00
Ivan Max a46e3e9357
build-package.sh: adding compilation based on glibc (#16901)
[skip ci]
2023-08-30 23:40:08 +03:00
Tee KOBAYASHI 46f798a59d firefox: Bump to 114.0 2023-06-07 21:27:52 +09:00
Henrik Grimler 6deae8fd0a
scripts: disable uploads to grimler.se
Grimler.se will mirror packages.termux.dev from now on, so that we
have a single origin repo and can use tools like mirrorbits.
2022-12-26 14:48:51 +01:00
xtkoba 18d9ee845e
CI: Build custom Docker image properly
when `scripts/properties.sh` is modified.
2022-12-25 06:56:26 +00:00
Henrik Grimler ca93111034
Revert "[TEMP] CI: disable uploads"
Migration from fosshost to new vps is more or less complete.

This reverts commit 96c22cf398.
2022-12-10 12:18:35 +01:00
Henrik Grimler 96c22cf398
[TEMP] CI: disable uploads
We are migrating from fosshost to another vps, disable package uploads
until migration is complete.

See termux/termux-packages#13804.
2022-12-10 10:00:01 +01:00
Henrik Grimler c004fd4514
enhance(scripts,packages.yml): sync upload steps
In commit ca2e7bcf73 ("ci(packages): Do not unconditionally publish
repo when no changes are made to other repos") the upload step to
fosshost was updated, but not the one for grimler.se.  Sync the upload
steps so that they are nearly identical again.
2022-10-30 15:17:33 +01:00
Henrik Grimler 5c4841e3a8
fix(scripts,packages.yml): fix duplicate line removal
Need to sort the file before running uniq.  Before this fix
subpackages were printed several times in the
built_${repo}_packages.txt file, causing upload step to upload debs
multiple times for no reason..
2022-10-30 15:14:43 +01:00
agnostic-apollo 3b7e145b2a Revert "add(package.yaml): add support to only run upload job"
This reverts commit 5b256ab96d.
2022-10-07 05:45:22 +05:00
agnostic-apollo 5e0b5927c0 fix(packages.yml): fix upload job being skipped if only run upload job toggle is enabled since build job is skipped failing needs condition
https://github.com/actions/runner/issues/491#issuecomment-850884422

Related commit 5b256ab9
2022-10-07 05:33:19 +05:00
agnostic-apollo 5b256ab96d add(package.yaml): add support to only run upload job
If `Run only upload job` toggle is enabled, pass anything as packages value since its required and it will be ignored.
2022-10-07 04:57:17 +05:00
Lucinda May Phipps fdc4ee55cc
packages.yml: run one upload job at a time 2022-10-06 22:24:05 +01:00
Henrik Grimler edf4586feb
scripts(workflows/packages): update list of packages to uninstall
When we need to get extra disk space in CI.

Previous build for auto update of clvk failed.
2022-09-15 21:30:30 +02:00
Chongyun Lee 8134416035 ci: switch to 22.04 2022-09-13 18:43:38 +08:00
Chongyun Lee 30ec184fb6
Revert "ci: fix packages list"
This reverts commit 0c92e85834.
2022-09-12 22:54:40 +08:00
Chongyun Lee 7204e671aa
Revert "ci: switch to 22.04"
This reverts commit 8a957b5116.
2022-09-12 22:54:34 +08:00
Chongyun Lee 0c92e85834
ci: fix packages list 2022-09-12 22:24:30 +08:00
Chongyun Lee 8a957b5116 ci: switch to 22.04 2022-09-12 22:15:53 +08:00
Butta a06a89a012 upgpkg(swift): 5.6.2 to 5.6.3 2022-09-03 02:24:55 +05:30
Alex fdead17156
chore,ci: use explicit permissions for GitHub Actions
Quoted from #11735:
This commit adds explicit [permissions
section](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions)
to workflows. This is a security best practice because by default
workflows run with [extended set of
permissions](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token)
(except from `on: pull_request` [from external
forks](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)).
By specifying any permission explicitly all others are set to none. By
using the principle of least privilege the damage a compromised workflow
can do (because of an
[injection](https://securitylab.github.com/research/github-actions-untrusted-input/)
or compromised third party tool or action) is restricted.\r\nIt is
recommended to have [most strict permissions on the top
level](https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions)
and grant write permissions on [job
level](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs)
case by case.

Co-Authored-By: Alex <93376818+sashashura@users.noreply.github.com>
2022-08-28 08:59:01 +05:30
Leonid Pliushch dc3869ad37
enhance(scripts): use GitHub package registry for Docker image
Should provide better (maybe) download speed when using GitHub Actions.
2022-07-23 00:19:08 +03:00
Henrik Grimler 595969f581
Revert "fix(workflows/packages.yml): Fix uploads to packages.termux.dev by using a working ip address for aptly"
packages.termux.dev should work fully now, so remove workaround.

This reverts commit a3e68e2b89.
2022-07-02 10:24:37 +02:00
Henrik Grimler f5316db82c
fix,ci(packages.yml): specify port when checking repository
Fixes commit a3e68e2b89 ("fix(workflows/packages.yml): Fix uploads
to packages.termux.dev by using a working ip address for aptly").
2022-06-18 19:45:39 +02:00
Henrik Grimler 93e4eb1a75
Revert "Revert "ci(workflows/packages.yml): use packages.termux.dev for uploads""
I reverted the wrong commit.

This reverts commit d090e21390.
2022-06-18 19:08:27 +02:00
Henrik Grimler d090e21390
Revert "ci(workflows/packages.yml): use packages.termux.dev for uploads"
More proper fix by @agnostic-apollo in a3e68e2b89 and 3b76d37dce.

This reverts commit bc9834dfe9.
2022-06-18 18:42:22 +02:00
agnostic-apollo a3e68e2b89 fix(workflows/packages.yml): Fix uploads to packages.termux.dev by using a working ip address for aptly
Related issue #11007
2022-06-18 17:44:33 +05:00
Jia Yuan Lo b469675248
ci(workflows/packages.yml): free disk space when building clvk 2022-06-18 11:54:05 +02:00
Butta 2056aad712 swift: clear up space on CI for longer aarch64 build, until 5.7 is out in a couple months 2022-06-17 16:39:16 +05:30