Commit Graph

80 Commits

Author SHA1 Message Date
dependabot[bot]
c857c9e95d build(deps): bump vmactions/freebsd-vm from 0.1.6 to 0.2.0
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.6 to 0.2.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.6...v0.2.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 08:23:18 +01:00
Mario Limonciello
c33772c413 trivial: revert back to Ubuntu 20.04 for the github workflows
For some reason the Azure mirror is failing *again* with systemd.
This doesn't seem to affect the Circle CI builds this time though.
2022-07-06 09:23:28 -05:00
Mario Limonciello
9b30739d76 trivial: change docs to a meson feature (Fixes: #4791) 2022-07-01 10:56:12 +01:00
Mario Limonciello
ac55012001 Revert "trivial: move some jobs back to Ubuntu 20.04 to fix CI"
This reverts commit 8035b48158.
2022-06-28 08:29:16 -05:00
Mario Limonciello
f349ec4273 trivial: setup buildx before logging in 2022-06-26 23:18:29 -05:00
Mario Limonciello
5c6c4f20a8 trivial: revert permissions in create_containers for now 2022-06-26 21:39:58 -05:00
Mario Limonciello
aa97dff184 trivial: allow read/write to packages 2022-06-26 21:36:44 -05:00
Mario Limonciello
95eab5b7de trivial: login to gch registry separately 2022-06-26 20:36:37 -05:00
Mario Limonciello
8035b48158 trivial: move some jobs back to Ubuntu 20.04 to fix CI 2022-06-26 16:01:10 -05:00
Mario Limonciello
47756bbdf3 trivial: fix publishing of docker containers 2022-06-13 06:56:35 -05:00
Mario Limonciello
ae59855233 trivial: Revert "Revert "build(deps): bump docker/build-push-action from 1 to 3""
This reverts commit 7ac253dbb8.

It seems this didn't fix container generation.
2022-06-13 00:39:54 -05:00
Mario Limonciello
996fc8d242 trivial: Revert "Revert "build(deps): bump actions/upload-artifact from 2 to 3""
This reverts commit 793aa9a365.
2022-06-13 00:39:38 -05:00
Richard Hughes
06a2dcf62b Remove gtkdoc build option
We've seen that gi-docgen is active and other projects are switching to
it. Remove the legacy (and slow) gtk-doc build support.
2022-06-11 21:26:46 +01:00
Richard Hughes
4b98d730e7 Use the latest LTS version for CI, harder 2022-06-11 21:26:46 +01:00
Richard Hughes
51ac33be7e Use the latest LTS version for CI 2022-06-11 17:10:06 +01:00
Mario Limonciello
7ac253dbb8 Revert "build(deps): bump docker/build-push-action from 1 to 3"
This reverts commit 77928fc4b3.
2022-06-10 21:51:15 -05:00
Mario Limonciello
793aa9a365 Revert "build(deps): bump actions/upload-artifact from 2 to 3"
This reverts commit 0a79a6e737.
2022-06-10 21:50:45 -05:00
naveen
ea395eff83 chore: Set permissions for GitHub actions
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-06 08:47:52 +01:00
dependabot[bot]
0a79a6e737 build(deps): bump actions/upload-artifact from 2 to 3
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>
2022-06-06 08:42:45 +01:00
dependabot[bot]
c58070a9b1 build(deps): bump jimschubert/query-tag-action from 1 to 2
Bumps [jimschubert/query-tag-action](https://github.com/jimschubert/query-tag-action) from 1 to 2.
- [Release notes](https://github.com/jimschubert/query-tag-action/releases)
- [Commits](https://github.com/jimschubert/query-tag-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: jimschubert/query-tag-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:42:25 +01:00
dependabot[bot]
77928fc4b3 build(deps): bump docker/build-push-action from 1 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 1 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v1...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:41:56 +01:00
dependabot[bot]
56201cc71d build(deps): bump vmactions/freebsd-vm from 0.1.5 to 0.1.6
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 08:41:34 +01:00
naveen
8e371c5ed3 chore: Included githubactions in the dependabot config
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-06 07:51:46 +01:00
Richard Hughes
4199c694b1 Fix a CI failure for any distro using git >= 2.35.3 2022-04-23 08:27:34 +01:00
Mario Limonciello
d599c90da0 trivial: allow manually running the container generation workflow 2022-04-22 08:34:12 -05:00
Richard Hughes
f7e006c491 trivial: Remove now-fixed workaround for runc 2022-04-22 11:58:05 +01:00
Richard Hughes
103e4ed889 trivial: Make the language in the stale job more pathetic 2022-04-21 15:30:55 +01:00
Richard Hughes
8994baac4e Port from LGTM to CodeQL 2022-04-05 14:45:42 +01:00
Richard Hughes
8a349e17af Include macos-10.15 and macos-11 in CI builds 2022-03-22 14:57:08 +00:00
Richard Hughes
b43bf44e13 trivial: Fix FreeBSD CI build harder 2022-03-21 08:43:30 +00:00
Richard Hughes
92515d193a Add coSWID and uSWID parsers to libfwupdplugin
These parse the structures as defined in:

 * https://datatracker.ietf.org/doc/draft-ietf-sacm-coswid/
 * https://github.com/hughsie/python-uswid
2022-03-15 14:37:02 +00:00
Mario Limonciello
661990ed98 Convert build system to use meson tristate features
tristate features will automatically disable if dependencies marked
as required are missing.

Packagers can manually override using `auto_features`.

Link: https://mesonbuild.com/Build-options.html#features
2022-02-28 08:34:48 -06:00
Mario Limonciello
438c30aa63 trivial: add a CI target for openbmc
We want a build that does -Dauto_features=disabled to make sure
it works properly.
2022-02-28 08:34:48 -06:00
Richard Hughes
fbc7ad1adb trivial: Fix FreeBSD CI by pinning the macos version 2021-12-09 13:18:41 +00:00
Gabriel Kerneis
93aae762a6 Offer to run tests before pushing in contrib/setup
Also make clearer that the default choice is "no" for interactive
prompts.
2021-11-23 15:41:46 +01:00
Richard Hughes
9ef27052d5 altos: Remove support for the ChaosKey
The hardware is discontinued, and no further update from 1.6.7 was ever
supplied.
2021-11-15 15:17:38 +00:00
Mario Limonciello
e873cf7dd7 trivial: ci: try to fix "Resource not accessible by integration"
See https://github.com/actions/first-interaction/issues/10 for more
2021-11-03 09:56:46 -05:00
Mario Limonciello
f65a242b1a Add a welcome message for any new contributors 2021-11-02 12:21:23 -05:00
Mario Limonciello
a38bab9a98 trivial: move freebsd CI to a nightly build
It currently has a timeout of 20 minutes but the job times out constantly.
This is wasting valuable CI minutes.

Move it to 30 minutes and only run it once a day.
2021-10-27 16:42:48 +01:00
Richard Hughes
7f5b0c0b60 Rename the development branch from master to main
Fixes https://github.com/fwupd/fwupd/issues/3799
2021-09-24 14:20:24 -05:00
Mario Limonciello
cc8eb5ca8c trivial: Merge python steps from contrib/setup into helper script
This avoids having to hardcode profile targets in multiple places
and also fixes the confusing entry points into scripts both by
arguments and environment variables.

It also makes the setup script a lot more debuggable and scalable.

OS detection is a lot more robust, where it will try to use pip to
set up the distro python package, and if pip is missing try to install
it.

If OS detection fails now, a user can use --os on contrib/setup for
specifying it.
2021-09-17 10:59:35 -05:00
Norbert Kamiński
d0af777b14 main.yml: Install protobuf-c as fwupd dependency in the FreeBSD job
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-09-16 18:24:21 -05:00
Norbert Kamiński
30700d52e1 main.yml: Bump GitHub Action freebsd-vm
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-09-16 18:24:21 -05:00
Norbert Kamiński
b6fac03b57 Revert "trivial: Disable FreeBSD CI again"
This reverts commit 14dab4da6d.
2021-09-16 18:24:21 -05:00
Mario Limonciello
14dab4da6d trivial: Disable FreeBSD CI again
It's failing again due to non-obvious linker errors outside of the
fwupd code.

```
/usr/sbin/dtrace -G  -o tclDTrace.o -s /usr/ports/lang/tcl86/work/tcl8.6.11/generic/tclDTrace.d regcomp.o regexec.o regfree.o regerror.o tclAlloc.o  tclAssembly.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o  tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o  tclCompCmds.o tclCompCmdsGR.o tclCompCmdsSZ.o tclCompExpr.o  tclCompile.o tclConfig.o tclDate.o tclDictObj.o tclDisassemble.o  tclEncoding.o tclEnsemble.o  tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o  tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o  tclIORChan.o tclIORTrans.o tclIOGT.o tclIOSock.o tclIOUtil.o  tclLink.o tclListObj.o  tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o  tclObj.o tclOptimize.o tclPanic.o tclParse.o tclPathObj.o tclPipe.o  tclPkg.o tclPkgConfig.o tclPosixStr.o  tclPreserve.o tclProc.o tclRegexp.o  tclResolve.o tclResult.o tclScan.o tclStringObj.o  tclStrToD.o tclThread.o  tclThreadAlloc.o tclThreadJoin.o tclThreadStorage.o tclStubInit.o  tclTimer.o tclTrace.o tclUtf.o tclUtil.o tclVar.o tclZlib.o  tclTomMathInterface.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o  tclUnixFile.o tclUnixPipe.o tclUnixSock.o  tclUnixTime.o tclUnixInit.o tclUnixThrd.o  tclUnixCompat.o tclUnixNotfy.o   tclOO.o tclOOBasic.o tclOOCall.o tclOODefineCmds.o tclOOInfo.o  tclOOMethod.o tclOOStubInit.o tclLoadDl.o
dtrace: failed to link script /usr/ports/lang/tcl86/work/tcl8.6.11/generic/tclDTrace.d: an error was encountered while processing tclDictObj.o
*** [tclDTrace.o] Error code 1
```
2021-09-03 13:09:09 -05:00
Norbert Kamiński
c1f06b6b82 freebsd-ci: Change FreeBSD artifact extension
Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
2021-08-18 08:39:11 -05:00
Norbert Kamiński
ea12ce69b1 Revert "trivial: Disable the FreeBSD CI action as it's been failing for a long time"
This reverts commit 51efc1c772.
2021-08-18 08:39:11 -05:00
Richard Hughes
51efc1c772 trivial: Disable the FreeBSD CI action as it's been failing for a long time 2021-08-05 08:35:54 +01:00
Mario Limonciello
668623dda2 trivial: ci: timeout freebsd CI after 20 minutes
There have been a few jobs that were left running an hour pulling
a file, and that shouldn't block us and waste CI minutes.
2021-07-28 12:02:17 -05:00
Mario Limonciello
a7cfe67cfe Add VOID CI target 2021-07-28 11:29:44 -05:00