Skip to content

Commit

Permalink
Update Boilerplate (flyteorg#44)
Browse files Browse the repository at this point in the history
Signed-off-by: Flyte-Bot <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>

Co-authored-by: flyte-bot <[email protected]>
Co-authored-by: Yee Hing Tong <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2021
1 parent 705ef24 commit 14ebc5b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions datacalog/boilerplate/flyte/end2end/end2end.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ then
fi

make kustomize
# launch flyte end2end
kubectl apply -f "${OUT}/deployment/test/flyte_generated.yaml"
make end2end_execute
popd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst

FROM golang:1.13.3-alpine3.10 as builder
FROM golang:1.17.1-alpine3.14 as builder
RUN apk add git openssh-client make curl

# COPY only the go mod files for efficient caching
Expand All @@ -20,11 +20,17 @@ COPY . /go/src/github.com/flyteorg/{{REPOSITORY}}/
# The main entrypoint should be compiled to /artifacts/{{REPOSITORY}}
RUN make linux_compile

# install grpc-health-probe
RUN curl --silent --fail --show-error --location --output /artifacts/grpc_health_probe "https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.5/grpc_health_probe-linux-amd64" && \
chmod +x /artifacts/grpc_health_probe && \
echo '8699c46352d752d8f533cae72728b0e65663f399fc28fb9cd854b14ad5f85f44 /artifacts/grpc_health_probe' > .grpc_checksum && \
sha256sum -c .grpc_checksum

# update the PATH to include the /artifacts directory
ENV PATH="/artifacts:${PATH}"

# This will eventually move to centurylink/ca-certs:latest for minimum possible image size
FROM alpine:3.11.12
FROM alpine:3.14
COPY --from=builder /artifacts /bin

RUN apk --update add ca-certificates
Expand Down
1 change: 1 addition & 0 deletions datacalog/boilerplate/flyte/welcome_bot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ newPRWelcomeComment: >
Thank you for opening this pull request! 🙌
These tips will help get your PR across the finish line:
- Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
- Sign off your commits (Reference: [DCO Guide](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md)).
Expand Down

0 comments on commit 14ebc5b

Please sign in to comment.