Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set security nesting on lxd container in itest #443

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ on:
description: Pull and build rockcraft from source instead of using snapstore version (this means that the rockcraft-channel input will be ignored).
type: string
default: ""
rockcraft-enable-security-nesting:
description: Set security.nesting=true on the rockcraft lxc project to allow for nested containers.
type: boolean
default: false
microk8s-addons:
description: Microk8s provider add-ons override. A minimum set of addons (the defaults) must be enabled.
type: string
Expand Down Expand Up @@ -216,6 +220,10 @@ jobs:
build: ${{ fromJSON(needs.plan.outputs.plan).build }}
steps:
- uses: canonical/[email protected]
- name: Set LXC security nesting
if: ${{ inputs.rockcraft-enable-security-nesting }}
run: |
lxc profile set default security.nesting true
- uses: actions/checkout@v4
- uses: canonical/operator-workflows/internal/build@main
id: build
Expand Down
Loading