-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(bootstrap): v10.2.0-rc.1 * removed secrets
- Loading branch information
Peter Lisy
committed
Jun 23, 2022
1 parent
2d2e4d3
commit 42afe99
Showing
34 changed files
with
5,913 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# Please re-run stencil after any changes to this file as invalid | ||
# syntax, such as anchors, will be fixed automatically. | ||
version: 2.1 | ||
orbs: | ||
shared: getoutreach/shared@2.0.4 | ||
|
||
# Extra contexts to expose to all jobs below | ||
contexts: &contexts | ||
- aws-credentials | ||
- ghaccesstoken | ||
- docker-registry | ||
- npm-credentials | ||
- prismacloud-credentials | ||
- opslevel-credentials | ||
- vault-dev | ||
- confluence | ||
###Block(extraContexts) | ||
|
||
###EndBlock(extraContexts) | ||
|
||
jobs: | ||
{} | ||
###Block(circleJobs) | ||
|
||
###EndBlock(circleJobs) | ||
|
||
### Start jobs inserted by other modules | ||
### End jobs inserted by other modules | ||
|
||
workflows: | ||
version: 2 | ||
###Block(circleWorkflows) | ||
|
||
###EndBlock(circleWorkflows) | ||
|
||
### Start workflows inserted by other modules | ||
### End workflows inserted by other modules | ||
|
||
release: | ||
jobs: | ||
###Block(circleWorkflowJobs) | ||
|
||
###EndBlock(circleWorkflowJobs) | ||
### Start jobs inserted by other modules | ||
### End jobs inserted by other modules | ||
- shared/release: &release | ||
dryrun: false | ||
context: *contexts | ||
###Block(circleReleaseExtra) | ||
|
||
###EndBlock(circleReleaseExtra) | ||
requires: | ||
###Block(circleReleaseRequires) | ||
|
||
###EndBlock(circleReleaseRequires) | ||
- shared/test | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
- main | ||
- release | ||
# Dryrun release for PRs | ||
- shared/release: | ||
<<: *release | ||
dryrun: true | ||
filters: | ||
branches: | ||
ignore: | ||
- master | ||
- main | ||
- release | ||
- shared/test: | ||
context: *contexts | ||
app_name: logfmt | ||
|
||
- shared/publish_docs: | ||
context: *contexts | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /v[0-9]+(\.[0-9]+)*(-.*)*/ | ||
- shared/finalize-coverage: | ||
context: *contexts | ||
requires: | ||
- shared/e2e | ||
- shared/test | ||
- shared/e2e: | ||
context: *contexts | ||
- shared/docker: | ||
context: *contexts | ||
filters: | ||
branches: | ||
ignore: | ||
- master | ||
- main | ||
- release | ||
tags: | ||
only: /v\d+(\.\d+)*(-.*)*/ |
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,17 @@ | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.go,Makefile] | ||
indent_style = tab | ||
|
||
[*.{bash,rb,sh,slim,yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
###Block(editorconfig) | ||
|
||
###EndBlock(editorconfig) |
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,8 @@ | ||
go.sum linguist-generated | ||
*_pb.d.ts linguist-generated | ||
*.pb.go linguist-generated | ||
*_pb.js linguist-generated | ||
*_pb.rb linguist-generated | ||
internal/ent linguist-generated | ||
internal/ent/schema/*.go -text diff=golang | ||
bootstrap.lock linguist-generated |
Validating CODEOWNERS rules …
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,6 @@ | ||
# See https://help.github.com/articles/about-codeowners/ | ||
* @getoutreach/fnd-dtss | ||
|
||
###Block(customCodeowners) | ||
|
||
###EndBlock(customCodeowners) |
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,21 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Bootstrap managed dependencies | ||
ignore: | ||
- dependency-name: github.com/getoutreach/gobox | ||
- dependency-name: github.com/urfave/cli/v2 | ||
|
||
# Ignore semantic-release, this code is only executed in CI. | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
ignore: | ||
- dependency-name: "*" | ||
|
||
###Block(dependabotPackageManagers) | ||
###EndBlock(dependabotPackageManagers) |
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,26 @@ | ||
<!-- | ||
!!!! 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 | ||
|
||
<!--- Block(jiraPrefix) ---> | ||
|
||
## Jira ID | ||
|
||
[XX-XX] | ||
|
||
<!--- EndBlock(jiraPrefix) ---> | ||
|
||
<!-- Notes that may be helpful for anyone reviewing this PR --> | ||
|
||
## Notes for your reviewers | ||
|
||
<!--- Block(custom) --> | ||
|
||
<!--- EndBlock(custom) --> |
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,9 @@ | ||
name: Pull Request Shared Actions | ||
on: pull_request | ||
|
||
jobs: | ||
conventional_commit: | ||
name: Conventional Commit | ||
uses: getoutreach/actions/.github/workflows/conventional_commit.yaml@main | ||
secrets: | ||
OUTREACH_DOCKER_JSON: ${{ secrets.OUTREACH_DOCKER_JSON }} |
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,65 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Editor files | ||
*.swp | ||
*~ | ||
\#*\# | ||
.idea/* | ||
TAGS | ||
*.sublime-project | ||
*.sublime-workspace | ||
.\#* | ||
|
||
# Test binary, build with "go test -c" | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Log files | ||
*.log | ||
|
||
# Releases and other binaries | ||
bin/ | ||
dist/ | ||
|
||
# Don't. Commit. Vendor. Or other package manager dep directories | ||
node_modules | ||
vendor | ||
|
||
# Fetched by make | ||
concourse/jsonnet-libs | ||
|
||
# pulumi secrets, obtained from vault | ||
Pulumi.*.yaml | ||
|
||
# terraform | ||
.terraform | ||
|
||
# macOS | ||
.DS_Store | ||
|
||
# Ruby gRPC client | ||
*.gem | ||
|
||
# bootstrap libs | ||
.bootstrap | ||
|
||
# CircleCI cache version | ||
/cache-version.txt | ||
|
||
# DevSpace files | ||
/.devspace | ||
/deployments/logfmt.yaml | ||
|
||
# Documentation output | ||
/apidocs | ||
|
||
###Block(extras) | ||
|
||
###EndBlock(extras) |
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,26 @@ | ||
# Documentation for this file: http://goreleaser.com | ||
before: | ||
hooks: | ||
- make dep | ||
builds: | ||
- main: ./cmd/logfmt | ||
id: &name logfmt | ||
binary: *name | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
ldflags: | ||
- '-w -s -X "github.com/getoutreach/gobox/pkg/app.Version=v{{ .Version }}"' | ||
- '-X "main.HoneycombTracingKey={{ .Env.HONEYCOMB_APIKEY }}"' | ||
- '-X "main.TeleforkAPIKey={{ .Env.TELEFORK_APIKEY }}"' | ||
env: | ||
- CGO_ENABLED=0 | ||
archives: [] | ||
checksum: | ||
name_template: "checksums.txt" | ||
release: | ||
# We handle releasing via semantic-release | ||
disable: true |
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 @@ | ||
bracketSpacing: false |
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,29 @@ | ||
preset: conventionalcommits | ||
branches: | ||
- name: main | ||
prerelease: "rc" | ||
- name: release | ||
plugins: | ||
- - "@semantic-release/commit-analyzer" | ||
- releaseRules: | ||
- type: revert | ||
release: patch | ||
- type: perf | ||
release: patch | ||
# Build the binaries | ||
- - "@semantic-release/exec" | ||
# We use generateNotesCmd instead of a different step because it has access | ||
# to last/nextRelease due to when the step runs. | ||
- generateNotesCmd: "make release APP_VERSION=${nextRelease.version}" | ||
|
||
# This creates fancy release notes in our Github release | ||
- "@semantic-release/release-notes-generator" | ||
# Create the Github Release | ||
- - "@semantic-release/github" | ||
- assets: | ||
- "dist/*.tar.gz" | ||
- "dist/checksums.txt" | ||
|
||
### Block(customReleasePlugins) | ||
|
||
### EndBlock(customReleasePlugins) |
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,11 @@ | ||
# This file contains tool versions for use with asdf | ||
golang 1.17.9 | ||
nodejs 16.13.0 | ||
terraform 0.13.5 | ||
ruby 2.6.6 | ||
protoc 3.19.1 | ||
# Note: Versions in this block override the above. Be EXTREMELY | ||
# CAREFUL with this. If you override a standard version you are | ||
# reducing compatibility guarantees. | ||
###Block(toolver) | ||
###EndBlock(toolver) |
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,20 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"hashicorp.terraform", | ||
"golang.go", | ||
"heptio.jsonnet", | ||
"xrc-inc.jsonnet-formatter", | ||
"timonwong.shellcheck", | ||
"zxh404.vscode-proto3", | ||
"redhat.vscode-yaml", | ||
"ms-azuretools.vscode-docker", | ||
"foxundermoon.shell-format" | ||
|
||
// Please consider contributing back all recommended | ||
// extensions to bootstrap! | ||
///Block(extensions) | ||
|
||
///EndBlock(extensions) | ||
] | ||
} |
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,46 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch Debug Server", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "debug", | ||
"envFile": "${workspaceRoot}/.vscode/private.env", | ||
"go.testEnvFile": "${workspaceRoot}/.vscode/private.env", | ||
"program": "${workspaceRoot}/cmd/logfmt/", | ||
"buildFlags": "-tags=or_dev" | ||
}, | ||
{ | ||
"name": "Attach to dev container", | ||
"type": "go", | ||
"debugAdapter": "dlv-dap", | ||
"request": "attach", | ||
"mode": "remote", | ||
///Block(vscodeRemoteDebug) | ||
"host": "127.0.0.1", | ||
"port": 42097, | ||
///EndBlock(vscodeRemoteDebug) | ||
"substitutePath": [ | ||
{ | ||
"from": "${workspaceRoot}", | ||
"to": "/home/dev/app" | ||
}, | ||
{ | ||
"from": "${env:HOME}/.asdf/installs/golang/1.17.9/packages/pkg/mod", | ||
"to": "/tmp/cache/go/mod/" | ||
}, | ||
{ | ||
"from": "${env:HOME}/.asdf/installs/golang/1.17.9/go/src", | ||
"to": "/home/dev/.asdf/installs/golang/1.17.9/go/src" | ||
} | ||
] | ||
} | ||
///Block(vscodeLaunchConfigs) | ||
|
||
///EndBlock(vscodeLaunchConfigs) | ||
] | ||
} |
Oops, something went wrong.