This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d1c61c3
Showing
295 changed files
with
38,548 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/* |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
.idea/ | ||
.DS_Store | ||
.vscode/ | ||
.vendor-new/ | ||
|
||
vendor/ | ||
node_modules/ |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
run: | ||
skip-files: | ||
# because we're skipping TLS verification - for now | ||
- cmd/entrypoints/serve.go | ||
- pkg/async/messages/sqs.go | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- deadcode | ||
- errcheck | ||
- gas | ||
- goconst | ||
- goimports | ||
- golint | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- misspell | ||
- nakedret | ||
- staticcheck | ||
- structcheck | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- unused | ||
- varcheck |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
sudo: required | ||
language: go | ||
go: | ||
- "1.10" | ||
services: | ||
- docker | ||
jobs: | ||
include: | ||
# dont push to dockerhub on forks | ||
- if: fork = true | ||
stage: test | ||
name: build, integration test | ||
install: true | ||
script: BUILD_PHASE=builder make docker_build && make k8s_integration | ||
- if: fork = false | ||
stage: test | ||
name: build, integration test, and push | ||
install: true | ||
script: BUILD_PHASE=builder make docker_build && make k8s_integration && make dockerhub_push | ||
- stage: test | ||
name: unit tests | ||
install: make install | ||
script: make test_unit | ||
- stage: test | ||
install: make install | ||
name: lint | ||
script: make lint |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This project is governed by [Lyft's code of | ||
conduct](https://github.com/lyft/code-of-conduct). All contributors | ||
and participants agree to abide by its terms. |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. | ||
# ONLY EDIT THIS FILE FROM WITHIN THE 'LYFT/BOILERPLATE' REPOSITORY: | ||
# | ||
# TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst | ||
|
||
# Using go1.10.4 | ||
FROM golang:1.10.4-alpine3.8 as builder | ||
RUN apk add git openssh-client make curl dep | ||
|
||
# COPY only the dep files for efficient caching | ||
COPY Gopkg.* /go/src/github.com/lyft/flyteadmin/ | ||
WORKDIR /go/src/github.com/lyft/flyteadmin | ||
|
||
# Pull dependencies | ||
RUN dep ensure -vendor-only | ||
|
||
# COPY the rest of the source code | ||
COPY . /go/src/github.com/lyft/flyteadmin/ | ||
|
||
# This 'linux_compile' target should compile binaries to the /artifacts directory | ||
# The main entrypoint should be compiled to /artifacts/flyteadmin | ||
RUN make linux_compile | ||
|
||
# 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.8 | ||
COPY --from=builder /artifacts /bin | ||
|
||
RUN apk --update add ca-certificates | ||
|
||
CMD ["flyteadmin"] |
Oops, something went wrong.