Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement CI pipeline#11

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fioan89 merged 13 commits intomainfromimpl-ci-pipeline
Mar 4, 2025
Merged

Implement CI pipeline#11

fioan89 merged 13 commits intomainfromimpl-ci-pipeline
Mar 4, 2025

Conversation

fioan89
Copy link
Collaborator

@fioan89fioan89 commentedFeb 28, 2025
edited
Loading

  • support Changelog files and automatic update after a release
  • workflows to build and publish release drafts
  • support for automatic dependencies update via Github's dependabot.

- initial changelog file.- gradle plugin to automatically manage the changelog (ex: replacing unreleased tag with an actual version at release time)
- jar artefacts should be grouped under a folder whose name acts as a plugin id, which means the version should  not be present in the name.- with this patch we differentiate between plugin name (root folder) and plugin id (second level folder)
- patch unreleased section in the changelog with version and release date- publish the plugin to the marketplace (disabled for now)- promote draft artefact as released
- upgrades gradle dependencies and plugins- upgrades github actions- runs weekly
- kotlin and serialization plugins depend on the minimum targeted Toolbox version
@fioan89fioan89 marked this pull request as ready for reviewFebruary 28, 2025 22:08
Copy link
Member

@matifalimatifali left a comment

Choose a reason for hiding this comment

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

LGTM except a few comments

- dependency-name: "org.jetbrains.kotlin.jvm"
- dependency-name: "org.jetbrains.kotlin.plugin.serialization"
- dependency-name: "com.google.devtools.ksp"
# these can have breaking changes
Copy link
Member

Choose a reason for hiding this comment

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

Can we detect the breaking changes via some tests in the PRs. I would prefer an auto update over a manual one if we can detect the breaking changes.

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

some of the breaking changes (like for example breaking changes in the Toolbox api) can be detected at compile time. Basically the CI pipeline will fail and we can't merge the upgrade. However, the kotlin dependencies will be harder to detect, the compile can work fine but at runtime things might break because of the changes in the kotlin stdlib (just an example) shipped with Toolbox. We would need some end to end tests to detect these kind of changes. :(

matifali reacted with thumbs up emoji
CHANGELOG="${CHANGELOG//'%'/'%25'}"
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
echo "::set-output name=version::$VERSION"
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Good catch. I will fix this everywhere.

matifali reacted with thumbs up emoji
- github.repository instead of the {owner}/{repo}
- backticks command substitution is deprecated
- by saving the content into an intermediate file
@fioan89fioan89 merged commitfdb0334 intomainMar 4, 2025
@fioan89fioan89 deleted the impl-ci-pipeline branchMarch 4, 2025 18:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@matifalimatifalimatifali approved these changes

@bcpeinhardtbcpeinhardtAwaiting requested review from bcpeinhardt

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@fioan89@matifali

[8]ページ先頭

©2009-2025 Movatter.jp