1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

211 Commits

Author SHA1 Message Date
Julian Pelizäus
6c73159511 Revert "github: pin curl to older version"
This reverts commit bd704f431c, reversing
changes made to e9bb4e46e7.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
2023-07-20 11:02:28 +02:00
Thomas Parrott
dc84835c22 github: Pin curl at 7.81.0-1ubuntu1.10
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-19 16:41:45 +01:00
Mark Laing
3c3958a9e7 workflows: Remove golangci-lint install from workflow.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2023-07-14 10:41:32 +01:00
Thomas Parrott
a3a16a4abc github: Install lxc-utils for lxc-to-lxd test
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-12 15:39:36 +01:00
Thomas Parrott
601e0f1dd8 github: Add stable-5.0 LP push support to test workflow
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-12 11:06:45 +01:00
Thomas Parrott
3f6dd9444d github: Remove builds workflow
The push to LP happens in the test workflow now.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-11 13:10:24 +01:00
Thomas Parrott
21cf1d72c8 github: Push to LP when tests pass from a push on the canonical/lxd repo
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-11 11:31:31 +01:00
Thomas Parrott
8a2689e6c7 github: investigate gh vars
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-11 11:11:22 +01:00
Thomas Parrott
6dc6fbfb95 github: Fix vars
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-11 10:48:27 +01:00
Thomas Parrott
f0342e3ed9 github: Testing logic for LP push
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-11 10:15:26 +01:00
Thomas Parrott
bd39e8a862 github: Adds launchpad snap build trigger to tests workflow
This keeps the package building together with the client building,
and makes the process more transparent, rather than having a
separate workflow triggered in the background.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-11 09:01:06 +01:00
Thomas Parrott
c1a4f63e25 github: Run launchpad build workflow when Tests workflow succeeds on main branch
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 12:36:26 +01:00
Thomas Parrott
b9ce71e86b github: Remove newline from fromJson call
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 12:08:51 +01:00
Thomas Parrott
d56198cd04 github: Add launchpad snap package workflow
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 11:54:02 +01:00
Thomas Parrott
3a86e46676 github: Use ubuntu 22.04 in commits workflow
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 09:49:57 +01:00
Thomas Parrott
a6b092676b github: Removes unused builds.yaml
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 09:48:22 +01:00
Thomas Parrott
a890172b52 github: Move lxc client builds to test workflow
Removes some duplication and allows lxc client builds to be a prerequisite
of triggering a snap build.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 09:48:22 +01:00
Thomas Parrott
4235481254 github: Move documentation builds to the end of the documentation test workflow
This removes some duplication and allows us to include documentation building as a
prerequisite to triggering end snap builds.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-07-07 09:38:25 +01:00
Ruth Fuchss
d0440c5b79 actions: make linkcheck fail
Sometimes a failing linkcheck can be ignored, but we still want
to see that it is failing.
It's currently the last check, so all other checks will be run
before it fails. If we add checks after this one, they can be
added with condition "always()" to run even if the linkcheck
fails.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2023-07-05 10:25:58 +02:00
Ruth Fuchss
c71364da3c actions: fix main branch name in GitHub check
Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2023-07-04 21:32:44 +02:00
Ruth Fuchss
5cea2ca9b0 doc: update links
Fix broken links to linuxcontainers and update the GitHub links.
Also get rid of some doc scripts and files that aren't needed
anymore on RTD.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2023-07-04 20:33:20 +02:00
Thomas Parrott
dcb140ff2f github: Enable cephfs tests
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-27 09:22:56 +01:00
Thomas Parrott
a62078ba25 github: Adds storage bucket tests
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-26 15:16:08 +01:00
Thomas Parrott
af5bccdd51 github: Simplify test suite invocation command line
Move env var definitions into yaml for clarity.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-26 08:02:14 +01:00
Simon Deziel
2fecce3fe3 github: use shellcheck package (22.04 has 0.8.0)
https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2023-06-22 16:29:05 -04:00
Thomas Parrott
0ff0233a7d github: Wait 30s for ceph to initialize
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-22 15:10:20 +01:00
Simon Deziel
47d4869b15 github: inclusive naming should fail on error
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2023-06-21 18:40:03 -04:00
Tom Parrott
d75ef056a1 Merge pull request #11871 from simondeziel/woke-all-md
github: Check all .md files even those at the root
2023-06-21 23:28:32 +01:00
Simon Deziel
fc7ef5bbb6 github: Check all .md files even those at the root
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2023-06-21 17:22:47 -04:00
Simon Deziel
d0d0845860 github: move dependency review (~0s) to Code tests job
The actual dependency review action takes ~0s but due to the extra
checkout and cleanup, it ends up taking ~7s which == 1m of CI.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2023-06-21 13:15:28 -04:00
Thomas Parrott
9eefff35de github: Add some ceph test optimisations
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-21 14:22:07 +01:00
Thomas Parrott
4ad230da76 github: Combine documentation steps into a single job
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-21 08:23:56 +01:00
Thomas Parrott
33187672d5 github: Use apt-get autoperge
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-21 08:05:59 +01:00
Stéphane Graber
8c9577cd3e github: Add support for Go tip
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2023-06-20 18:29:21 -04:00
Thomas Parrott
27debd2243 github: Adds ceph support
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-20 22:15:01 +01:00
Thomas Parrott
20895b9997 github: Add random pool backend test
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-19 15:08:28 +01:00
Thomas Parrott
fac5de4d30 github: Rename Unit tests (client) to Client tests
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-19 12:32:14 +01:00
Thomas Parrott
756275cd60 github: Adds support for running LXD unit tests and renames Static Analysis to Code tests
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-19 12:32:14 +01:00
Thomas Parrott
960ad5583c github: Add latest stable Go version test for LXD system tests
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-19 12:32:14 +01:00
Thomas Parrott
d7d64e1173 github: Checkout code before setting up Go
To allow caching to work if available.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-19 12:32:13 +01:00
Thomas Parrott
905acc718f github: Switch to setup-go v4
Allows opportunistic usage of dependency caching.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-19 12:31:49 +01:00
Stéphane Graber
d15d424474 Merge pull request #11837 from ru-fu/move-doc-conf-file
doc: move .sphinx directory and conf.py file
2023-06-16 16:55:37 -04:00
Ruth Fuchss
f2a9e6b4d2 doc: move .sphinx directory and conf.py file
Move the Sphinx configuration files to a more standard location.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2023-06-16 09:51:44 +02:00
Thomas Parrott
f8caf5e47d github: Add system tests
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-15 16:25:46 +01:00
Simon Deziel
c1a25c6f00 github: re-add gettext package as static-analysis needs it
`make static-analysis` ends up running `make update-po` which
needs msgmerge.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2023-06-15 10:52:44 -04:00
Thomas Parrott
af06010eca github: Simplify static-analysis tests
- Pin tests at Ubuntu 22.04, so we have to conciously change it and doesn't automatically switch over.
 - Remove uneeded dependencies.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-06-15 10:33:53 +01:00
Thomas Parrott
1a8621be1f github: Fix static-analysis workflows
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
2023-04-25 10:11:10 +01:00
Ruth Fuchss
9de2a840a6 GitHub actions: cancel running tests
This cancels running tests when a change is pushed to the branch
(which retriggers the tests anyway).

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2023-03-03 15:15:31 +01:00
dependabot[bot]
d903edc750 build(deps): bump actions/dependency-review-action from 2 to 3
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 10:05:01 +00:00
Simon Deziel
912bc4d67e workflows: sort package list and remove duplicated "libdqlite-dev"
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2022-11-10 13:59:50 -05:00