Igor Pecovnik
71e6cf9ab3
CI Bugfix - set default value when action is triggered by another
...
If action is triggered by another action we don't get value for how many build chunks we will have. Defaulting to 22 seems like a reasonable value in current situation - having 14 build runners.
2021-09-26 09:37:04 +02:00
Igor Pečovnik
e8c5d07a89
Switch to matrix jobs scheduler and upload build logs ( #3157 )
2021-09-26 08:42:24 +02:00
Igor Pečovnik
c18563980b
CI: Wait for background processes to finish ( #3156 )
2021-09-21 08:55:25 +02:00
Igor Pečovnik
208f3780cd
Update build.yml
2021-09-04 08:05:07 +02:00
Igor Pečovnik
1d17ab2592
Update build.yml
2021-09-04 08:01:16 +02:00
Igor Pecovnik
66e98e9827
Don't clean debs
2021-08-26 08:18:53 +02:00
Igor Pecovnik
60ac029b7a
Add option to inject prebuild debs to the runners
2021-08-25 19:55:36 +02:00
Igor Pečovnik
2e4446a143
Github action timeout bugfix
2021-08-22 00:19:00 +02:00
Igor Pečovnik
7898aebe8d
Double workers ( #3075 )
...
* Double workers
* Bugfix - adjust sufix
* Yet another bugfix
* What the heck. Lets double it once again ;)
* Bugfix
* Bugfix
2021-08-05 19:24:04 +02:00
Igor Pecovnik
12a0a80915
Our build pipelines can easily exceeds default Github jobs timeouts
...
Defaults are sets to 6 hours. Lets double it to 12 hours. If some worker still doesn't finish his job, we should consider removing it.
2021-07-23 14:33:40 +02:00
Igor Pečovnik
98d128df83
Additional fixes for CI runners ( #3048 )
...
* Trying
* update
* typo fix
* Bugfix - create directory prior copying config there
* More tiny bugfixes to build all beta and stable
* Adjust namings
2021-07-22 17:19:25 +02:00
Igor Pecovnik
4eeafeaa70
CI: Update / fix worker names
2021-07-22 11:41:42 +02:00
Igor Pečovnik
02dbeda3bc
Github actions update for making stable images ( #3040 )
...
* Make RC runner more universal and fix a bug in build beta images - calculating wrong paralleling parameter
* We don't need separate build config for RC images
2021-07-22 11:22:02 +02:00
lanefu
b1d82308db
RC upload flag ( #3027 )
...
* RC upload flag
* Update build-all-ng.sh
* Try RC Images
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-19 20:36:46 -04:00
Igor Pecovnik
0a92e39054
CI runners bugfix - better runner cleaning
2021-07-10 18:38:46 +02:00
lanefu
ec9a776aa1
need to clean debs-beta before run
2021-07-09 21:38:20 -04:00
Igor Pecovnik
48b5944470
Another Github runner functionality adjustement
...
When synching from our main rsync, lets remove cache that is not needed
2021-07-01 20:53:10 +02:00
Igor Pecovnik
39393ff4c7
Updating Github runner to update rootfs on each step
2021-07-01 20:43:04 +02:00
Igor Pečovnik
ca882616da
Synching Github runners cache with upstream ( #2949 )
...
* Improving Github actions for creating images
* Update single image building as well
2021-07-01 18:28:42 +02:00
Igor Pečovnik
9d1ed95d9a
Add cache rootfs creation cleanup for old files to Github Actions ( #2947 )
2021-07-01 16:23:39 +02:00
Igor Pecovnik
7c87bbd368
Github Action fix
2021-06-21 16:16:19 +02:00
Igor Pečovnik
c52a550380
Fixing wrong image type when building selected images with Github actions ( #2912 )
2021-06-21 14:45:19 +02:00
Igor Pečovnik
0f68faa917
Actions - missing gpg for nightly version bump
2021-06-18 11:03:40 +02:00
Igor Pecovnik
d166d16377
Githug Actions bugfix and optimisations
2021-06-14 21:26:08 +02:00
Igor Pečovnik
e65c7a9f80
Add image making action ( #2897 )
...
* Add image making action
* Security fix
* Add more info to the commit message
2021-06-14 18:59:04 +02:00
Igor Pecovnik
cdea7ae389
Making more conservative parallel build numbers
2021-06-13 15:53:33 +02:00
Igor Pecovnik
a2b3dc2afc
Making less images in parallel. Still getting OOM
2021-06-13 13:04:50 +02:00
Igor Pecovnik
ce41a39cd0
Tabs to spaces
2021-06-13 12:24:27 +02:00
Igor Pecovnik
4de37cab53
Improve killing process and rename action
2021-06-13 12:21:31 +02:00
Igor Pecovnik
a3564988ac
Adjust parallel build ratio
2021-06-13 12:18:19 +02:00
Igor Pecovnik
4d51b19596
Enable building desktop images
2021-06-13 11:56:37 +02:00
Igor Pecovnik
d78f8aa5eb
Size of CLI images is much smaller, so we can enable more concurrent builds
2021-06-13 11:15:16 +02:00
Igor Pecovnik
2685dd43bb
It doesn't go without bugs
2021-06-13 00:30:27 +02:00
Igor Pecovnik
af1811bdc4
Add two more runners for image building process
2021-06-13 00:19:45 +02:00
Igor Pecovnik
6c1326b896
fix
2021-06-12 20:32:55 +02:00
Igor Pecovnik
e3aed2ed54
Github actions - move clening to the first place
2021-06-12 19:59:09 +02:00
Igor Pecovnik
3b0f40ec50
Backend: runners cleaning bugfix
2021-06-12 17:11:47 +02:00
Igor Pecovnik
e8141aff1c
Backend: Make sure no temporally dirs are mounted from previous runs
2021-06-12 16:57:43 +02:00
Igor Pecovnik
e16f53af93
Lets have a dedicated tag for runners that will build images
2021-06-12 16:22:57 +02:00
Igor Pecovnik
21a55a7a59
Bugfix - we were not using correct key
2021-06-12 09:49:00 +02:00
Igor Pečovnik
0a669eb149
Add images building action ( #2893 )
...
* Add images building action
* Small security fix
* Bugfix
2021-06-12 07:47:51 +02:00
Igor Pečovnik
951d6bc26e
CI needs to merge nightly from master before start ( #2892 )
...
Also changed cronjob for start
2021-06-10 23:28:33 +02:00
Igor Pečovnik
bd222470d5
Fix permissions
2021-06-10 21:06:39 +02:00
lanefu
133b0d6b9e
assure test pr runs on big runners
2021-06-10 06:48:37 -04:00
Igor Pečovnik
5a4383b97c
Disable on push
...
Use cron and manual run for now
2021-06-10 11:18:48 +02:00
Igor Pečovnik
865ee53334
Update docker-to-hub.yml
2021-06-10 11:05:03 +02:00
Igor Pečovnik
863a009461
Set new CI pipeline as default. ( #2891 )
...
* Set new CI pipeline as default.
* cleanup
2021-06-10 11:03:49 +02:00
Igor Pecovnik
a0d2db2ace
Supress error in case we remove all hash files
2021-06-09 18:09:11 +02:00
Igor Pečovnik
cd6af68ceb
Quick fixes for CI ( #2888 )
...
* Fixes
* Remove not needed target
* cleanup
2021-06-09 17:53:05 +02:00
Igor Pecovnik
5e1e8f101a
Move Docker creation to public runner
2021-06-09 15:15:40 +02:00
Igor Pecovnik
4d84bd204b
CI related bugfix
2021-06-09 13:22:09 +02:00
Igor Pecovnik
8a9ad79c9e
Bugfix for CI actions - adding proper variable
2021-06-09 12:04:28 +02:00
Igor Pečovnik
e017b28cef
Enable advanced CI ( #2885 )
...
* Enable advanced CI
* Disable cron for now# Please enter the commit message for your changes. Lines starting
* Don't delete current CI yet
* Update name
* Bufix
* Check ownership
* Update secrets
2021-06-09 11:35:26 +02:00
Igor Pečovnik
9b0dd2b839
Fix broken Docker support ( #2804 )
...
* lsb-release package is getting deprecated
It is not present on Hirsute anymore so we better remove its dependency
* - remove lsb-release dependency from docker
- exit if Docker version is too low (check works only on Ubuntu builds, else doesn't do anything)
Reference: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1916485
* Cleanup
* Remove quotes for proper pkg install
* Automatically upgrade Docker engine
* Missing python dependencies
* Bugfix - debian name is not just one word
* Put this back
* provoke error
* Revert
* Adjust Github runner to make bionic and focal and compile u-boot for test
* Adjust cron
* Remove Bionic, cron back to 14 days
* Change to ubuntu-latest
2021-05-02 18:06:38 +02:00
Lane Jennison
74642ebbc0
limit builds to armbian repo
2021-05-02 11:29:21 -04:00
Igor Pecovnik
e1b237ff0c
Change build cron from every hour to every 3 hours
...
There is no need to check so often even it doesn't make any load
2021-02-02 02:14:47 +01:00
Igor Pečovnik
a07c6f6349
Update cron-beta-repository.yaml
2021-02-01 15:10:49 +01:00
Igor Pecovnik
5b1218d56e
Add another GitHub action to build beta packages on push or cron
2021-02-01 13:56:20 +01:00
Igor Pečovnik
0273551b7e
Fix Docker image creation
2021-02-01 11:19:31 +01:00
lanefu
de1f3c6309
prepare for multiarch ci
...
assure current job runs on x64
2020-12-27 10:28:28 -05:00
lanefu
22b5615594
try json output for future report tracking ( #2072 )
...
* try json output for future report tracking
* change bash env for shellcheck
* changes shellcheck step name
2020-06-29 23:18:17 -04:00
lanefu
537f8437ff
user newer shellcheck, with less aggress coverage ( #2058 )
2020-06-24 14:41:19 +02:00
lanefu
9f22c41b56
big fix for sudo chown
2020-06-17 23:58:06 -04:00
lanefu
176b7318f6
Add Shell check CI testing ( #2033 )
...
* using bash-based shellcheck instead of GitHub Marketplace action
* add color shellcheck option
2020-06-17 21:48:22 -04:00
Igor Pečovnik
27aa5ff727
Removing doubled action
2020-06-17 21:23:12 +02:00
lanefu
1ff911b57a
This Replicates the functionality of our Jenkins test-pr job ( #2031 )
...
move Jenkins pr testing to GitHub actions.
uses same logic for detecting changes in PR.
requires runner with public label
2020-06-17 15:20:08 -04:00
Igor Pečovnik
81747cc060
Create action to build Docker images ( #2020 )
...
Update them every two weeks
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-17 13:05:06 +02:00
Igor Pečovnik
4fa07e52ae
Enable GH action based CI for merge request ( #2029 )
2020-06-17 13:01:55 +02:00