Skip to content

Commit c3b220b

Browse files
Unit Tests For IBMObjectCSIReconciler (#6)
* unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * remove unused code Signed-off-by: Ashima-Ashima1 <[email protected]> * remove unused params Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * rebase branch Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * Domain change Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * second commit Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * Rename Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * Fix typo Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * crd fix Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * additional changes Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * Name fix Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * Rename Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * Rename Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * Review comments Signed-off-by: Ambika Nair <[email protected]> Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * rebase branch Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> * unit tests Signed-off-by: Ashima-Ashima1 <[email protected]> --------- Signed-off-by: Ashima-Ashima1 <[email protected]> Signed-off-by: Ambika Nair <[email protected]> Co-authored-by: Ambika Nair <[email protected]>
1 parent 2a4859f commit c3b220b

File tree

18 files changed

+11123
-61
lines changed

18 files changed

+11123
-61
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WORKDIR /workspace
1010
# cache deps before building and copying source so that we don't need to re-download as much
1111
# and so that source changes don't invalidate our downloaded layer
1212

13-
1413
COPY . .
1514
#RUN go mod download
1615

@@ -26,7 +25,6 @@ COPY . .
2625
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
2726
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ibm-object-csi-operator main.go
2827

29-
3028
# Use distroless as minimal base image to package the manager binary
3129
# Refer to https://github.com/GoogleContainerTools/distroless for more details
3230
FROM gcr.io/distroless/static:nonroot
@@ -35,8 +33,6 @@ ENV OPERATOR=/usr/local/bin/ibm-object-csi-operator \
3533
USER_UID=1001 \
3634
USER_NAME=ibm-object-csi-operator
3735

38-
39-
4036
WORKDIR /
4137
COPY --from=builder /workspace/ibm-object-csi-operator .
4238
USER 65532:65532

0 commit comments

Comments
 (0)