Skip to content
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

RUBY-3501 SSDLC for bson-ruby #330

Merged
merged 12 commits into from
Jul 1, 2024
Merged

RUBY-3501 SSDLC for bson-ruby #330

merged 12 commits into from
Jul 1, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Jun 25, 2024

The general implementation is the same as that for the driver and for Mongoid, but because we produce two deliverables (a gem for MRI, and a gem for JRuby), the release process is split into two jobs: one with a matrix to build each gem, and upload the resulting artifact, and another to download the generated artifacts and complete the publication of the gems and other deliverables.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@jamis jamis marked this pull request as ready for review June 26, 2024 16:32
@jamis jamis requested review from alcaeus and comandeo-mongo June 26, 2024 16:32
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workflows LGTM. I'll defer to @comandeo-mongo for reviewing the ruby-specific changes.

Comment on lines 57 to 61
- name: Check out the repository
uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objection to leaving this here, but strictly speaking this doesn't need to run in the release environment and use secure-checkout.

@jamis jamis merged commit 80be3c0 into mongodb:master Jul 1, 2024
47 checks passed
@jamis jamis deleted the 3501-ssdlc branch July 1, 2024 23:02
jamis added a commit to jamis/bson-ruby that referenced this pull request Jul 11, 2024
* SSDLC shenanigans...

* publish job depends on the build job

* need Ruby configured to build the native code

* fix regex anchoring (alerted via codeql)

* ignore vendor folder

* apparently we have to specify environment for each job

* see if it picks up jruby this way?

* download all artifacts to the current directory

don't create separate directories for each downloaded artifact.

* authorized-pub task doesn't like globs with spaces in them

* use boolean type for dry-run flag

* don't need to specify "false" explicitly anymore

* simplify the build phase (don't need secure checkout)
jamis added a commit that referenced this pull request Jul 19, 2024
* SSDLC shenanigans...

* publish job depends on the build job

* need Ruby configured to build the native code

* fix regex anchoring (alerted via codeql)

* ignore vendor folder

* apparently we have to specify environment for each job

* see if it picks up jruby this way?

* download all artifacts to the current directory

don't create separate directories for each downloaded artifact.

* authorized-pub task doesn't like globs with spaces in them

* use boolean type for dry-run flag

* don't need to specify "false" explicitly anymore

* simplify the build phase (don't need secure checkout)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants