Skip to content

Commit 75c7e0d

Browse files
mpatlasovrhrmo
authored andcommitted
UPSTREAM: <carry>: Add OpenShift files
and remove .github
1 parent 5f681f9 commit 75c7e0d

14 files changed

+45
-224
lines changed

.ci-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build_root_image:
2+
name: release
3+
namespace: openshift
4+
tag: rhel-9-release-golang-1.22-openshift-4.18

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/support.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/dependabot.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/codespell.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/trivy.yaml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.snyk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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/**

Dockerfile.openshift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.18 AS builder
2+
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
3+
COPY . .
4+
RUN make build
5+
6+
FROM registry.ci.openshift.org/ocp/4.18:base-rhel9
7+
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/csi-snapshotter /usr/bin/
8+
ENTRYPOINT ["/usr/bin/csi-snapshotter"]

0 commit comments

Comments
 (0)