-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix conflict and modify Test_generateJobTree
- Loading branch information
Showing
69 changed files
with
11,515 additions
and
993 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 |
---|---|---|
@@ -1,23 +1,22 @@ | ||
name: Test | ||
on: [push, pull_request] | ||
on: [push,pull_request] | ||
jobs: | ||
build: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Set up Go 1.13 | ||
- name: Set up Go 1.14 | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.13 | ||
go-version: 1.14 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v2 | ||
|
||
- name: Get dependencies | ||
run: go get -v -t -d ./... | ||
|
||
- name: Test without docker | ||
run: go test -v -timeout 200s ./... | ||
|
||
run: go test -v -timeout 200s ./... |
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 |
---|---|---|
|
@@ -99,34 +99,35 @@ builds: | |
ldflags: | ||
- -s -w -X github.com/distribworks/dkron/v2/dkron.Version={{.Version}} | ||
|
||
nfpm: | ||
vendor: Distributed Works | ||
homepage: https://dkron.io | ||
maintainer: Victor Castell <[email protected]> | ||
description: Distributed, fault tolerant job scheduling system | ||
license: LGPL 3.0 | ||
|
||
formats: | ||
- deb | ||
- rpm | ||
|
||
# Override default /usr/local/bin destination for binaries | ||
bindir: /usr/bin | ||
|
||
empty_folders: | ||
- /var/log/dkron | ||
|
||
#files: | ||
# "builder/files/": "/etc/init.d" | ||
# "path/**/glob": "/var/foo/glob" | ||
config_files: | ||
"builder/files/dkron.yml": "/etc/dkron/dkron.yml" | ||
"builder/files/dkron.service": "/lib/systemd/system/dkron.service" | ||
|
||
overrides: | ||
rpm: | ||
replacements: | ||
amd64: x86_64 | ||
nfpms: | ||
- | ||
vendor: Distributed Works | ||
homepage: https://dkron.io | ||
maintainer: Victor Castell <[email protected]> | ||
description: Distributed, fault tolerant job scheduling system | ||
license: LGPL 3.0 | ||
|
||
formats: | ||
- deb | ||
- rpm | ||
|
||
# Override default /usr/local/bin destination for binaries | ||
bindir: /usr/bin | ||
|
||
empty_folders: | ||
- /var/log/dkron | ||
|
||
#files: | ||
# "builder/files/": "/etc/init.d" | ||
# "path/**/glob": "/var/foo/glob" | ||
config_files: | ||
"builder/files/dkron.yml": "/etc/dkron/dkron.yml" | ||
"builder/files/dkron.service": "/lib/systemd/system/dkron.service" | ||
|
||
overrides: | ||
rpm: | ||
replacements: | ||
amd64: x86_64 | ||
|
||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
|
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,4 +1,4 @@ | ||
FROM golang:1.13 | ||
FROM golang:1.14 | ||
LABEL maintainer="Victor Castell <[email protected]>" | ||
|
||
EXPOSE 8080 8946 | ||
|
@@ -12,6 +12,6 @@ COPY go.sum go.sum | |
RUN go mod download | ||
|
||
COPY . . | ||
#RUN go install ./... | ||
RUN go install ./... | ||
|
||
#CMD ["dkron"] | ||
CMD ["dkron"] |
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
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
Oops, something went wrong.