1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 23:46:40 +00:00
Commit Graph

235 Commits

Author SHA1 Message Date
Tee KOBAYASHI
46f798a59d firefox: Bump to 114.0 2023-06-07 21:27:52 +09:00
Yaksh Bariya
c2039d6d11
chore,ci(bootstrap_archives,docker_image): do not run on forks 2023-05-23 12:35:16 +05:30
Tee KOBAYASHI
0fa8530659
workflows: Use TERMUXBOT2_TOKEN
instead of `GH_API_KEY`.
2023-02-08 21:59:42 +01:00
Henrik Grimler
b6b54ac468
scripts: fix minor typo in command_not_found.yml 2023-01-13 16:02:27 +01:00
Yaksh Bariya
6e28915048
fixup,ci(command_not_found): fix errors 2023-01-13 19:45:13 +05:30
Yaksh Bariya
d81d489572
fixup,ci(command_not_found): fix cron schedule 2023-01-13 19:43:20 +05:30
Yaksh Bariya
3db2853959
ci(command_not_found): auto-rebuild command-not-found weekly
Should hopefully keep the database up to date
2023-01-13 19:40:30 +05:30
Yaksh Bariya
2c7b4c0127
ci(bootstrap_archives): update upload-release-action and do not generate
checksums

upload-release-action@v4.1.0 now handles checksum by itself. No need to
take it in our hands
2023-01-04 19:48:11 +05:30
dependabot[bot]
ab4bdbc78e build(deps): bump termux/upload-release-action from 4.0.0 to 4.0.2
Bumps [termux/upload-release-action](https://github.com/termux/upload-release-action) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/termux/upload-release-action/releases)
- [Changelog](https://github.com/termux/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/termux/upload-release-action/compare/v4.0.0...v4.0.2)

---
updated-dependencies:
- dependency-name: termux/upload-release-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 11:39:58 +00:00
Yaksh Bariya
9a526efb84
Revert "ci(bootstrap_archives): upload-release-action v4.0.1"
I should have checked that there is no nodejs18 available for now. Need
to start reading documentation :) Lots of chaos for the day

This reverts commit 0e67438e38.
2022-12-28 20:46:38 +05:30
Yaksh Bariya
0e67438e38
ci(bootstrap_archives): upload-release-action v4.0.1 2022-12-28 20:39:23 +05:30
Yaksh Bariya
217c8657c2
fixup,ci(bootstrao_archives): generate sha256sums file 2022-12-28 17:23:32 +05:30
Yaksh Bariya
1c73b38c3e
cibootstrap_archives): do not include sha256 sums in release body
Although convenient, this seems to have been broken after moving to new
environment files of GitHub Actions. I have no idea how GitHub actually
parses the file, so I don't know what hack, and how will allow us to
have sha256sums on the release body again. In case anyone knows, feel
free to open up a PR.

Also, for the checksums generations, I'm planning to move this to
'upload-release-action' action only. See
https://github.com/termux/upload-release-action/issues/4
2022-12-28 17:05:25 +05:30
Yaksh Bariya
7cee2f3d37
ci(bootstrap_archives): do not escape multiline output
It seems to be causing issues. Let's see if disabling it helps. If not,
I'll open up a new issue to address the same, cause I am not sure of
what's the correct way of fixing it
2022-12-28 16:45:20 +05:30
Yaksh Bariya
35dc6584c8
ci(bootstrap_archives): use v4.0.0 of upload-release-action 2022-12-28 16:34:40 +05:30
Yaksh Bariya
3759c26c84
chore,ci(bootstrap_archives): do not use deprecated set-output
See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-12-27 15:54:27 +05:30
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
dependabot[bot]
505f04f2b0
build(deps): bump docker/login-action from 1 to 2 (#12629)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-30 00:09:05 +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
agnostic-apollo
e9dae011e2 fixed(bootstrap_archives.yml): Do not use natural sort while generating bootstraps.sha256sum 2022-09-17 08:22:55 +05:00
babaric-dev
e1b1509c6e fixed(bootstrap_archives.yml): fix invalid file parameter for bootstraps github release upload job broken in 4af58fc0
Related pull request #11960 and #11956
2022-09-17 08:10:16 +05:00
babaric-dev
4af58fc016 chore,ci(bootstrap_archives): Add sha256sum to releases 2022-09-16 23:07:02 +08: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
47e6537bb2
ci(docker_image.yml): workaround for sometimes unstable ghcr.io
ghcr.io sometimes drops connection when image is pushed from GitHub
Actions. I never observed that behavior when pushing the image built
locally, so don't know what triggers that issue.

The workaround is to just try pushing the image again.
2022-07-23 11:32:57 +03:00
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
6cf9f35fac
scripts,ci(*): use termux.dev instead of termux.org
We are now mainly promoting and using termux.dev, so lets switch all
the urls.
2022-07-02 10:41:16 +02: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
Henrik Grimler
bc9834dfe9
ci(workflows/packages.yml): use packages.termux.dev for uploads
We are migrating from termux.org to termux.dev for all services. .org
redirects to .dev, so should be backward compatible, but url for aptly
scripts need to be updated as they do not handle returned http code
301/302.
2022-06-12 15:15:07 +02:00
agnostic-apollo
aecb8bd19d
Fixed(bootstrap_archives): Fix prevent parallel runs implemented in 332e1550
The workflow is not valid. .github/workflows/bootstrap_archives.yml (Line: 9, Col: 10): Unexpected type of value '', expected type: String.
2022-05-29 05:28:33 +05:00