-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove build_goreleaser folder (#3918)
* wip Signed-off-by: Chris Martin <chris@cmartinit.co.uk> * modify goreleaser Signed-off-by: Chris Martin <chris@cmartinit.co.uk> * add missing files Signed-off-by: Chris Martin <chris@cmartinit.co.uk> * fix imag location Signed-off-by: Chris Martin <chris@cmartinit.co.uk> --------- Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
- Loading branch information
Showing
27 changed files
with
110 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM alpine:3.20.2 | ||
ARG BASE_IMAGE=alpine:3.20.2 | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
FROM ${BASE_IMAGE} | ||
LABEL org.opencontainers.image.title=eventingester | ||
LABEL org.opencontainers.image.description="Event Ingester" | ||
LABEL org.opencontainers.image.url=https://hub.docker.com/r/gresearch/eventingester | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
USER armada | ||
|
||
COPY ./eventingester /app/ | ||
|
||
COPY ./config/ /app/config/eventingester | ||
|
||
COPY eventingester /app/ | ||
COPY config/eventingester/config.yaml /app/config/eventingester/config.yaml | ||
WORKDIR /app | ||
|
||
ENTRYPOINT ["./eventingester"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
FROM alpine:3.20.2 | ||
ARG NODE_BUILD_IMAGE=node:16.14-buster | ||
ARG OPENAPI_BUILD_IMAGE=openapitools/openapi-generator-cli:v5.4.0 | ||
ARG BASE_IMAGE=alpine:3.20.2 | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
FROM ${OPENAPI_BUILD_IMAGE} AS OPENAPI | ||
|
||
USER armada | ||
COPY internal/lookout/ui /project/internal/lookout/ui | ||
COPY pkg/api/*.swagger.json /project/pkg/api/ | ||
COPY pkg/api/binoculars/*.swagger.json /project/pkg/api/binoculars/ | ||
RUN ./project/internal/lookout/ui/openapi.sh | ||
|
||
COPY ./lookoutv2 /app/ | ||
COPY ./internal/lookout/ui/build/ /app/internal/lookout/ui/build | ||
COPY ./config/ /app/config/lookoutv2 | ||
FROM ${NODE_BUILD_IMAGE} AS NODE | ||
COPY --from=OPENAPI /project/internal/lookout/ui /ui/ | ||
WORKDIR /ui | ||
RUN yarn install --immutable | ||
RUN yarn run build | ||
|
||
FROM ${BASE_IMAGE} | ||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
LABEL org.opencontainers.image.title=lookoutv2 | ||
LABEL org.opencontainers.image.description="Lookout V2" | ||
LABEL org.opencontainers.image.url=https://hub.docker.com/r/gresearch/lookoutv2 | ||
USER armada | ||
COPY --from=NODE /ui/build/ /app/internal/lookout/ui/build | ||
COPY lookoutv2 /app/ | ||
COPY config/lookoutv2/config.yaml /app/config/lookoutv2/config.yaml | ||
COPY lookoutingesterv2 /app/ | ||
COPY config/lookoutingesterv2/ /app/config/lookoutingesterv2 | ||
WORKDIR /app | ||
|
||
ENTRYPOINT ["./lookoutv2"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM alpine:3.20.2 | ||
ARG BASE_IMAGE=alpine:3.20.2 | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
FROM ${BASE_IMAGE} | ||
LABEL org.opencontainers.image.title=scheduler | ||
LABEL org.opencontainers.image.description="Scheduler" | ||
LABEL org.opencontainers.image.url=https://hub.docker.com/r/gresearch/scheduler | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
USER armada | ||
|
||
COPY ./scheduler /app/ | ||
|
||
COPY ./config/ /app/config/scheduler | ||
|
||
COPY scheduler /app/ | ||
COPY config/scheduler/config.yaml /app/config/scheduler/config.yaml | ||
WORKDIR /app | ||
|
||
ENTRYPOINT ["./scheduler"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM alpine:3.20.2 | ||
ARG BASE_IMAGE=alpine:3.20.2 | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
FROM ${BASE_IMAGE} | ||
LABEL org.opencontainers.image.title=scheduleringester | ||
LABEL org.opencontainers.image.description="Scheduler Ingester" | ||
LABEL org.opencontainers.image.url=https://hub.docker.com/r/gresearch/scheduleringester | ||
|
||
RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada | ||
USER armada | ||
|
||
COPY ./scheduleringester /app/ | ||
|
||
COPY ./config/ /app/config/scheduleringester | ||
|
||
COPY scheduleringester /app/ | ||
COPY config/scheduleringester/config.yaml /app/config/scheduleringester/config.yaml | ||
WORKDIR /app | ||
|
||
ENTRYPOINT ["./scheduleringester"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.