mirror of
https://github.com/thegeeklab/github-releases-notifier.git
synced 2024-06-02 17:49:40 +02:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
f1fdf56ad5 | |||
9706828871 | |||
83a6fde03c | |||
|
e1144c634f | ||
f3fc4503b6 | |||
4667df0eee | |||
|
07a34dd540 | ||
ce653b1cfc | |||
deb7d0f7d4 | |||
85ca39fc6e | |||
|
e4cd3492bd |
|
@ -9,7 +9,7 @@ local PipelineTest = {
|
|||
steps: [
|
||||
{
|
||||
name: 'staticcheck',
|
||||
image: 'golang:1.14',
|
||||
image: 'golang:1.15',
|
||||
commands: [
|
||||
'go run honnef.co/go/tools/cmd/staticcheck ./...',
|
||||
],
|
||||
|
@ -22,7 +22,7 @@ local PipelineTest = {
|
|||
},
|
||||
{
|
||||
name: 'lint',
|
||||
image: 'golang:1.14',
|
||||
image: 'golang:1.15',
|
||||
commands: [
|
||||
'go run golang.org/x/lint/golint -set_exit_status ./...',
|
||||
],
|
||||
|
@ -35,7 +35,7 @@ local PipelineTest = {
|
|||
},
|
||||
{
|
||||
name: 'vet',
|
||||
image: 'golang:1.14',
|
||||
image: 'golang:1.15',
|
||||
commands: [
|
||||
'go vet ./...',
|
||||
],
|
||||
|
@ -48,7 +48,7 @@ local PipelineTest = {
|
|||
},
|
||||
{
|
||||
name: 'test',
|
||||
image: 'golang:1.14',
|
||||
image: 'golang:1.15',
|
||||
commands: [
|
||||
'go test -cover ./...',
|
||||
],
|
||||
|
@ -83,7 +83,7 @@ local PipelineBuildBinaries = {
|
|||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'techknowlogick/xgo:go-1.14.x',
|
||||
image: 'techknowlogick/xgo:go-1.15.x',
|
||||
commands: [
|
||||
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
|
||||
'mkdir -p release/',
|
||||
|
@ -152,7 +152,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'golang:1.14',
|
||||
image: 'golang:1.15',
|
||||
commands: [
|
||||
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
|
||||
'go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/' + arch + '/github-releases-notifier ./cmd/github-releases-notifier',
|
||||
|
|
18
.drone.yml
18
.drone.yml
|
@ -8,7 +8,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: staticcheck
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go run honnef.co/go/tools/cmd/staticcheck ./...
|
||||
volumes:
|
||||
|
@ -16,7 +16,7 @@ steps:
|
|||
path: /go
|
||||
|
||||
- name: lint
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go run golang.org/x/lint/golint -set_exit_status ./...
|
||||
volumes:
|
||||
|
@ -24,7 +24,7 @@ steps:
|
|||
path: /go
|
||||
|
||||
- name: vet
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go vet ./...
|
||||
volumes:
|
||||
|
@ -32,7 +32,7 @@ steps:
|
|||
path: /go
|
||||
|
||||
- name: test
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- go test -cover ./...
|
||||
volumes:
|
||||
|
@ -62,7 +62,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: techknowlogick/xgo:go-1.14.x
|
||||
image: techknowlogick/xgo:go-1.15.x
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- mkdir -p release/
|
||||
|
@ -122,7 +122,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/amd64/github-releases-notifier ./cmd/github-releases-notifier
|
||||
|
@ -208,7 +208,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/arm64/github-releases-notifier ./cmd/github-releases-notifier
|
||||
|
@ -294,7 +294,7 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.14
|
||||
image: golang:1.15
|
||||
commands:
|
||||
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||
- go build -v -ldflags "-X main.version=$BUILD_VERSION" -a -tags netgo -o release/arm/github-releases-notifier ./cmd/github-releases-notifier
|
||||
|
@ -468,6 +468,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 025ee4ad77d1a0b278ee593a8b6b0b56d2d38066364cf3d6bfdf14ab535367c2
|
||||
hmac: 17ada3730f0eee0944851ad37959cd2a8f15060a20e034632bc868d120632ee4
|
||||
|
||||
...
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
- ENHANCEMENT
|
||||
- Update golang.org/x/oauth2 commit hash to 0b49973
|
||||
- Update golang.org/x/oauth2 commit hash to 08078c5
|
||||
- Replace deprecated `org.label-schema` by `org.opencontainers` labels
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
FROM alpine:3.12
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="GitHub Release Notifier" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="GitHub Release Notifier"
|
||||
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
FROM alpine:3.12
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="GitHub Release Notifier" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="GitHub Release Notifier"
|
||||
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
FROM alpine:3.12
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
|
||||
org.label-schema.name="GitHub Release Notifier" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="GitHub Release Notifier"
|
||||
LABEL org.opencontainers.image.url="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
LABEL org.opencontainers.image.source="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/github-releases-notifier/"
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
|
|
4
go.mod
4
go.mod
|
@ -6,7 +6,7 @@ require (
|
|||
github.com/alexflint/go-arg v1.3.0
|
||||
github.com/go-kit/kit v0.10.0
|
||||
github.com/joho/godotenv v1.3.0
|
||||
github.com/shurcooL/githubv4 v0.0.0-20200928013246-d292edc3691b
|
||||
github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa
|
||||
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f // indirect
|
||||
golang.org/x/oauth2 v0.0.0-20201203001011-0b49973bad19
|
||||
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
|
||||
)
|
||||
|
|
5
go.sum
5
go.sum
|
@ -300,6 +300,8 @@ github.com/shurcooL/githubv4 v0.0.0-20191127044304-8f68eb5628d0 h1:T9uus1QvcPgeL
|
|||
github.com/shurcooL/githubv4 v0.0.0-20191127044304-8f68eb5628d0/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo=
|
||||
github.com/shurcooL/githubv4 v0.0.0-20200928013246-d292edc3691b h1:0/ecDXh/HTHRtSDSFnD2/Ta1yQ5J76ZspVY4u0/jGFk=
|
||||
github.com/shurcooL/githubv4 v0.0.0-20200928013246-d292edc3691b/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo=
|
||||
github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa h1:jozR3igKlnYCj9IVHOVump59bp07oIRoLQ/CcjMYIUA=
|
||||
github.com/shurcooL/githubv4 v0.0.0-20201206200315-234843c633fa/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo=
|
||||
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f h1:tygelZueB1EtXkPI6mQ4o9DQ0+FKW41hTbunoXZCTqk=
|
||||
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg=
|
||||
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
|
||||
|
@ -427,6 +429,9 @@ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58 h1:Mj83v+wSRNEar42a/MQgxk
|
|||
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20201203001011-0b49973bad19 h1:ZD+2Sd/BnevwJp8PSli8WgGAGzb9IZtxBsv1iZMYeEA=
|
||||
golang.org/x/oauth2 v0.0.0-20201203001011-0b49973bad19/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20201207163604-931764155e3f h1:bGuVhRryQ3m1t3U3cQOa4TdSuMIXKrTrvmdJjQLbMKc=
|
||||
golang.org/x/oauth2 v0.0.0-20201207163604-931764155e3f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
|
||||
|
|
Loading…
Reference in New Issue
Block a user