Skip to content

Commit

Permalink
fix(stencil): enable weekly RC releases (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbr0ck3r committed May 1, 2024
1 parent 099535d commit 29fbb5a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
25 changes: 20 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# syntax, such as anchors, will be fixed automatically.
version: 2.1
orbs:
shared: getoutreach/shared@dev:test_release
shared: getoutreach/shared@dev:2.27.0-rc.2
queue: eddiewebb/queue@2.2.1

parameters:
Expand All @@ -23,6 +23,7 @@ contexts: &contexts
- confluence
- circleci-credentials
- tray-webhooks
- wizcli
## <<Stencil::Block(extraContexts)>>

## <</Stencil::Block>>
Expand All @@ -40,7 +41,7 @@ test: &test
# Branches used for releasing code, pre-release or not
release_branches: &release_branches # Release branch
- release
# Pre-release and Unstable branch, e.g. HEAD development
# Pre-releases branch
- "main"

jobs:
Expand Down Expand Up @@ -81,8 +82,7 @@ workflows:
auto-release-rc:
triggers:
- schedule:
# automatically release rc on every Tuesday 12pm(PST).
cron: "0 19 * * 2"
cron: 0 19 * * 2
filters:
branches:
only:
Expand All @@ -108,12 +108,27 @@ workflows:
## <</Stencil::Block>>
### Start jobs inserted by other modules
### End jobs inserted by other modules
- shared/pre-release: &pre-release
- shared/release: &release
dryrun: false
context: *contexts
release_failure_slack_channel: "#dt-notifications"
## <<Stencil::Block(circleReleaseExtra)>>

## <</Stencil::Block>>
requires:
## <<Stencil::Block(circleReleaseRequires)>>

## <</Stencil::Block>>
- shared/test
filters:
branches:
only: release
- shared/pre-release: &pre-release
dryrun: false
context: *contexts
release_failure_slack_channel: #dt-notifications
## <<Stencil::Block(circleReleaseExtra)>>

## <</Stencil::Block>>
requires:
## <<Stencil::Block(circleReleaseRequires)>>
Expand Down
4 changes: 3 additions & 1 deletion service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ arguments:
force: true
enablePrereleases: true
prereleasesBranch: main
autoPrereleases: true
confluenceSpaceKey: DT
tier: 2
lifecycle: public_ga
Expand All @@ -21,7 +22,8 @@ replacements:
modules:
- name: github.com/getoutreach/stencil-template-base
- name: github.com/getoutreach/stencil-circleci
channel: rc
- name: github.com/getoutreach/stencil-base
- name: github.com/getoutreach/devbase
version: main
channel: rc
- name: github.com/getoutreach/stencil-golang
4 changes: 2 additions & 2 deletions stencil.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ version: v1.38.0
modules:
- name: github.com/getoutreach/devbase
url: https://github.com/getoutreach/devbase
version: main
version: v2.27.0-rc.2
- name: github.com/getoutreach/stencil-base
url: https://github.com/getoutreach/stencil-base
version: v0.15.2
- name: github.com/getoutreach/stencil-circleci
url: https://github.com/getoutreach/stencil-circleci
version: v1.12.1
version: v1.13.0-rc.1
- name: github.com/getoutreach/stencil-golang
url: file://./
version: local
Expand Down

0 comments on commit 29fbb5a

Please sign in to comment.