forked from bleenco/abstruse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use internal queue scheduler
- Loading branch information
Showing
237 changed files
with
6,467 additions
and
11,353 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ WORKDIR /app/ui | |
RUN yarn install && yarn build | ||
|
||
# stage 2 build | ||
FROM golang:1.14-alpine as build | ||
FROM golang:1.15-alpine as build | ||
|
||
ARG GIT_COMMIT="" | ||
ENV GIT_COMMIT=$GIT_COMMIT | ||
|
@@ -21,9 +21,9 @@ COPY --from=ui /app/ui/dist /app/web/abstruse/dist | |
|
||
COPY . /app/ | ||
|
||
RUN go get github.com/jkuri/statik github.com/golang/protobuf/protoc-gen-go@v1.3 | ||
RUN go get github.com/jkuri/statik github.com/golang/protobuf/protoc-gen-go github.com/google/wire/... | ||
|
||
RUN make protoc && make statik && make server | ||
RUN make protoc && make statik && make wire && make server | ||
|
||
# stage 3 image | ||
FROM scratch | ||
|
@@ -33,12 +33,12 @@ LABEL maintainer="Jan Kuri <[email protected]>" \ | |
org.label-schema.name="abstruse-server" \ | ||
org.label-schema.description="Distributed Continuous Intergration Platform" \ | ||
org.label-schema.url="https://ci.abstruse.cc/" \ | ||
org.label-schema.vcs-url="https://github.com/jkuri/abstruse" \ | ||
org.label-schema.vcs-url="https://github.com/bleenco/abstruse" \ | ||
org.label-schema.vendor="abstruse" | ||
|
||
COPY --from=build /etc/ssl/certs /etc/ssl/certs | ||
COPY --from=build /app/build/abstruse-server /usr/bin/abstruse-server | ||
|
||
ENTRYPOINT [ "/usr/bin/abstruse-server" ] | ||
|
||
EXPOSE 80 2379 2380 | ||
EXPOSE 80 |
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,5 +1,5 @@ | ||
# stage 1 build | ||
FROM golang:1.14-alpine as build | ||
FROM golang:1.15-alpine as build | ||
|
||
ARG GIT_COMMIT="" | ||
ENV GIT_COMMIT=$GIT_COMMIT | ||
|
@@ -10,9 +10,9 @@ RUN apk --no-cache add git make protobuf protobuf-dev ca-certificates alpine-sdk | |
|
||
COPY . /app/ | ||
|
||
RUN go get github.com/jkuri/statik github.com/golang/protobuf/protoc-gen-go@v1.3 | ||
RUN go get github.com/jkuri/statik github.com/golang/protobuf/protoc-gen-go github.com/google/wire/... | ||
|
||
RUN make protoc && make statik_worker && make worker | ||
RUN make protoc && make wire && make worker | ||
|
||
# stage 2 image | ||
FROM scratch | ||
|
@@ -22,7 +22,7 @@ LABEL maintainer="Jan Kuri <[email protected]>" \ | |
org.label-schema.name="abstruse-worker" \ | ||
org.label-schema.description="Distributed Continuous Intergration Platform" \ | ||
org.label-schema.url="https://ci.abstruse.cc/" \ | ||
org.label-schema.vcs-url="https://github.com/jkuri/abstruse" \ | ||
org.label-schema.vcs-url="https://github.com/bleenco/abstruse" \ | ||
org.label-schema.vendor="abstruse" | ||
|
||
COPY --from=build /etc/ssl/certs /etc/ssl/certs | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,46 @@ | ||
module github.com/bleenco/abstruse | ||
|
||
go 1.14 | ||
go 1.15 | ||
|
||
require ( | ||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect | ||
github.com/Microsoft/go-winio v0.4.14 // indirect | ||
github.com/Sirupsen/logrus v0.0.0-00010101000000-000000000000 // indirect | ||
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect | ||
github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 | ||
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef | ||
github.com/dgrijalva/jwt-go v3.2.0+incompatible | ||
github.com/docker/distribution v2.7.1+incompatible | ||
github.com/docker/distribution v2.7.1+incompatible // indirect | ||
github.com/docker/docker v1.13.1 | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
github.com/docker/go-metrics v0.0.1 // indirect | ||
github.com/docker/go-units v0.4.0 // indirect | ||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect | ||
github.com/drone/go-scm v1.7.0 | ||
github.com/drone/go-scm v1.7.1 | ||
github.com/dustin/go-humanize v1.0.0 | ||
github.com/felixge/httpsnoop v1.0.1 | ||
github.com/garyburd/redigo v1.6.0 // indirect | ||
github.com/go-chi/chi v4.1.2+incompatible | ||
github.com/go-git/go-git/v5 v5.1.0 | ||
github.com/go-chi/chi v1.5.0 | ||
github.com/go-chi/cors v1.1.1 | ||
github.com/go-git/go-git/v5 v5.2.0 | ||
github.com/go-ole/go-ole v1.2.4 // indirect | ||
github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee | ||
github.com/gobwas/pool v0.2.0 // indirect | ||
github.com/gobwas/ws v1.0.3 | ||
github.com/golang/protobuf v1.3.5 | ||
github.com/google/go-cmp v0.5.0 // indirect | ||
github.com/google/uuid v1.1.1 | ||
github.com/gorilla/handlers v1.4.2 // indirect | ||
github.com/gorilla/mux v1.7.4 // indirect | ||
github.com/jinzhu/gorm v1.9.12 | ||
github.com/gobwas/httphead v0.0.0-20200921212729-da3d93bc3c58 | ||
github.com/gobwas/pool v0.2.1 // indirect | ||
github.com/gobwas/ws v1.0.4 | ||
github.com/golang/protobuf v1.4.3 | ||
github.com/google/uuid v1.1.2 | ||
github.com/google/wire v0.4.0 | ||
github.com/jinzhu/gorm v1.9.16 | ||
github.com/jkuri/statik v0.3.0 | ||
github.com/jpillora/backoff v1.0.0 | ||
github.com/json-iterator/go v1.1.9 // indirect | ||
github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381 | ||
github.com/logrusorgru/aurora v2.0.3+incompatible | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/mssola/user_agent v0.5.2 | ||
github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.0.1 // indirect | ||
github.com/shirou/gopsutil v2.20.5+incompatible | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/shirou/gopsutil v3.20.10+incompatible | ||
github.com/spf13/cobra v1.1.1 | ||
github.com/spf13/viper v1.7.0 | ||
go.etcd.io/etcd v0.5.0-alpha.5.0.20200425165423-262c93980547 | ||
go.uber.org/zap v1.15.0 | ||
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 | ||
golang.org/x/net v0.0.0-20200602114024-627f9648deb9 // indirect | ||
google.golang.org/grpc v1.29.1 | ||
go.uber.org/zap v1.10.0 | ||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 | ||
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect | ||
golang.org/x/sys v0.0.0-20201126233918-771906719818 // indirect | ||
golang.org/x/text v0.3.4 // indirect | ||
google.golang.org/genproto v0.0.0-20201119123407-9b1e624d6bc4 // indirect | ||
google.golang.org/grpc v1.33.2 | ||
google.golang.org/protobuf v1.25.0 | ||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 | ||
gopkg.in/yaml.v2 v2.2.8 | ||
sigs.k8s.io/yaml v1.2.0 // indirect | ||
) | ||
|
||
replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.6.0 |
Oops, something went wrong.