Skip to content

Commit

Permalink
fix: add more blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Allard committed Apr 7, 2022
1 parent 2214f7d commit 6338f21
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions templates/.circleci/config.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
{{- $isService := eq (stencil.ApplyTemplate "isService") "true" }}
{{- $prereleases := stencil.Arg "releaseOptions.enablePrereleases" }}
orbs:
shared: getoutreach/shared@1.56.0
shared: getoutreach/shared@1.57.1

# Extra contexts to expose to all jobs below
contexts: &contexts
Expand Down Expand Up @@ -54,9 +54,12 @@ workflows:
###Block(circleWorkflowJobs)
{{ file.Block "circleWorkflowJobs" }}
###EndBlock(circleWorkflowJobs)
- shared/release:
- shared/release: &release
dryrun: false
context: *contexts
###Block(circleReleaseExtra)
{{ file.Block "circleReleaseExtra" }}
###EndBlock(circleReleaseExtra)
requires:
###Block(circleReleaseRequires)
{{ file.Block "circleReleaseRequires" }}
Expand All @@ -74,13 +77,10 @@ workflows:
{{- if $prereleases }}
- release
{{- end }}
- shared/release:
context: *contexts
{{- /* TODO(jaredallard): We'll need to migrate this into the go module */}}
{{- if and (has "grpc" (stencil.Arg "type")) (has "node" (stencil.Arg "grpcClients")) }}
requires:
- shared/test-node-client
{{- end }}
# Dryrun release for PRs
- shared/release:
<<: *release
dryrun: true
filters:
branches:
ignore:
Expand Down

0 comments on commit 6338f21

Please sign in to comment.