mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-18 02:39:30 +00:00
Merge pull request #238 from red-hat-storage/sync_us--devel
Syncing latest changes from upstream devel for ceph-csi
This commit is contained in:
commit
c9697c0bc3
2
.github/workflows/snyk-container-image.yaml
vendored
2
.github/workflows/snyk-container-image.yaml
vendored
@ -38,6 +38,6 @@ jobs:
|
||||
image: quay.io/cephcsi/cephcsi:${{ github.base_ref }}
|
||||
args: --file=Dockerfilei
|
||||
- name: Upload result to GitHub Code Scanning
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
uses: github/codeql-action/upload-sarif@v3
|
||||
with:
|
||||
sarif_file: snyk.sarif
|
||||
|
@ -12,21 +12,21 @@
|
||||
CSI_IMAGE_VERSION=canary
|
||||
|
||||
# cephcsi upgrade version
|
||||
CSI_UPGRADE_VERSION=v3.10.0
|
||||
CSI_UPGRADE_VERSION=v3.10.1
|
||||
|
||||
# Ceph version to use
|
||||
BASE_IMAGE=quay.io/ceph/ceph:v18
|
||||
CEPH_VERSION=reef
|
||||
|
||||
# standard Golang options
|
||||
GOLANG_VERSION=1.20.4
|
||||
GOLANG_VERSION=1.21.5
|
||||
GO111MODULE=on
|
||||
|
||||
# commitlint version
|
||||
COMMITLINT_VERSION=latest
|
||||
|
||||
# static checks and linters
|
||||
GOLANGCI_VERSION=v1.53.0
|
||||
GOLANGCI_VERSION=v1.54.1
|
||||
|
||||
# external snapshotter version
|
||||
# Refer: https://github.com/kubernetes-csi/external-snapshotter/releases
|
||||
|
@ -10,6 +10,8 @@ FROM ${BASE_IMAGE} as updated_base
|
||||
RUN dnf config-manager --disable \
|
||||
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true
|
||||
|
||||
RUN mkdir /etc/selinux || true && touch /etc/selinux/config
|
||||
|
||||
RUN dnf -y update --nobest \
|
||||
&& dnf -y install nfs-utils \
|
||||
&& dnf clean all \
|
||||
|
@ -23,6 +23,8 @@ RUN source /build.env \
|
||||
RUN dnf config-manager --disable \
|
||||
tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi,ganesha || true
|
||||
|
||||
RUN mkdir /etc/selinux || true && touch /etc/selinux/config
|
||||
|
||||
RUN dnf -y install \
|
||||
git \
|
||||
make \
|
||||
|
@ -23,6 +23,8 @@ ENV \
|
||||
|
||||
COPY build.env /
|
||||
|
||||
RUN mkdir /etc/selinux || true && touch /etc/selinux/config
|
||||
|
||||
RUN source /build.env \
|
||||
&& \
|
||||
( test -n "${GOARCH}" && exit 0; echo -e "\n\nMissing GOARCH argument for building image, install Golang or run: make containerized-test GOARCH=amd64\n\n"; exit 1 ) \
|
||||
|
Loading…
Reference in New Issue
Block a user