Commit Graph

156 Commits

Author SHA1 Message Date
Igor Pečovnik
c0a9e7be34
Fix wrong label set for initiating CI at PR (#4093) 2022-08-20 08:50:08 +02:00
Igor Pečovnik
4508246322
Wrong folder for patch (#4091)
We want to build kernels if patches are changes. Any.
2022-08-19 22:30:51 +02:00
Igor Pečovnik
0388d79701
Small fixes and cleanup for action scripts (#4085) 2022-08-19 20:49:18 +02:00
Igor Pečovnik
cda4670dbe
Improve GitHub UX, text info & links (#4071) 2022-08-15 19:44:54 +02:00
Igor Pečovnik
9ef2f5ac40
Clean GitHub actions (#4065)
* Cleaning actions

* Update

* Update

* Update

* Update
2022-08-12 14:29:31 +02:00
Igor Pečovnik
b9b688b1a2
Set build name to version (#4060) 2022-08-11 18:06:26 +02:00
Igor Pečovnik
5321b4254a
Wrong copy & paste (#4040) 2022-08-10 18:57:07 +02:00
Igor Pečovnik
ef677ce921
Generate CI releases under their version instead of latest (#4052) 2022-08-08 08:18:48 +02:00
Igor Pečovnik
efc249205f
Update documentation for prepare self hosted runner (#4053) 2022-08-08 08:18:30 +02:00
Igor Pečovnik
be8b2dcf01
Cache creation cleanup (#4036)
* Cache creation cleanup

Closing https://github.com/armbian/build/issues/3531

* Remove monthoffset parameter from action script

* - address displaying which variant is needed
- remove not needed text
- change ROOT_FS_CREATE_ONLY to yes / no
2022-07-31 16:48:25 +02:00
Igor Pečovnik
07d7d1a077
Remove deprecated functionality (#4034)
* Remove deprecated functionality

Since we are storing version number outside, we don't neet to deal with month cache rebuild here. Removing the code

* Change cron to more appropriate date

We tend to make releases by the end of the month, so cache rebuild in the middle is better then at the start of the month
2022-07-31 11:28:44 +02:00
dependabot[bot]
bb43940f97
Bump igorjs/gh-actions-clean-workflow from 2 to 3 (#3987)
Bumps [igorjs/gh-actions-clean-workflow](https://github.com/igorjs/gh-actions-clean-workflow) from 2 to 3.
- [Release notes](https://github.com/igorjs/gh-actions-clean-workflow/releases)
- [Commits](https://github.com/igorjs/gh-actions-clean-workflow/compare/v2...v3)

---
updated-dependencies:
- dependency-name: igorjs/gh-actions-clean-workflow
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 15:06:16 +02:00
dependabot[bot]
7466687a77
Bump igorjs/gh-actions-clean-workflow from 1 to 2 (#3961)
Bumps [igorjs/gh-actions-clean-workflow](https://github.com/igorjs/gh-actions-clean-workflow) from 1 to 2.
- [Release notes](https://github.com/igorjs/gh-actions-clean-workflow/releases)
- [Commits](https://github.com/igorjs/gh-actions-clean-workflow/compare/v1...v2)

---
updated-dependencies:
- dependency-name: igorjs/gh-actions-clean-workflow
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-09 11:36:36 +02:00
dependabot[bot]
be5119af9e
Bump ossf/scorecard-action from 1.1.1 to 1.1.2 (#3962)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](3e15ea8318...ce330fde6b)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-09 11:36:26 +02:00
Igor Pečovnik
20ee8c5450
Add support for month cache, limit push to master branch (#3939)
* Add support for month cache, limit push to master branch
* Bump cache version
* Add calculator
* Control file can't be zero lenght
* Remove non-existing package
* Remove non-existing pkg
* Wrong secret used
* Fix broken packages
* Improve download methods. No more errors
* Fix mechanism for using old cache files
2022-06-28 18:04:31 +02:00
Igor Pečovnik
817bbca9ad
Move schedule checking deeper (#3933) 2022-06-25 18:34:46 +02:00
Igor Pečovnik
c38a66f19d
Github Actions fine tuning (#3923) 2022-06-23 08:29:24 +02:00
dependabot[bot]
4e866b966f
Bump crazy-max/ghaction-import-gpg from 3 to 5 (#3922)
* Bump crazy-max/ghaction-import-gpg from 3 to 5

Bumps [crazy-max/ghaction-import-gpg](https://github.com/crazy-max/ghaction-import-gpg) from 3 to 5.
- [Release notes](https://github.com/crazy-max/ghaction-import-gpg/releases)
- [Changelog](https://github.com/crazy-max/ghaction-import-gpg/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crazy-max/ghaction-import-gpg/compare/v3...v5)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-import-gpg
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Adjust for new version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-06-21 11:20:43 +02:00
Igor Pečovnik
e80e598007
Rebase action needs write access (#3920) 2022-06-20 15:16:33 +02:00
Igor Pečovnik
fd0b0e0fb4
Refactor rootfs - typo bugfix (#3916) 2022-06-19 19:22:37 +02:00
Igor Pečovnik
bbc57cb530
Action script for checking integrity of images (#3915)
* Action script for checking integrity of images

* Remove duplicate line
2022-06-19 19:21:39 +02:00
Igor Pečovnik
2be19abd56
Action scripts cleaning and functional testing (#3914) 2022-06-19 12:37:53 +02:00
Igor Pečovnik
f2b5a34b91
Refactor rootfs caching (#3895) 2022-06-18 23:56:36 +02:00
Igor Pečovnik
1cccbf481e
Several small fixes to CI scripting (#3905)
* Restore permission to make script work

We need to rework this, but until then things has to work.

* Permission issuers

* We don't try to cancel previous as it doesn't work

* Update

* Renaming, remove deprecated

* Add comments

* Prevent running scorecard on forks

* Update
2022-06-18 23:53:45 +02:00
Igor Pečovnik
887147c82f
Fix githash cache and images creation with CI (#3854) 2022-06-15 21:16:23 +02:00
Igor Pečovnik
1dddf78cd0
Add Scorecards' GitHub action (#3882) 2022-06-11 18:17:40 +02:00
dependabot[bot]
1f0993b02c
Bump peter-evans/repository-dispatch from 1 to 2 (#3891)
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 1 to 2.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 18:16:04 +02:00
dependabot[bot]
10d5d69c7e
Bump actions/checkout from 2 to 3 (#3890)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 18:15:38 +02:00
dependabot[bot]
7a7e61e114
Bump actions/labeler from 3 to 4 (#3889)
Bumps [actions/labeler](https://github.com/actions/labeler) from 3 to 4.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v3...v4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 18:15:18 +02:00
dependabot[bot]
f1cbe05499
Bump cirrus-actions/rebase from 1.4 to 1.7 (#3887)
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.4 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.4...1.7)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 18:14:50 +02:00
dependabot[bot]
d7a43cab4e
Bump actions/upload-artifact from 2 to 3 (#3888)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 18:13:51 +02:00
Naveen
4577254e20
chore: Set permissions for GitHub actions (#3880)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-11 18:04:11 +02:00
Igor Pečovnik
9a661d7af9
Add support for build all images to build train (#3785)
* Extend build capacity

* Update build-train.yml

* Update build-train.yml

* Update build-train.yml

* Update build-images.yml

* Update build-images.yml

* Update build-images.yml

* Update build-images.yml
2022-06-01 17:12:11 +02:00
Igor Pečovnik
3dbba8e8ea
Github action for generating desktops does not start (#3745) 2022-05-03 08:01:43 +02:00
Igor Pečovnik
19ca6f1f4e
Run changes checking workflow with reference parameter (#3664) 2022-04-11 17:47:20 +02:00
Igor Pečovnik
708a4851fb
Add missing packages creation to build train (#3632)
* Add missing packages creation to build train

* Improved HASH calculation

Now it also checks series which were before invisible.

* Revert

* Bugfix

* Save git hash of patch files and kernel configuration file (#3636)

* Save git hash of patch files and kernel configuration file

* Storing values to the file. Now we have config hash separate.

todo: adjust on the checking side

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-04-05 15:41:58 +02:00
Igor Pečovnik
af903b2ccd
Move Docker image to Ubuntu 22.04 LTS (#3481)
* Add tested Docker files for current Debian / Ubuntu, defaulting to Jammy

* Update update-docker.yml

* Update update-docker.yml

* Solving with Docker run parameters

* Just variable name change

* Update update-docker.yml

* Change to master

Also merge https://github.com/armbian/scripts/pull/6

* Set default values

* Add missing libssl1.1
2022-03-30 07:26:59 +02:00
Igor Pečovnik
47932ea511
Fixing pull request trigger (#3575) 2022-03-26 12:45:52 +01:00
Igor Pečovnik
81d58c64f1
Changing build runners on main build train (#3566)
* Changing build runners only

* Update build-train.yml
2022-03-25 19:18:17 +01:00
Igor Pečovnik
bcbe9479fa
Build images on PR if label is set to "Desktop" (#3567)
* Enable creating images on PR when label is set to "Desktop"
* Only approved can start this action
2022-03-25 09:49:04 -04:00
Igor Pečovnik
d81155f331
Sync beta repository in the CI process (#3548)
* Sync servers after repository is updated

* Update build-train.yml

* Sync servers before building images
2022-03-22 01:12:09 +01:00
Igor Pečovnik
387df71566
Actions: run build train from any branch (#3465) 2022-02-07 12:58:58 +01:00
Igor Pečovnik
249c20c7e2
Fixes to build train and small changes to README (#3433)
- set proper badge for building
- adjust title: build tools -> build framework
- keeping text relevance
- add / remove partner logos
2022-01-24 17:11:38 +01:00
Igor Pečovnik
459ebf8d15
Enable x86 desktop build targets (#3431)
* Enable x86 desktop build targets
* Also fix build train
2022-01-24 16:32:23 +01:00
Igor Pečovnik
821a2e557d
Cancels previous runs associated with a workflow (#3426) 2022-01-22 19:44:43 +01:00
Igor Pečovnik
d501e387cf
Update build-kernel-on-merge-request.yml (#3425) 2022-01-22 19:29:16 +01:00
Igor Pečovnik
fbda1e82c6
Add DUT smoke tests script (#3402) 2022-01-20 14:45:48 +01:00
Igor Pečovnik
4f942e3e50
Manual bump (#3398) 2022-01-12 11:54:43 +01:00
Igor Pečovnik
b5de98aa9b
Actions bugfix (#3397) 2022-01-12 09:33:35 +01:00
Igor Pečovnik
110235ad05
Github actions tweaks (#3383) 2022-01-11 15:26:28 +01:00