Skip to content

Commit

Permalink
Fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchbg committed Mar 19, 2024
1 parent 5443e32 commit 18288eb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
30 changes: 15 additions & 15 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ Disclaimer: The code in this project may include calls to APIs ("API Calls") of
parties the right to use of access any SAP External Product, through API Calls.

Files:
.github/*
cmd/*
config/*
hack/*
test/*
.dockerignore
.gitignore
.golangci.yaml
CONTRIBUTING.md
Dockerfile
go.mod
go.sum
Makefile
README.md

.github/*
cmd/*
config/*
hack/*
test/*
.dockerignore
.gitignore
.golangci.yml
CONTRIBUTING.md
Dockerfile
go.mod
go.sum
Makefile
PROJECT
README.md
Copyright: 2024 SAP SE or an SAP affiliate company and IronCore contributors
License: Apache-2.0
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ COPY go.mod go.mod
COPY go.sum go.sum
RUN go mod download

COPY cmd/main.go cmd/main.go
COPY api/ api/
COPY internal/ internal/
#COPY api/ api/
COPY cmd/ cmd/
#COPY internal/ internal/
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o metal cmd/main.go

FROM debian:bookworm-20240311-slim
Expand Down
1 change: 1 addition & 0 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
By("installing CRDs")
cmd = exec.Command("make", "install")
_, err = utils.Run(cmd)
ExpectWithOffset(1, err).NotTo(HaveOccurred())

By("deploying the controller-manager")
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))
Expand Down

0 comments on commit 18288eb

Please sign in to comment.