Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 47 additions & 44 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,51 @@ minVersion: "2.15.0"
changelog:
policy: auto
targets:
- name: github
- name: registry
apps:
app:symbolicator:
urlTemplate: https://downloads.sentry-cdn.com/symbolicator/{{version}}/{{file}}
includeNames: /^symbolicator-.*$/i
- name: gcs
bucket: sentry-sdk-assets
includeNames: /^symbolicator-.*$/
paths:
- path: /symbolicator/{{version}}/
metadata:
cacheControl: public, max-age=2592000
- path: /symbolicator/latest/
metadata:
cacheControl: public, max-age=600
- id: release
name: docker
source: ghcr.io/getsentry/symbolicator
target: ghcr.io/getsentry/symbolicator
- id: latest
name: docker
source: ghcr.io/getsentry/symbolicator
target: ghcr.io/getsentry/symbolicator
targetFormat: '{{{target}}}:latest'
- name: github
- name: registry
apps:
app:symbolicator:
urlTemplate:
https://downloads.sentry-cdn.com/symbolicator/{{version}}/{{file}}
includeNames: /^symbolicator-.*$/i
- name: gcs
bucket: sentry-sdk-assets
includeNames: /^symbolicator-.*$/
paths:
- path: /symbolicator/{{version}}/
metadata:
cacheControl: public, max-age=2592000
- path: /symbolicator/latest/
metadata:
cacheControl: public, max-age=600
- id: release
name: docker
source: ghcr.io/getsentry/symbolicator
target: ghcr.io/getsentry/symbolicator
- id: latest
name: docker
source: ghcr.io/getsentry/symbolicator
target: ghcr.io/getsentry/symbolicator
targetFormat: '{{{target}}}:latest'
requireNames:
- /^symbolicator-Darwin-universal$/
- /^symbolicator-Linux-x86_64$/
- /^symbolicator-Linux-aarch64$/
- /^symbolicator-Linux-x86_64-debug.zip$/
- /^symbolicator-Linux-aarch64-debug.zip$/
- /^symbolicator-aarch64-apple-darwin-debug.zip$/
- /^symbolicator-x86_64-apple-darwin-debug.zip$/
- /^symbolicli-Darwin-universal$/
- /^symbolicli-Linux-x86_64$/
- /^symbolicli-Linux-aarch64$/
- /^symbolicli-Windows-x86_64\.exe$/
- /^symsorter-Darwin-universal$/
- /^symsorter-Linux-x86_64$/
- /^symsorter-Linux-aarch64$/
- /^symsorter-Windows-x86_64\.exe$/
- /^wasm-split-Darwin-universal$/
- /^wasm-split-Linux-x86_64$/
- /^wasm-split-Linux-aarch64$/
- /^wasm-split-Windows-x86_64\.exe$/
- /^symbolicator-Darwin-universal$/
- /^symbolicator-Linux-x86_64$/
- /^symbolicator-Linux-aarch64$/
- /^symbolicator-Linux-x86_64-debug.zip$/
- /^symbolicator-Linux-aarch64-debug.zip$/
- /^symbolicator-aarch64-apple-darwin-debug.zip$/
- /^symbolicator-x86_64-apple-darwin-debug.zip$/
- /^symbolicli-Darwin-universal$/
- /^symbolicli-Linux-x86_64$/
- /^symbolicli-Linux-aarch64$/
- /^symbolicli-Windows-x86_64\.exe$/
- /^symsorter-Darwin-universal$/
- /^symsorter-Linux-x86_64$/
- /^symsorter-Linux-aarch64$/
- /^symsorter-Windows-x86_64\.exe$/
- /^wasm-split-Darwin-universal$/
- /^wasm-split-Linux-x86_64$/
- /^wasm-split-Linux-aarch64$/
- /^wasm-split-Windows-x86_64\.exe$/
versioning:
policy: calver
13 changes: 13 additions & 0 deletions .github/workflows/changelog-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Changelog Preview
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
- labeled
jobs:
changelog-preview:
uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2
secrets: inherit
Comment thread Fixed
37 changes: 8 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,17 @@
workflow_dispatch:
inputs:
version:
description: Version to release (optional)
description: Version to release (or "auto")
required: false
force:
description: Force a release even when there are release-blockers (optional)
description: Force a release even when there are release-blockers
required: false
schedule:
# We want the release to be at 9-10am Pacific Time
# We also want it to be 1 hour before the on-prem release
- cron: '0 17 15 * *' # 5pm UTC on the 15th of every month
- cron: '0 17 15 * *'
jobs:
release:
runs-on: ubuntu-latest
name: "Release a new Symbolicator version"

steps:
- name: Get auth token
id: token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

- uses: actions/checkout@v6.0.1
with:
token: ${{ steps.token.outputs.token }}
fetch-depth: 0

- name: Prepare release
uses: getsentry/action-prepare-release@v1
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
with:
version: ${{ github.event.inputs.version }}
force: ${{ github.event.inputs.force }}
calver: true
uses: getsentry/craft/.github/workflows/release.yml@v2
with:
version: ${{ inputs.version }}
force: ${{ inputs.force }}
secrets: inherit
Comment thread Fixed
Loading