Commit Graph

210 Commits

Author SHA1 Message Date
Yaksh Bariya 4abbbdf455
stalebot: Ignore issues for package requests 2021-11-18 20:38:27 +05:30
Yaksh Bariya 5027722535
Add config for stalebot 2021-11-18 19:16:07 +05:30
Yaksh Bariya 99468e7fa8
Fix typo in packages.yml 2021-11-04 19:59:01 +05:30
Yaksh Bariya f3eae9f980
CI: Also package debs for subpackages when workflow_dispatch 2021-11-04 19:38:17 +05:30
Yaksh Bariya 46423f3675
CI: limit package-updates actions scope
Running this action in forks has literally no sense
2021-10-31 10:33:30 +05:30
Leonid Pliushch 3194a85278
github actions: introduce workflow_dispatch trigger for rebuilding packages 2021-10-26 20:19:10 +03:00
Lucinda May Phipps 80a69bf5e0
packages.yml: allow packages with + in name 2021-10-23 13:40:37 +01:00
Leonid Pliushch 8bde94f6a3
github actions: don't use --retry-all-errors curl option as unavailable in this version 2021-10-09 00:24:54 +03:00
Leonid Pliushch 23ba08388b
github actions: get rid of retry loops 2021-10-08 23:48:58 +03:00
Leonid Pliushch 160e810be8
github actions: use cloudflare endpoint in all problematic places
Should finally resolve issues with uploads.
2021-10-08 23:36:57 +03:00
Leonid Pliushch b8b89471f5
github actions: upload delays 30s, retries 3
Do less retries but with higher delay. Previous config didn't work.
2021-10-08 23:24:30 +03:00
Leonid Pliushch 5272d228e5
github actions: specify own user agent for all curl commands 2021-10-08 14:05:25 +03:00
Leonid Pliushch df3a651aa8
github actions: package upload delays 10s and 10 retry attempts
Also noticed that planned initial delay of 3s hasn't been implemented at
all.
2021-10-08 14:01:17 +03:00
Leonid Pliushch 938f0e4da6
github actions: don't exit with failure status on publishing
Revert to old behavior: if connection has been dropped, do not exit
with failure status.
2021-10-07 16:43:29 +03:00
Leonid Pliushch 8c7b2298f5
github actions: retry problematic steps up to 5 times 2021-10-07 16:41:21 +03:00
Leonid Pliushch 49e2fe69cd
github actions: fix curl command for publishing step 2021-10-07 15:52:53 +03:00
Leonid Pliushch 9fc7764e09
github actions: mask curl exit code 2021-10-07 15:36:30 +03:00
Leonid Pliushch c4ac6712bc
github actions: manually handle curl exit code 52 2021-10-07 15:08:36 +03:00
Leonid Pliushch 19acaed7cd
github actions: add time tracking to upload logs 2021-10-07 15:02:11 +03:00
Leonid Pliushch 150479d560
github actions: retry up to 3 times when connection has been dropped 2021-10-07 14:49:01 +03:00
Leonid Pliushch c8a0cfc528
github actions: fix undefined variable in error message 2021-10-07 13:56:23 +03:00
Leonid Pliushch 2283ce7ecd
github actions: fix auto updates script name 2021-10-04 13:23:28 +03:00
Leonid Pliushch 74e4f276c6
scripts: move script for updating packages to bin directory 2021-10-04 13:22:07 +03:00
Henrik Grimler 863ba02411
CI: loop over every tar in termux-packages subfolder 2021-09-21 08:46:23 +02:00
Oskar a30b9e1565
github actions: split artifacts per architecture (#7549) 2021-09-20 18:59:32 +03:00
Leonid Pliushch 4f7e3a11f2
github actions: fix tagging in bootstrap_archives.yml 2021-09-17 23:39:35 +03:00
Leonid Pliushch 33f4b5ca5d
github actions: escape multiline output in bootstrap_archives.yml 2021-09-17 22:17:26 +03:00
Leonid Pliushch 4ee3dd0051
github actions: fetch full git history for bootstrap_archives.yml 2021-09-17 22:06:18 +03:00
Leonid Pliushch ac317d7202
github actions: attach checksums to bootstrap archives release info 2021-09-17 22:02:25 +03:00
Leonid Pliushch 2b63f877c5
github actions: fix typo in bootstrap_archives.yml 2021-09-17 21:57:42 +03:00
Leonid Pliushch e2402dfceb
github actions: set job dependencies in bootstrap_archives.yml 2021-09-17 21:52:48 +03:00
Leonid Pliushch 399cc87aa9
github actions: use separate job for publishing bootstraps 2021-09-17 21:49:08 +03:00
Leonid Pliushch 642d8e5616
github actions: fix missing id for step in bootstrap_archives.yml 2021-09-17 21:46:21 +03:00
Leonid Pliushch 008fc88e7c
github actions: publish releases for bootstrap archives workflow 2021-09-17 21:42:04 +03:00
Leonid Pliushch 8806f8c86f
github actions: fix syntax in bootstrap_archives.yml 2021-09-17 21:08:13 +03:00
Leonid Pliushch 8e5fbb77ef
github actions: add basic workflow for building bootstraps 2021-09-17 21:06:06 +03:00
Leonid Pliushch 6a54b19a37
github actions: explicitly set output directory
Maintain compatibility after changing default output dir to ./output
2021-09-10 19:55:32 +03:00
Leonid Pliushch 47ffead055
github actions: ignore errors when adding deb files to aptly pool
This should be safe. But if there real error occur, CI may finish with
false "success" status and we will not know about the happened issue.
2021-09-10 19:05:22 +03:00
Henrik Grimler 1279b73345 bug-report template: fix indentation in additional info box 2021-08-15 16:02:39 +02:00
Henrik Grimler b11db1f4b3 bug report template: fix multi line text in additional info box 2021-08-15 16:01:33 +02:00
Henrik Grimler 06e0f67a7c bug-report template: add code block for termux-info 2021-08-15 16:00:50 +02:00
Henrik Grimler 6864373b31 bug-report-template: minor language changes 2021-08-15 15:56:01 +02:00
Leonid Pliushch 726ea2ee65
update bug report form 2021-08-15 00:54:32 +03:00
Leonid Pliushch ccd08308f8
disable blank issues, add link to discussions 2021-08-14 16:28:27 +03:00
Leonid Pliushch 93ef5e9995
replace issue templates with forms
Enforce properly structured bug reports and package requests.
2021-08-14 15:54:40 +03:00
Leonid Pliushch 1a60935480
update CONTRIBUTING.md 2021-07-31 18:36:43 +03:00
Leonid Pliushch fea2a2730f
github actions: add newline after curl output 2021-07-30 18:20:26 +03:00
Leonid Pliushch f7045ad7c5
github actions: ignore timeout when publishing repo changes 2021-07-30 18:07:10 +03:00
Leonid Pliushch 7ffda0cf62
automatic updates: use Termux email for git
Do not use my email for automated commits, so GitHub won't assign them to
my account.
2021-07-22 21:27:42 +03:00
Butta 2890f0748f github actions: don't free disk space on CI unless needed for large builds 2021-06-28 08:30:49 +03:00
Yaksh Bariya 4c77ed98d9 CI: Do not stop all tests on failure of one
This can be helpful while building large packages which often fail to
compile on some archs but compile well on other
2021-06-24 10:38:57 +03:00
Leonid Pliushch a33bfe8acc
Revert "github actions: remove package_updates.yml (automatic updates)"
This reverts commit 468b4d4063.
2021-06-13 22:21:41 +03:00
kcubeterm ea21737860 added another fosshost logo 2021-06-08 05:21:56 +00:00
kcubeterm 147303883f Added fosshost logo 2021-06-08 05:06:42 +00:00
Leonid Pliushch c1971731f8
github actions: only upload packages specified in debs/built_packages.txt 2021-06-04 17:08:17 +03:00
Leonid Pliushch b1c0480ea7
github actions: run ./build-package.sh with -I again 2021-06-04 00:34:22 +03:00
Leonid Pliushch 5923e26410
github actions: uploader message fix 2021-06-03 19:36:19 +03:00
Leonid Pliushch 62e458e507
github actions: fix repository publishing step 2021-06-03 18:35:51 +03:00
Leonid Pliushch 90a703a7f2
github actions: more complete error handling for uploads 2021-06-03 17:38:57 +03:00
Leonid Pliushch 101ae1396a
github actions: delete temporary directory from server if package upload failed 2021-06-03 16:56:10 +03:00
Leonid Pliushch 3ff64f973d
github actions: finally remove uploads to grimler.se
Shouldn't be needed anymore.
2021-06-03 15:52:57 +03:00
Leonid Pliushch 9104125493
github actions: provide gpg passphrase via secrets
No need to keep gpg-agent running on server side anymore.
2021-06-03 01:37:30 +03:00
Leonid Pliushch b5bdfe3522
Revert "github actions: disable uploads to grimler.se"
This reverts commit bc0642e5d7.
2021-06-03 01:10:50 +03:00
Leonid Pliushch bc0642e5d7
github actions: disable uploads to grimler.se
don't fill grimler.se with test packages
2021-06-03 01:00:02 +03:00
Leonid Pliushch 3155996cec
github actions: debugging package upload 2021-06-03 00:59:29 +03:00
Leonid Pliushch 2f63574e2b
github actions: initial support of uploading to packages.termux.org 2021-06-03 00:16:03 +03:00
Leonid Pliushch 719957fa2a
Revert "fix" for curl in Github Actions
It doesn't work.
2021-05-26 16:45:50 +03:00
Krishna Kanhaiya ea9e0dde42
Github actions: Enable -I options again. 2021-05-26 09:09:22 +05:30
Jia Yuan Lo 391c5a2876 Fix for curl timeout in GitHub Actions 2021-05-26 09:07:25 +05:30
Leonid Pliushch 0287e528ff
github actions: do not use option '-I' for build-package.sh again
Maybe really switch Cirrus CI if Github Actions can't provide normal networking?

This reverts commit c17ea7ff1b.
2021-05-19 16:51:37 +03:00
Leonid Pliushch c17ea7ff1b
Revert "github actions: do not use option '-I' for build-package.sh"
This reverts commit 96b4e572d6.
2021-05-18 22:46:49 +03:00
Henrik Grimler e62c896722 workflows: re-structure upload job
To try to fix job error.
2021-05-15 22:54:45 +02:00
Henrik Grimler 692bc9429e workflows: fix forgotten parameter in packages.yml 2021-05-15 22:33:15 +02:00
Henrik Grimler 9f44c4f496 workflows: do not error on upload step if there are no debs
As is the case when using ci:no-build for example.
2021-05-15 22:25:17 +02:00
Leonid Pliushch 96b4e572d6
github actions: do not use option '-I' for build-package.sh
Connections to apt repositories often stuck, cause builds to time out.
As there no issues on repository side and connection problem is reproducible
only on Github Actions instances, I can only assume that there is either a
some bug in CI virtual machines setup or Github applies undocumented(?)
limits on networking usage.

Removing '-I' option will disable downloading of prebuilt dependencies
and thus networking usage at cost of increased build times.
2021-05-06 19:31:27 +03:00
agnostic-apollo fd746bdd48
Update bug_report.md 2021-05-03 15:58:18 +05:00
Leonid Pliushch cbdd1cf4c7
CI: revert changes to Docker workflow.
Credentials were removed from repository secrets and that's why login doesn't
work.

This reverts commit c4e244effc.
This reverts commit c8988499dc.
2021-03-29 17:49:37 +03:00
Leonid Pliushch c4e244effc
CI: remove quotes for credentials in Docker image workflow 2021-03-29 17:46:49 +03:00
Leonid Pliushch c8988499dc
CI: update workflow for Docker image
Try to supply credentials a bit differently.
2021-03-29 17:25:50 +03:00
Leonid Pliushch 245d0a32d8
CI: free even more space
Now we should have >60 GB free on rootfs.
2021-03-28 23:09:49 +03:00
Leonid Pliushch e214ccdee4
CI: free more space 2021-03-28 23:00:11 +03:00
Leonid Pliushch 2b07eeaaed
github actions: termux-packages uses ./scripts/run-docker.sh instead of ./start-builder.sh 2021-03-02 15:18:53 +02:00
Henrik Grimler f36b4a5ac2
github actions: print subpackages to built_packages.txt as well (#6469)
But only (try to) build the main packages. For each modified package
we check if there are subpackages and in that case save them in
built_packages.txt as well, so that the repository server does not
have to parse the git repo to find out if there are subpackages.
2021-03-01 08:52:25 +01:00
Leonid Pliushch 8487bd8018
bintray repository is now in archive mode
Even though JFrog continued Bintray normal operation until 31 Mar 2021, I'm
disabling Github Actions uploads now. Termux Bintray repository continues to
be available in read-only mode until the final shutdown by JFrog.
2021-02-28 18:15:46 +02:00
Leonid Pliushch fa47b40bb7
github actions: append commit hash to artifacts archive name (#6450) 2021-02-25 13:05:07 +01:00
Leonid Pliushch 95153d0052
github actions: shouldn't be necessary to re-download artifacts
This is already done at the beginning of upload task.
2021-02-24 23:53:40 +02:00
Leonid Pliushch 47a95b59f6
github actions: append git commit hash to artifacts archive name 2021-02-24 23:52:17 +02:00
Henrik Grimler de2729bc3f packages.yml: append random suffix to archive
To not override previous archives that might not have been parsed yet.
2021-02-23 22:18:38 +01:00
Henrik Grimler 3ede21be70 CI: upload debs to grimler.se as well
Will turn off the bintray mirroring for grimler.se once I confirm (as
well as I can) that this works as intended. Will upload a wiki page
with some information about how this is set up on the server in case
someone wants to make a similar setup.

Also use v2 for upload- and download-artifact.
2021-02-14 16:34:26 +01:00
Leonid Pliushch 95e98e8e95
github actions: remove repology metadata workflow 2021-02-11 21:15:03 +02:00
Leonid Pliushch 555cf17c27
update package request template 2021-02-11 15:10:44 +02:00
Leonid Pliushch 9113607bac
github actions: disable whatprovides database update
Bintray returns "405 Not Allowed" and is deprecated anyway.
2021-02-09 15:18:07 +02:00
Leonid Pliushch 468b4d4063
github actions: remove package_updates.yml (automatic updates)
Begin phasing out dl.bintray.com/termux/termux-packages-24.

Before Bintray will go read-only (28 Feb), we need to ensure that
its repo has consistent state and no/minimal amount of issues as
large amount of users will continue to use it until Bintray finally
go down.

I still leaving autobuild/autodeploy (packages.yml) to Bintray repo
to process all remaining updates or pull requests with for short time.
2021-02-08 18:15:57 +02:00
Leonid Pliushch 980500a2f7
CI: update-whatprovides-db: exit if ./debs directory is empty 2021-01-07 14:29:30 +02:00
Leonid Pliushch fe6d6d4044
add manual Github Actions workflow for regenerating apt lists
Equivalent of `./scripts/package_uploader.sh --regenerate` which needs
admin credentials for apt repo.
2021-01-03 00:05:00 +02:00
buttaface 4e6ca12500
CI: free more disk space in the VM 2020-12-21 17:40:07 +02:00
Leonid Pliushch 2aed379af2
CI: package updates: use my token for cloned repo 2020-12-18 00:26:53 +02:00
Leonid Pliushch 6ab6ffa865
CI: fetch all commits in package_updates.yml 2020-12-18 00:07:12 +02:00
Leonid Pliushch ae12994deb
CI: allow to purge old debfiles manually 2020-12-17 23:55:34 +02:00
Leonid Pliushch 19fec71992
CI: allow to regenerate Repology metadata manually 2020-12-17 23:54:49 +02:00