Repository navigation
Fix Sidekiq 7+ and the install migration (3.6.3) #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
550ff67
Fix Sidekiq 7+ rejecting job arguments as non-JSON types
schlick b527e1a
Run the suite with Sidekiq absent
schlick 0f89405
Version the install migration so Rails can load it
schlick b627582
Fix always-true Rails guard in Patches.default_path
schlick e3f3895
Remove the dead duplicate patch generator
schlick cde1f1d
Test against current Ruby, Rails and Sidekiq in CI
schlick 82224b6
Release 3.6.3
schlick a604482
Isolate the migration spec from the shared test database
schlick 8097dbc
Use stringify_keys rather than transform_keys
schlick a3ac178
Serialize the tenant runner path before enqueueing
schlick b5d02ca
Note that a fresh install needs Rails 5.0+ for the migration
schlick af99c0c
Export the variables in the local test recipes
schlick 2f485e3
Add the release workflow
schlick 302f939
Document the tag-driven release process in RELEASING.md
schlick c7df2fe
Cover the rake task that builds the Sidekiq payload
schlick d781fb2
Test against Ruby 4.0
schlick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,35 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: ["v*"] | ||
|
|
||
| permissions: | ||
| contents: write # rake release (via rubygems/release-gem) pushes the tag; no-op here since it's already pushed | ||
| id-token: write # RubyGems.org OIDC trusted publishing | ||
| packages: write # GitHub Packages push | ||
|
|
||
| jobs: | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - name: Verify tag is reachable from develop | ||
| run: | | ||
| if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/develop; then | ||
| echo "::error::$GITHUB_REF_NAME is not reachable from develop. Refusing to publish." | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Set up Ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| bundler-cache: true | ||
| ruby-version: "3.4" | ||
|
|
||
| - name: Publish to RubyGems.org | ||
| uses: rubygems/release-gem@v1 |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.