File tree 9 files changed +42
-162
lines changed
9 files changed +42
-162
lines changed Original file line number Diff line number Diff line change
1
+ build_root_image :
2
+ name : release
3
+ namespace : openshift
4
+ tag : rhel-9-release-golang-1.22-openshift-4.17
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # References:
2
+ # https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test
3
+ # https://docs.snyk.io/snyk-cli/commands/ignore
4
+ exclude:
5
+ global:
6
+ - vendor/**
7
+ - release-tools/**
8
+ - test/**
Original file line number Diff line number Diff line change
1
+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS builder
2
+ WORKDIR /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
3
+ COPY . .
4
+ # Skip Windows driver build
5
+ RUN make gce-pd-driver
6
+
7
+ FROM registry.ci.openshift.org/ocp/4.17:base-rhel9
8
+
9
+ # Get all deps
10
+ # nvme-cli and /usr/bin/xxd are deps of google_nvme_id
11
+ RUN yum update -y && \
12
+ yum install --setopt=tsflags=nodocs -y e2fsprogs xfsprogs util-linux nvme-cli /usr/lib/udev/scsi_id /usr/bin/xxd && \
13
+ yum clean all && rm -rf /var/cache/yum/* && \
14
+ mkdir -p /lib/udev_containerized && cp /usr/lib/udev/scsi_id /lib/udev_containerized/scsi_id # The driver assumes this path
15
+
16
+ COPY --from=builder /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /usr/bin/
17
+ COPY --from=builder /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/deploy/kubernetes/udev/google_nvme_id /lib/udev_containerized/google_nvme_id
18
+ ENTRYPOINT ["/usr/bin/gce-pd-csi-driver"]
Original file line number Diff line number Diff line change 37
37
all : gce-pd-driver gce-pd-driver-windows
38
38
gce-pd-driver : require-GCE_PD_CSI_STAGING_VERSION
39
39
mkdir -p bin
40
- CGO_ENABLED=0 go build -mod=vendor -gcflags=$(GCFLAGS ) -ldflags " -extldflags=static -X main.version=$( STAGINGVERSION) " -o bin/${DRIVERBINARY} ./cmd/gce-pd-csi-driver/
40
+ # OpenShift carry: remove -extldflags=static to compile with FIPS OpenSSL
41
+ CGO_ENABLED=0 go build -mod=vendor -gcflags=$(GCFLAGS ) -ldflags " -X main.version=$( STAGINGVERSION) " -o bin/${DRIVERBINARY} ./cmd/gce-pd-csi-driver/
41
42
42
43
gce-pd-driver-windows : require-GCE_PD_CSI_STAGING_VERSION
43
44
ifeq (${GOARCH}, amd64)
Original file line number Diff line number Diff line change 1
- reviewers:
2
- - amacaskill
3
- - leiyiz
4
- - mattcary
5
- - msau42
6
- - saikat-royc
7
- - sunnylovestiramisu
8
- - pwschuurman
9
- - tyuchn
10
- - songjiaxun
11
1
approvers:
12
- - amacaskill
13
- - leiyiz
14
- - mattcary
15
- - msau42
16
- - saikat-royc
17
- - sunnylovestiramisu
18
- - pwschuurman
19
- - tyuchn
20
- - songjiaxun
21
- emeritus_reviewers:
22
- - davidz627
23
- - jingxu97
24
- - saad-ali
2
+ - openshift-storage-maintainers
3
+ component: "Storage / Kubernetes External Components"
Original file line number Diff line number Diff line change 1
- # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
2
-
3
1
aliases:
4
-
5
- # SIG-Storage chairs and leads should always have approval rights in all repos.
6
- # Others may be added as needed here or in each repo.
7
- kubernetes-csi-approvers:
8
- - jsafrane
9
- - msau42
10
- - saad-ali
11
- - xing-yang
12
-
13
- # Reviewers are automatically assigned to new PRs. The following
14
- # reviewers will be active in all repos. Other reviewers can be
15
- # added in each repo.
16
- #
17
- # Reviewers are encouraged to set the "Busy" flag in their GitHub status
18
- # when they are temporarily unable to review PRs.
19
- kubernetes-csi-reviewers:
20
- - andyzhangx
21
- - chrishenzie
22
- - ggriffiths
23
- - gnufied
24
- - humblec
25
- - j-griffith
26
- - Jiawei0227
27
- - jingxu97
28
- - jsafrane
29
- - pohly
30
- - RaunakShah
31
- - xing-yang
32
-
33
- # This documents who previously contributed to Kubernetes-CSI
34
- # as approver.
35
- emeritus_approvers:
36
- - lpabon
37
- - sbezverk
38
- - vladimirvivien
2
+ openshift-storage-maintainers:
3
+ - jsafrane
4
+ - tsmetana
5
+ - gnufied
6
+ - bertinatto
7
+ - dobsonj
8
+ - RomanBednar
9
+ - mpatlasov
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments