Skip to content

Commit

Permalink
chore: bootstrap (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
george-e-shaw-iv authored Sep 18, 2021
1 parent 0f96ab9 commit 126409b
Show file tree
Hide file tree
Showing 17 changed files with 161 additions and 102 deletions.
9 changes: 3 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ jobs:
# see https://outreach-io.atlassian.net/wiki/spaces/EN/pages/701596137/Services+Checklist for the setup process
- add_ssh_keys
- checkout
- run: mkdir -p $TEST_RESULTS # create the test results directory
- run:
name: Ensure tests directory exists
command: mkdir -p "$TEST_RESULTS"

- restore_cache: # restores saved cache if no changes are detected since last run
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
Expand Down Expand Up @@ -299,11 +301,6 @@ workflows:
context:
- docker-registry
- buildevents
filters:
# This enables running test when a tag is created.
# This still runs on each branch.
tags:
only: /v\d+(\.\d+)*(-.*)*/
- trigger_documentation:
context:
- docker-registry
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ updates:
interval: "daily"
ignore:
- dependency-name: "*"

###Block(dependabotPackageManagers)
###EndBlock(dependabotPackageManagers)
13 changes: 9 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
<!-- !!!! README !!!! Please fill this out. -->
<!--
<!--
!!!! README !!!! Please fill this out.
Please follow the PR naming conventions:
https://outreach-io.atlassian.net/wiki/spaces/EN/pages/1902444645/Conventional+Commits
-->


<!-- A short description of what your PR does and what it solves. -->
**What this PR does / why we need it**:
## What this PR does / why we need it



<!--- Block(jiraPrefix) --->
**JIRA ID**: XX-XX
<!--- EndBlock(jiraPrefix) --->

<!-- Notes that may be helpful for anyone reviewing this PR -->
**Notes for your reviewer**:
## Notes for your reviewers



<!--- Block(custom) -->
<!--- EndBlock(custom) -->
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ builds:
- amd64
- arm64
ldflags:
- '-w -s -X "github.com/getoutreach/go-outreach/v2/pkg/app.Version=v{{ .Version }}"'
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"'
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"'
env:
- CGO_ENABLED=0
Expand Down
1 change: 1 addition & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bracketSpacing: false
3 changes: 3 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# See https://help.github.com/articles/about-codeowners/
* @getoutreach/cia-dev-tooling

###Block(customCodeowners)
###EndBlock(customCodeowners)
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
APP := localizer
OSS := true
_ := $(shell ./scripts/bootstrap-lib.sh)

include .bootstrap/root/Makefile
Expand Down
4 changes: 2 additions & 2 deletions api/v1.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions bootstrap.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/localizer/localizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func main() { //nolint:funlen
NewExposeCommand(log),
},
Before: func(c *cli.Context) error {
sigC := make(chan os.Signal)
sigC := make(chan os.Signal, 1)
signal.Notify(sigC, os.Interrupt, syscall.SIGTERM)
go func() {
sig := <-sigC
Expand Down
18 changes: 11 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,41 +1,45 @@
module github.com/getoutreach/localizer

go 1.15
go 1.16

require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
github.com/benbjohnson/clock v1.1.0
github.com/davecgh/go-spew v1.1.1
github.com/elazarl/goproxy v0.0.0-20210110162100-a92cc753f88e // indirect
github.com/elazarl/goproxy/ext v0.0.0-20210110162100-a92cc753f88e // indirect
github.com/function61/gokit v0.0.0-20210402130425-341c2c9ecfd0
github.com/go-logr/logr v0.4.0
github.com/go-sql-driver/mysql v1.6.0 // indirect
github.com/google/go-cmp v0.5.5
github.com/gorilla/mux v1.8.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/googleapis/gnostic v0.5.4 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/mattn/go-sqlite3 v2.0.3+incompatible // indirect
github.com/metal-stack/go-ipam v1.8.4
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
github.com/urfave/cli/v2 v2.3.0
go.opencensus.io v0.23.0 // indirect
golang.org/x/crypto v0.0.0-20210503195802-e9a32991a82e
golang.org/x/net v0.0.0-20210505024714-0287a6fb4125 // indirect
golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
golang.org/x/term v0.0.0-20210503060354-a79de5458b56 // indirect
google.golang.org/genproto v0.0.0-20210505142820-a42aa055cf76 // indirect
google.golang.org/grpc v1.37.0
google.golang.org/protobuf v1.26.0
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea // indirect
google.golang.org/grpc v1.39.0
google.golang.org/protobuf v1.27.1
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect

// kubernetes deps
k8s.io/api v0.21.0
k8s.io/apimachinery v0.21.0
k8s.io/client-go v0.21.0
k8s.io/klog/v2 v2.8.0
k8s.io/utils v0.0.0-20210111153108-fddb29f9d009 // indirect
)

replace k8s.io/client-go => github.com/jaredallard/client-go v0.21.0-jaredallard
Loading

0 comments on commit 126409b

Please sign in to comment.