-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from ernoaapa/cleanup-ci
Cleanup CI build, test & release pipeline
- Loading branch information
Showing
17 changed files
with
106 additions
and
451 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
/dist | ||
/bin | ||
/.go | ||
/.push-* | ||
/.container-* | ||
/.dockerfile-* | ||
|
||
node_modules | ||
# Ignore because just used with gitbook | ||
|
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,58 @@ | ||
builds: | ||
- binary: eli | ||
main: ./cmd/eli | ||
goos: | ||
- darwin | ||
- linux | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
env: | ||
- CGO_ENABLED=0 | ||
|
||
- binary: eliotd | ||
main: ./cmd/eliotd | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
env: | ||
- CGO_ENABLED=0 | ||
|
||
archive: | ||
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
|
||
brew: | ||
github: | ||
owner: ernoaapa | ||
name: homebrew-eliot | ||
homepage: "http://eliot.run" | ||
description: "Container management system for IoT devices" | ||
test: | | ||
system "#{bin}/eli --version" | ||
dockers: | ||
- binary: eli | ||
goos: linux | ||
goarch: amd64 | ||
image: ernoaapa/eli | ||
dockerfile: Dockerfile.eli | ||
tag_templates: | ||
- "v{{ .Version }}" | ||
|
||
- binary: eliotd | ||
goos: linux | ||
goarch: amd64 | ||
image: ernoaapa/eliotd | ||
dockerfile: Dockerfile.eliotd | ||
tag_templates: | ||
- "v{{ .Version }}-amd64" | ||
|
||
- binary: eliotd | ||
goos: linux | ||
goarch: arm64 | ||
image: ernoaapa/eliotd | ||
dockerfile: Dockerfile.eliotd | ||
tag_templates: | ||
- "v{{ .Version }}-arm64" |
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 |
---|---|---|
|
@@ -7,6 +7,6 @@ COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | |
|
||
LABEL maintainer="Erno Aapa <[email protected]>" | ||
|
||
ADD bin/ARG_OS-ARG_ARCH/ARG_BIN /ARG_BIN | ||
COPY eli / | ||
|
||
ENTRYPOINT ["/ARG_BIN"] | ||
ENTRYPOINT ["/eli"] |
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 |
---|---|---|
|
@@ -7,6 +7,6 @@ COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | |
|
||
LABEL maintainer="Erno Aapa <[email protected]>" | ||
|
||
ADD dist/ARG_BIN_ARG_OS_ARG_ARCH /ARG_BIN | ||
COPY eliotd / | ||
|
||
ENTRYPOINT ["/ARG_BIN"] | ||
ENTRYPOINT ["/eliotd"] |
Oops, something went wrong.