Skip to content

Commit

Permalink
Merge pull request #29 from uc-cdis/feat/job_sa
Browse files Browse the repository at this point in the history
feat(job): use service account for dispatched jobs
  • Loading branch information
giangbui authored Jul 24, 2020
2 parents b645c7e + 8398604 commit 1ebb98b
Show file tree
Hide file tree
Showing 1,856 changed files with 342 additions and 872,268 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- "1.10"
- "1.14"

# Restrict to cloning only 1 commit.
git:
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ RUN mkdir -p /go/src/github.com/uc-cdis/ssjdispatcher
WORKDIR /go/src/github.com/uc-cdis/ssjdispatcher
ADD . .

RUN go build -ldflags "-linkmode external -extldflags -static" -o bin/ssjdispatcher
RUN go build -ldflags "-linkmode external -extldflags -static" -o /ssjdispatcher

# Set up small scratch image, and copy necessary things over
FROM scratch
# FROM scratch

COPY --from=build-deps /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build-deps /go/src/github.com/uc-cdis/ssjdispatcher/bin/ssjdispatcher /ssjdispatcher
# COPY --from=build-deps /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
# COPY --from=build-deps /go/src/github.com/uc-cdis/ssjdispatcher/bin/ssjdispatcher /ssjdispatcher

ENTRYPOINT ["/ssjdispatcher"]
Loading

0 comments on commit 1ebb98b

Please sign in to comment.