Commit Graph

148 Commits

Author SHA1 Message Date
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
362b2f3363
chore: Included githubactions in the dependabot config (#3884)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-11 18:07:19 +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
a30d029a24
Adjust auto labeller according to label changes (#3740) 2022-05-03 07:53:10 +02:00
Igor Pečovnik
19ca6f1f4e
Run changes checking workflow with reference parameter (#3664) 2022-04-11 17:47:20 +02:00
CXM
57787e72f5
chore(readme): fix readme docs (#3631)
* chore(readme): fix readme docs

* chore(readme): fix discord link

* chore: readme

* chore(readme): fix jira link
2022-04-07 01:10:58 +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
Igor Pečovnik
6bfc83b7ab
Fixes for Github Actions (#3379)
* Update build-beta-images.yml

* Update build-kernel-on-merge-request.yml

* Update build-train.yml
2022-01-06 11:50:43 +01:00
Igor Pečovnik
7f556dc1b9
Assemble needed runs into a GH Actions build train (#3366) 2021-12-25 23:05:04 +01:00
Igor Pečovnik
c2ca3e3ebd
Github Actions update (#3361) 2021-12-20 00:41:50 +01:00
Igor Pečovnik
36d0bdcaff
Varius updates to CI scripts (#3359)
* RFC u-boot CI to more modern way
2021-12-19 01:02:16 +01:00
Igor Pečovnik
2b643991c8
Github Actions - improve beta build process (#3353) 2021-12-16 16:10:33 +01:00
Igor Pečovnik
7024f2fb60
Cosmetic - fix kernel CI artefact package naming (#3345) 2021-12-14 08:14:22 +01:00
Igor Pečovnik
6b8ca7f6b2
Backend - enable bind mount with Github actions (#3343) 2021-12-13 00:25:20 +01:00
Igor Pečovnik
ae5afb0bd0
Skip workflow if previous step failed, fix runner arch dependency (#3331) 2021-12-09 11:15:06 +01:00
Igor Pečovnik
c0ef5f0666
Improve CI test builds (#3327) 2021-12-07 20:13:15 +01:00
Igor Pečovnik
b054239120
Enable desktop packages creation after kernel is built (#3324) 2021-12-06 23:53:39 +01:00
Igor Pečovnik
9c730fb27b
Github actions - adding desktop package builder (#3323)
* Cleanup
* Adding desktop package builder
2021-12-06 21:03:48 +01:00
Igor Pečovnik
2ab8795ae9
Github actions fixes (#3319) 2021-12-05 17:39:26 +01:00
Igor Pečovnik
2aa23f485e
A pack of CI fixes (#3315) 2021-12-04 23:42:10 +01:00
Igor Pečovnik
43b4d75fb2
Several tiny improvements of GH actions (#3304) 2021-12-02 00:34:15 +01:00
Igor Pečovnik
42588b585a
Add composite actions to support cache build process (#3302) 2021-11-30 21:51:32 +01:00
Igor Pečovnik
a55122a1d2
Another pack of updates for Github actions (#3288) 2021-11-23 22:37:06 +01:00
Igor Pečovnik
9b36028128
Add action to build qemu image inside CI created Docker image (#3285)
* Add action to build qemu image inside CI created Docker image
* Disable automatic executing until its not tested
2021-11-22 14:26:32 +01:00
Igor Pečovnik
c1b8ab8755
Recreate Docker image on every code change (#3276)
* Add switch for clean Docker image preparation
* Link image to our GitHub repository
* Switch to Github repo
* Minimal variant
* Rename
2021-11-21 09:41:31 +01:00
Igor Pečovnik
d924b214c9
Batch of CI improvements (#3273) 2021-11-20 19:47:52 +01:00
Igor Pečovnik
eb60188ad1
Update Github actions scripts (#3209) 2021-11-09 18:31:48 +01:00