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
Simon Deziel
5f45f9639d workflows: use apt-get instead of apt to avoid a warning
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2022-11-08 14:20:26 -05:00
Simon Deziel
ef9fc4ca2f workflows: update package definitions only once
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
2022-11-08 14:20:25 -05:00
Ruth Fuchss
5bb087b464 doc: add linkchecker to the GitHub actions
Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-09-26 13:56:25 +02:00
Stéphane Graber
3a66527703 Merge pull request #10911 from lxc/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-09-12 07:11:34 -04:00
dependabot[bot]
62fe37d306 build(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 10:30:07 +00:00
dependabot[bot]
fa927795d3 build(deps): bump actions/checkout from 2 to 3
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>
2022-09-12 10:30:03 +00:00
Ruth Fuchss
6cbc7da95d doc: add an action to run markdownlint on the docs
Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-08-30 13:43:38 +02:00
Mark Laing
24afc08a36 workflows: Adds edge ppa's and removes make deps step.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2022-08-04 14:32:34 +01:00
Ruth Fuchss
0ebdc22bf0 doc: add spellchecking to the tests
Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-07-27 18:32:56 +02:00
Mark Laing
42436dac6f workflows: Installs shellcheck version 0.8.0.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2022-07-08 09:33:32 +01:00
Mark Laing
15cfa024f2 workflows/static-analysis: Download but do not update dependencies.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2022-07-04 09:56:14 +01:00
Mark Laing
da77266e81 workflows: Removes unit tests and reinstates ubuntu client tests.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2022-06-30 09:18:18 +01:00
Mark Laing
c3a72d76ef workflows: Adds static analysis job.
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2022-06-29 15:59:05 +01:00
Stéphane Graber
3c7d657c4b github: Disable dependabot labels
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-20 11:29:22 -04:00
dependabot[bot]
06e79986c1 build(deps): bump actions/dependency-review-action from 1 to 2
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2)

---
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-06-20 10:24:17 +00:00
Stéphane Graber
f4fe5bc246 github: Only run dependencies check on PR
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-09 16:01:56 -04:00
Stéphane Graber
2494258577 github: Move woke test to ubuntu-latest
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-06 12:17:11 -04:00
Stéphane Graber
22ce4d5c71 github: Move depsreview to tests
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-06 12:17:10 -04:00
naveen
7ed964a405 chore(deps): Included dependency review
> Dependency Review GitHub Action in your repository to enforce dependency
> reviews on your pull requests.
> The action scans for vulnerable versions of dependencies introduced by package version
> changes in pull requests,
> and warns you about the associated security vulnerabilities.
> This gives you better visibility of what's changing in a pull request,
> and helps prevent vulnerabilities being added to your repository.

https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-06 12:10:59 -04:00
Stéphane Graber
6cd9dbd115 Merge pull request #10519 from lxc/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-06-06 12:02:23 -04:00
Stéphane Graber
e0e2dece00 Merge pull request #10517 from lxc/dependabot/github_actions/actions/setup-go-3
build(deps): bump actions/setup-go from 2 to 3
2022-06-06 12:02:14 -04:00
Stéphane Graber
5a47962c5e Merge pull request #10520 from lxc/dependabot/github_actions/actions/upload-artifact-3
build(deps): bump actions/upload-artifact from 2 to 3
2022-06-06 12:02:06 -04:00
dependabot[bot]
56b253f682 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 15:53:50 +00:00
dependabot[bot]
b8745b3b6a build(deps): bump actions/checkout from 2 to 3
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>
2022-06-06 15:53:46 +00:00
dependabot[bot]
a2e16aa360 build(deps): bump actions/labeler from 3 to 4
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>
2022-06-06 15:53:44 +00:00
dependabot[bot]
230b6afe99 build(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:53:41 +00:00
Stéphane Graber
093627f532 Merge pull request #10515 from turrisxyz/Dependabot-GitHub-Actions
chore: Included githubactions in the dependabot config
2022-06-06 11:53:19 -04:00
naveen
f021b8b12c 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 01:29:21 +00:00
nathannaveen
693499fca0 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: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-06-05 00:58:31 +00:00
Stéphane Graber
8b9d3113be github: Fix commit checks
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-05 11:41:10 +02:00
Stéphane Graber
c8cfef1233 github: Run commit tests on target
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-04 14:17:20 +02:00
Stéphane Graber
765ed11579 github: Add branch target test
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-04 14:13:26 +02:00
Stéphane Graber
87539f9480 github: Split static builds from tests
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-04 14:04:30 +02:00
Stéphane Graber
3de3c7120b github: Add DCO check
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-04 14:01:12 +02:00
Stéphane Graber
303984636d github: Re-organize workflows
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-04 13:58:18 +02:00
Ruth Fuchss
772003a58e doc: check for inclusive language
Add a GitHub action to ensure inclusive language using the
woke tool.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-05-04 11:01:33 +02:00
Stéphane Graber
4760237f68 global: Update doc links to /latest
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-04-08 11:58:25 -04:00
Stéphane Graber
eb912080f6 github: Drop Go 1.17.x
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-03-25 23:48:00 -04:00
Stéphane Graber
c967d4a5e5 github: Add Go 1.18
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-03-22 22:29:23 -04:00
Stéphane Graber
adce78dd06 Merge pull request #9784 from monstermunchkin/features/lxd-migrate
Unified migration tool lxd-migrate
2022-02-10 14:57:39 -05:00
Stéphane Graber
1dc6e641ba github: Update for current min Go version (1.16)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-02-10 13:22:36 -05:00
Thomas Hipp
3e4d65c466 .github/workflows: s/lxd-p2c/lxd-migrate/
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2022-02-03 12:12:20 +01:00
Ruth Fuchss
608e3bd563 doc: fix link to support documentation
It doesn't make sense to send users to a file with content includes.
Send them to the rendered master docs instead.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-01-19 10:51:07 +01:00
Ruth Fuchss
3774a7d4d7 doc: move SUPPORT.md to .github folder
This file is only relevant on GitHub.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-01-19 10:32:37 +01:00
Stéphane Graber
053cadf029 github: Add API label to labeler
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-01-05 13:29:52 -05:00
Stéphane Graber
af4308b332 Merge pull request #9742 from ru-fu/add-doc-labeler
automatically add labels to PRs that contain doc changes
2022-01-04 17:16:26 +01:00
Ruth Fuchss
774ecbd955 automatically add labels to PRs that contain doc changes
Add a labeler that automatically labels pull requests that
contain changes to files in doc/ or .sphinx/.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2022-01-04 15:35:41 +01:00
Ruth Fuchss
0e369f0278 doc: move relevant files out of .github folder
Move the files that are relevant for the repo (and not only
GitHub) out of the .github folder.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2021-12-15 17:45:09 +01:00
Ruth Fuchss
8ef89e8b52 github: Add a workflow to build the documentation
Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2021-11-24 11:32:26 -05:00
Thomas Hipp
0d7dd3a63c .github/workflows: Update go versions
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2021-09-02 16:34:03 +02:00