Skip to content

Commit 45e8fe0

Browse files
authored
feat: hand over to DT with restencil (#110)
* feat: hand over to DT * feat: restencil
1 parent ade48d5 commit 45e8fe0

File tree

15 files changed

+1625
-2176
lines changed

15 files changed

+1625
-2176
lines changed

.circleci/config.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22
# syntax, such as anchors, will be fixed automatically.
33
version: 2.1
44
orbs:
5-
shared: getoutreach/shared@2.24.0
5+
shared: getoutreach/shared@2.28.1
66
queue: eddiewebb/[email protected]
7+
## <<Stencil::Block(CircleCIExtraOrbs)>>
8+
9+
## <</Stencil::Block>>
710

811
parameters:
912
rebuild_cache:
1013
type: boolean
1114
default: false
15+
## <<Stencil::Block(CircleCIExtraParams)>>
16+
17+
## <</Stencil::Block>>
1218

1319
# Extra contexts to expose to all jobs below
1420
contexts: &contexts
@@ -20,6 +26,7 @@ contexts: &contexts
2026
- confluence
2127
- circleci-credentials
2228
- tray-webhooks
29+
- wizcli
2330
## <<Stencil::Block(extraContexts)>>
2431

2532
## <</Stencil::Block>>
@@ -75,7 +82,8 @@ workflows:
7582

7683
release:
7784
when:
78-
not: << pipeline.parameters.rebuild_cache >>
85+
and:
86+
- not: << pipeline.parameters.rebuild_cache >>
7987
jobs:
8088
## <<Stencil::Block(circleWorkflowJobs)>>
8189

@@ -95,12 +103,19 @@ workflows:
95103
- shared/test
96104
filters:
97105
branches:
98-
only: *release_branches
99-
100-
# Dryrun release for PRs.
101-
- shared/release:
102-
<<: *release
106+
only: main
107+
# Dryrun for PRs
108+
- shared/pre-release: &pre-release
103109
dryrun: true
110+
context: *contexts
111+
## <<Stencil::Block(circlePreReleaseDryRunExtra)>>
112+
113+
## <</Stencil::Block>>
114+
requires:
115+
## <<Stencil::Block(circlePreReleaseDryRunRequires)>>
116+
117+
## <</Stencil::Block>>
118+
- shared/test
104119
filters:
105120
branches:
106121
ignore: *release_branches

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See https://help.github.com/articles/about-codeowners/
2-
* @getoutreach/end-ades
2+
* @getoutreach/fnd-dt
33

44
## <<Stencil::Block(customCodeowners)>>
55

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# you are reducing compatibility guarantees.
55
## <<Stencil::Block(toolverOverride)>>
66
## <</Stencil::Block>>
7-
nodejs 18.17.1
7+
golang 1.22.6
88
protoc 21.5
9-
golang 1.21.5
9+
nodejs 20.16.0
1010
terraform 1.5.7
1111
# Note: Versions in this block do not override the default versions above
1212
# but sometimes you have to declare additional versions of the same tool

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"zxh404.vscode-proto3",
1010
"redhat.vscode-yaml",
1111
"ms-azuretools.vscode-docker",
12-
"foxundermoon.shell-format"
12+
"foxundermoon.shell-format",
13+
"WizCloud.wizcli-vscode"
1314

1415
// Please consider contributing back all recommended
1516
// extensions to stencil!

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@
3838
// Maps the go module cache on the host to the persistent volume used by devspaces.
3939
// These should be the respective values of `go env GOMODCACHE`.
4040
{
41-
"from": "${env:HOME}/.asdf/installs/golang/1.21.5/packages/pkg/mod",
42-
"to": "/home/dev/.asdf/installs/golang/1.21.5/packages/pkg/mod"
41+
"from": "${env:HOME}/.asdf/installs/golang/1.22.6/packages/pkg/mod",
42+
"to": "/home/dev/.asdf/installs/golang/1.22.6/packages/pkg/mod"
4343
},
4444
{
4545
// Maps the standard library location on the host to the location in the devspace.
4646
// This enables debugging standard library code.
47-
"from": "${env:HOME}/.asdf/installs/golang/1.21.5/go/src",
48-
"to": "/home/dev/.asdf/installs/golang/1.21.5/go/src"
47+
"from": "${env:HOME}/.asdf/installs/golang/1.22.6/go/src",
48+
"to": "/home/dev/.asdf/installs/golang/1.22.6/go/src"
4949
}
5050
]
5151
},

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
APP := goql
22
OSS := true
3-
_ := $(shell ./scripts/devbase.sh)
3+
_ := $(shell ./scripts/devbase.sh)
44

55
include .bootstrap/root/Makefile
66

cortex.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Docs: https://docs.cortex.io/docs/reference/basics/entities#service-entities
2+
3+
openapi: 3.0.0
4+
info:
5+
title: goql
6+
description: >
7+
A GraphQL client package written in Go.
8+
x-cortex-type: service
9+
x-cortex-slack:
10+
channels:
11+
- name: dev-tooling-design
12+
notificationsEnabled: false
13+
- name: dev-tooling-support
14+
notificationsEnabled: false
15+
- name: dt-oncall
16+
notificationsEnabled: true
17+
- name: fnd-dt-alerts
18+
notificationsEnabled: true
19+
x-cortex-owners:
20+
- type: group
21+
name: fnd-dt
22+
provider: CORTEX
23+
x-cortex-tag: goql
24+
x-cortex-git:
25+
github:
26+
repository: getoutreach/goql
27+
x-cortex-oncall:
28+
pagerduty:
29+
id: P9HJAUT
30+
type: SERVICE
31+
x-cortex-link:
32+
## These are useful documentation links for this service. Please fill in the customLinks block if you have additional documentation links.
33+
## name: The name of the link
34+
## type: Choose one type from (dashboard,documentation,healthcheck,logs,metrics,runbook)
35+
## url: The link url
36+
## description(optional): Description to this link
37+
- name: API Docs
38+
type: api_documentation
39+
url: https://engdocs.outreach.cloud/github.com/getoutreach/goql#section-readme
40+
## <<Stencil::Block(customLinks)>>
41+
## <</Stencil::Block>>
42+
x-cortex-custom-metadata:
43+
app: goql
44+
name: goql
45+
repo: https://github.com/getoutreach/goql
46+
framework: stencil
47+
language: Golang
48+
stencil_version: v1.39.1
49+
golang_version: 1.22.6
50+
cli: false
51+
service: false
52+
product: Outreach
53+
lifecycle: in_development
54+
## <<Stencil::Block(extraAliases)>>
55+
## <</Stencil::Block>>
56+
reporting_team: fnd-dt
57+
lintroller: bronze
58+
x-cortex-groups:
59+
- lifecycle:in_development
60+
- product:Outreach
61+
- language:Golang
62+
- framework:stencil
63+
- engOrg:fnd

go.mod

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
module github.com/getoutreach/goql
22

3-
go 1.19
3+
go 1.22
4+
5+
toolchain go1.22.6
46

57
require (
6-
github.com/getoutreach/gobox v1.73.2
7-
github.com/google/go-cmp v0.5.9
8+
github.com/getoutreach/gobox v1.90.2
9+
github.com/google/go-cmp v0.6.0
810
github.com/pkg/errors v0.9.1
911
github.com/pmezard/go-difflib v1.0.0
1012
)

go.sum

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opslevel.yml

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

0 commit comments

Comments
 (0)