Skip to content

Commit 6cbaa1e

Browse files
committedAug 27, 2021
build: use csi-release-tools
1 parent 63fd7c4 commit 6cbaa1e

File tree

6 files changed

+52
-4
lines changed

6 files changed

+52
-4
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea
2+
/bin

‎.prow.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#! /bin/bash
2+
3+
# Copyright 2021 The Kubernetes Authors.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
CSI_PROW_TESTS_SANITY="sanity"
18+
19+
. release-tools/prow.sh
20+
21+
main

‎Makefile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2019 The Kubernetes Authors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
CMDS_DIR=example
16+
CMDS=hello-populator
17+
all: build
18+
19+
include release-tools/build.make

‎OWNERS

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# See the OWNERS docs at https://go.k8s.io/owners
22

33
approvers:
4-
- bswartz
5-
- saad-ali
6-
- xing-yang
4+
- kubernetes-csi-approvers
5+
- bswartz
6+
7+
reviewers:
8+
- kubernetes-csi-reviewers

‎OWNERS_ALIASES

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
release-tools/KUBERNETES_CSI_OWNERS_ALIASES

‎example/hello-populator/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
FROM gcr.io/distroless/static:latest
2-
ADD hello-populator /
2+
LABEL maintainers="Kubernetes Authors"
3+
LABEL description="hello populator"
4+
ARG binary=./bin/hello-populator
5+
6+
COPY ${binary} hello-populator
37
ENTRYPOINT ["/hello-populator"]

0 commit comments

Comments
 (0)