Skip to content

Commit 6aa01d5

Browse files
authored
Merge pull request syseleven#79 from syseleven/github-actions
introduce github actions
2 parents b4a1c95 + 51779aa commit 6aa01d5

8 files changed

Lines changed: 163 additions & 1554 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Deploy Worklow
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Build and Push
16+
env:
17+
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
18+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
19+
run: make build ci-push

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Worklow
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Run check
17+
run: make check
18+
19+
- name: Run test
20+
env:
21+
TEST_ZONE_NAME: ${{ secrets.TEST_ZONE_NAME }}
22+
OS_TENANT_NAME: ${{ secrets.OS_TENANT_NAME }}
23+
OS_TENANT_ID: ${{ secrets.OS_PROJECT_ID }}
24+
OS_DOMAIN_NAME: ${{ secrets.OS_DOMAIN_NAME }}
25+
OS_USERNAME: ${{ secrets.OS_USERNAME }}
26+
OS_PASSWORD: ${{ secrets.OS_PASSWORD }}
27+
OS_AUTH_URL: ${{ secrets.OS_AUTH_URL }}
28+
OS_REGION_NAME: ${{ secrets.OS_REGION_NAME }}
29+
OS_PROJECT_ID: ${{ secrets.OS_PROJECT_ID }}
30+
run: make test

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test:
1616
-e TEST_ZONE_NAME=$$TEST_ZONE_NAME \
1717
-e OS_TENANT_NAME=$$OS_TENANT_NAME \
1818
-e OS_TENANT_ID=$$OS_PROJECT_ID \
19-
-e OS_DOMAIN_NAME=$$OS_USER_DOMAIN_NAME \
19+
-e OS_DOMAIN_NAME=$$OS_DOMAIN_NAME \
2020
-e OS_USERNAME=$$OS_USERNAME \
2121
-e OS_PASSWORD=$$OS_PASSWORD \
2222
-e OS_AUTH_URL=$$OS_AUTH_URL \

go.mod

Lines changed: 98 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,108 @@ go 1.17
44

55
require (
66
github.com/cert-manager/cert-manager v1.8.0
7-
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
87
github.com/gophercloud/gophercloud v0.14.0
98
github.com/kubernetes-incubator/external-dns v0.5.12
109
github.com/sirupsen/logrus v1.8.1
1110
k8s.io/client-go v0.23.4
1211
)
1312

13+
require (
14+
github.com/NYTimes/gziphandler v1.1.1 // indirect
15+
github.com/PuerkitoBio/purell v1.1.1 // indirect
16+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
17+
github.com/beorn7/perks v1.0.1 // indirect
18+
github.com/blang/semver v3.5.1+incompatible // indirect
19+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
20+
github.com/coreos/go-semver v0.3.0 // indirect
21+
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
22+
github.com/davecgh/go-spew v1.1.1 // indirect
23+
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
24+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
25+
github.com/felixge/httpsnoop v1.0.1 // indirect
26+
github.com/fsnotify/fsnotify v1.5.1 // indirect
27+
github.com/go-logr/logr v1.2.0 // indirect
28+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
29+
github.com/go-openapi/jsonreference v0.19.5 // indirect
30+
github.com/go-openapi/swag v0.19.14 // indirect
31+
github.com/gogo/protobuf v1.3.2 // indirect
32+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
33+
github.com/golang/protobuf v1.5.2 // indirect
34+
github.com/google/go-cmp v0.5.6 // indirect
35+
github.com/google/gofuzz v1.2.0 // indirect
36+
github.com/google/uuid v1.3.0 // indirect
37+
github.com/googleapis/gnostic v0.5.5 // indirect
38+
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
39+
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
40+
github.com/imdario/mergo v0.3.12 // indirect
41+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
42+
github.com/josharian/intern v1.0.0 // indirect
43+
github.com/json-iterator/go v1.1.12 // indirect
44+
github.com/mailru/easyjson v0.7.6 // indirect
45+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
46+
github.com/miekg/dns v1.1.47 // indirect
47+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
48+
github.com/modern-go/reflect2 v1.0.2 // indirect
49+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
50+
github.com/pkg/errors v0.9.1 // indirect
51+
github.com/prometheus/client_golang v1.11.0 // indirect
52+
github.com/prometheus/client_model v0.2.0 // indirect
53+
github.com/prometheus/common v0.28.0 // indirect
54+
github.com/prometheus/procfs v0.6.0 // indirect
55+
github.com/spf13/cobra v1.3.0 // indirect
56+
github.com/spf13/pflag v1.0.5 // indirect
57+
go.etcd.io/etcd/api/v3 v3.5.1 // indirect
58+
go.etcd.io/etcd/client/pkg/v3 v3.5.1 // indirect
59+
go.etcd.io/etcd/client/v3 v3.5.0 // indirect
60+
go.opentelemetry.io/contrib v0.20.0 // indirect
61+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 // indirect
62+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 // indirect
63+
go.opentelemetry.io/otel v0.20.0 // indirect
64+
go.opentelemetry.io/otel/exporters/otlp v0.20.0 // indirect
65+
go.opentelemetry.io/otel/metric v0.20.0 // indirect
66+
go.opentelemetry.io/otel/sdk v0.20.0 // indirect
67+
go.opentelemetry.io/otel/sdk/export/metric v0.20.0 // indirect
68+
go.opentelemetry.io/otel/sdk/metric v0.20.0 // indirect
69+
go.opentelemetry.io/otel/trace v0.20.0 // indirect
70+
go.opentelemetry.io/proto/otlp v0.7.0 // indirect
71+
go.uber.org/atomic v1.7.0 // indirect
72+
go.uber.org/multierr v1.6.0 // indirect
73+
go.uber.org/zap v1.19.1 // indirect
74+
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 // indirect
75+
golang.org/x/mod v0.5.0 // indirect
76+
golang.org/x/net v0.0.0-20220107192237-5cfca573fb4d // indirect
77+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
78+
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
79+
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
80+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
81+
golang.org/x/text v0.3.7 // indirect
82+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
83+
golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff // indirect
84+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
85+
google.golang.org/appengine v1.6.7 // indirect
86+
google.golang.org/genproto v0.0.0-20220118154757-00ab72f36ad5 // indirect
87+
google.golang.org/grpc v1.43.0 // indirect
88+
google.golang.org/protobuf v1.27.1 // indirect
89+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
90+
gopkg.in/inf.v0 v0.9.1 // indirect
91+
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
92+
gopkg.in/yaml.v2 v2.4.0 // indirect
93+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
94+
k8s.io/api v0.23.4 // indirect
95+
k8s.io/apiextensions-apiserver v0.23.4 // indirect
96+
k8s.io/apimachinery v0.23.4 // indirect
97+
k8s.io/apiserver v0.23.4 // indirect
98+
k8s.io/component-base v0.23.4 // indirect
99+
k8s.io/klog/v2 v2.30.0 // indirect
100+
k8s.io/kube-aggregator v0.23.4 // indirect
101+
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
102+
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
103+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.27 // indirect
104+
sigs.k8s.io/controller-runtime v0.11.1 // indirect
105+
sigs.k8s.io/gateway-api v0.4.1 // indirect
106+
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
107+
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
108+
sigs.k8s.io/yaml v1.3.0 // indirect
109+
)
110+
14111
replace git.apache.org/thrift.git => github.com/apache/thrift v0.13.0

0 commit comments

Comments
 (0)