181 Commits

Author SHA1 Message Date
Michael Vogt
833d7f40fd Merge pull request #10828 from sergiocazzolato/tests-cleanup-selfhosted-workspace
tests: cleanup the job workspace as first step of the actions workflow
2021-09-23 16:50:28 +02:00
Sergio Cazzolato
d8bd3f3753 Remove ubuntu-21.10-64-cgroupv2 from tests workflow 2021-09-22 18:35:50 -03:00
Sergio Cazzolato
a2aa553ebd Cleanup the job workspace as first step
The idea is to start with a clean workspace in the self hosted runner

The previous job could left the workspace in a bad state as it is
happening when it adds a submodule.
2021-09-22 13:50:36 -03:00
Michael Vogt
9e0a1807b3 Merge pull request #10803 from bboozzoo/bboozzoo/cgroupv2-test-and-systems
tests, interfaces/builtin: introduce 21.10 cgroupv2 variant, tweak tests for cgroupv2, update builtin interfaces
2021-09-22 16:46:22 +02:00
Michael Vogt
9804780799 Merge pull request #10740 from bboozzoo/bboozzoo/fault-injection
osutil: helper for injecting run time faults in snapd
2021-09-21 20:07:11 +02:00
Maciej Borzecki
885366fef1 Merge remote-tracking branch 'upstream/master' into bboozzoo/cgroupv2-test-and-systems 2021-09-21 10:24:21 +02:00
Ian Johnson
4c00f39671 Revert ".github/workflows/test.yaml: bump action-build to 1.0.9"
This reverts commit 5296059c30.

Now that the v1 tag has been updated to point to 1.0.9, we can go back to 
tracking v1 instead of tracking specifically v1.0.9, which will prevent us from
getting updates in the future if there is i.e. a 1.0.10 or something.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-09-20 08:53:12 -05:00
Maciej Borzecki
67661b7964 osutil: make fault injection a build time feature
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2021-09-20 15:31:43 +02:00
Maciej Borzecki
439edfef34 Merge remote-tracking branch 'upstream/master' into bboozzoo/cgroupv2-test-and-systems 2021-09-20 09:24:00 +02:00
Ian Johnson
5296059c30 .github/workflows/test.yaml: bump action-build to 1.0.9
This is necessary to avoid the failure to refresh LXD - the images already have
LXD and so can build the snap, they just can't refresh LXD due to store
outages sometimes, so this new version helps with that when it happens and
keeps out CI moving along to the extent that it can.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-09-17 17:28:56 -05:00
Maciej Borzecki
ca5a183794 github: run tests on ubuntu 21.10 cgroup v2
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2021-09-17 09:45:00 +02:00
Maciej Borzecki
3fcabbdce8 github: do not fail when codecov upload fails
Uploading coverage to codecov fails on occasion. It is not really useful to
block the whole test run because of this.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2021-09-16 15:18:17 +02:00
Sergio Cazzolato
13d5970d07 Remove travis leftovers
Remove all the travis references in the project
2021-09-07 09:18:10 -03:00
Michael Vogt
d510b8c08d Merge remote-tracking branch 'upstream/master' into go-mod-1 2021-08-31 19:44:42 +02:00
Sergio Cazzolato
722c86f049 Remove opensuse-15.1 and add opensuse-15.3 from spread runs
Update the spread runs to support opensuse-15.3-64

The new image is already deployed to gce

Tests and packaging are updated accordingly
2021-08-27 12:53:44 -03:00
Michael Vogt
4e5553ef2a Merge remote-tracking branch 'upstream/master' into go-mod-1 2021-08-27 08:47:43 +02:00
Ian Johnson
7d587968dd .github/workflows/macos-sanity: update for go modules
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-08-25 12:03:55 +02:00
Michael Vogt
86ba1a125f Merge pull request #10673 from anonymouse64/bugfix/codecov-io-logic
.github/workflows/test.yaml: fix logic
2021-08-25 08:51:22 +02:00
Michael Vogt
e91a3a6ac1 workflow: remove govendor from the workflows 2021-08-24 20:33:23 +02:00
Michael Vogt
13b3dc325b github: remove GO111MODULE: off 2021-08-24 18:58:58 +02:00
Ian Johnson
d131b6e665 .github/workflows/test.yaml: add comment about the intention
Thanks to Maciej for the suggestion.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-08-24 08:35:30 -05:00
Ian Johnson
a075a7a2ae .github/workflows/test.yaml: drop unnecessary commented out setting
This isn't needed since we are using the GitHub Action for Codecov.io.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-08-24 07:45:34 -05:00
Ian Johnson
64f23c3423 .github/workflows/test.yaml: fix boolean logic
We want the spread tests to also run on pushes to release/** branches, so the
operator here should just be || otherwise these jobs will not run on pushes.
Thanks to Alberto for pointing this out to me.

Furthermore, we don't want to run the snap-builds job on anything other than
pull requests, since we already have Launchpad snap build recipes setup for the
release and master branches and this would just be duplicating that effort and
use up artifact storage space.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-08-24 07:45:05 -05:00
Michael Vogt
677e403cb0 Merge remote-tracking branch 'upstream/master' into vendor-squashfsfuse 2021-08-24 09:29:23 +02:00
Michael Vogt
6cf5bf397d many: rename vendor.c -> c-vendor 2021-08-24 09:24:35 +02:00