Skip to content

Commit

Permalink
add volume add fuse
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <[email protected]>
  • Loading branch information
Fral738 committed Nov 18, 2024
1 parent a6259f7 commit acde6e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### Configuring CI/CD of the project

> If the GitHub Runner host runs Linux kernel version 5.12 or lower, install fuse on the host and add an extra option `--device /dev/fuse`:

This is how the repository that uses werf for build and deploy might look:

{% tree_file_viewer '/examples/configurator/ci-cd/simple/github-actions/docker-runner/linux/buildah' default_file='.github/workflows/prod.yml' %}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### Конфигурация CI/CD проекта

> Если хост GitHub Runner’а имеет версию ядра Linux 5.12 или ниже, то установите на хост fuse и добавьте в опцию `--device /dev/fuse`

Так может выглядеть репозиторий, использующий werf для сборки и развертывания:

{% tree_file_viewer '/examples/configurator/ci-cd/simple/github-actions/docker-runner/linux/buildah' default_file='.github/workflows/prod.yml' %}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
container:
image: ghcr.io/werf/werf:2-stable-ubuntu
options: --security-opt "seccomp:unconfined" --security-opt "apparmor:unconfined"
volumes:
- /home/build/.werf
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit acde6e7

Please sign in to comment.