mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
ci: use podman
for simple GitHub workflows
`podman` is installed by default on the Ubuntu runners. Podman is recommended for developers and contributors, as there are no elevated privileges required to run it. Docker requires extra permissions to build and or run container images, and contributors to Ceph-CSI should not need to spend time working with that (several developers run the `docker` command with `sudo`, which is discouraged). Only the multi-arch Workflows require Docker, for the time being. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
e7a8e5d053
commit
f371aa2677
2
.github/workflows/codespell.yaml
vendored
2
.github/workflows/codespell.yaml
vendored
@ -17,4 +17,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: codespell
|
- name: codespell
|
||||||
run: CONTAINER_CMD=docker make containerized-test TARGET=codespell
|
run: make containerized-test TARGET=codespell
|
||||||
|
2
.github/workflows/commitlint.yaml
vendored
2
.github/workflows/commitlint.yaml
vendored
@ -19,4 +19,4 @@ jobs:
|
|||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: commitlint
|
- name: commitlint
|
||||||
# yamllint disable-line rule:line-length
|
# yamllint disable-line rule:line-length
|
||||||
run: make containerized-test CONTAINER_CMD=docker TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"
|
run: make containerized-test TARGET=commitlint GIT_SINCE="origin/${GITHUB_BASE_REF}"
|
||||||
|
4
.github/workflows/go-test.yaml
vendored
4
.github/workflows/go-test.yaml
vendored
@ -15,11 +15,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: go-test
|
- name: go-test
|
||||||
run: CONTAINER_CMD=docker make containerized-test TARGET=go-test
|
run: make containerized-test TARGET=go-test
|
||||||
go-test-api:
|
go-test-api:
|
||||||
name: go-test-api
|
name: go-test-api
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: go-test-api
|
- name: go-test-api
|
||||||
run: CONTAINER_CMD=docker make containerized-test TARGET=go-test-api
|
run: make containerized-test TARGET=go-test-api
|
||||||
|
2
.github/workflows/golangci-lint.yaml
vendored
2
.github/workflows/golangci-lint.yaml
vendored
@ -15,4 +15,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
run: CONTAINER_CMD=docker make containerized-test TARGET=go-lint
|
run: make containerized-test TARGET=go-lint
|
||||||
|
2
.github/workflows/lint-extras.yaml
vendored
2
.github/workflows/lint-extras.yaml
vendored
@ -15,4 +15,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: lint-extras
|
- name: lint-extras
|
||||||
run: CONTAINER_CMD=docker make containerized-test TARGET=lint-extras
|
run: make containerized-test TARGET=lint-extras
|
||||||
|
2
.github/workflows/mod-check.yaml
vendored
2
.github/workflows/mod-check.yaml
vendored
@ -15,4 +15,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: mod-check
|
- name: mod-check
|
||||||
run: CONTAINER_CMD=docker make containerized-test TARGET=mod-check
|
run: make containerized-test TARGET=mod-check
|
||||||
|
Loading…
Reference in New Issue
Block a user