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

[feature] gh package snapshots... #5596

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Conversation

duncdrum
Copy link
Contributor

@duncdrum duncdrum commented Jan 2, 2025

from CI (hopefully)

The previous SNAPSHOT repo hasn't seen any traffic for over a year. This automates release snapshots to GitHub on push events on develop.

We could make the step, run only after tests have passed (as they should always be green on develop anyway) but that would mean that every time the OWASP dependency check times out, we won't publish artefacts. So I decided against it. What do others think?

This will also not publish artefacts from PRs by design, but this could be adjusted.

Screenshot 2025-01-02 at 12 00 20

close #5592

@duncdrum duncdrum requested a review from a team as a code owner January 2, 2025 11:06
Copy link
Contributor

@adamretter adamretter left a comment

Choose a reason for hiding this comment

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

The existing repo should remain, you can add the additional one beside it.

Copy link
Member

@line-o line-o left a comment

Choose a reason for hiding this comment

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

Great work. Much less changes than anticipated. Is the snapshot already downloadable somewhere?

exist-parent/pom.xml Show resolved Hide resolved
exist-parent/pom.xml Outdated Show resolved Hide resolved
exist-parent/pom.xml Outdated Show resolved Hide resolved
.github/workflows/ci-snapshots.yml Show resolved Hide resolved
.github/workflows/ci-snapshots.yml Show resolved Hide resolved
@duncdrum
Copy link
Contributor Author

duncdrum commented Jan 3, 2025

SNAPSHOTS: https://github.com/orgs/eXist-db/packages?repo_name=exist

Copy link

sonarqubecloud bot commented Jan 3, 2025

@dizzzz dizzzz requested review from reinhapa and a team January 3, 2025 20:32
Copy link
Contributor

@adamretter adamretter left a comment

Choose a reason for hiding this comment

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

This needs a bit more work as it breaks some things and has some unnecessary things too.

@@ -1228,13 +1239,24 @@
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not needed as there are no plugins that we publish.

Copy link
Member

Choose a reason for hiding this comment

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

@duncdrum was this needed for snapshots of the sub-projects to be published to the registry?

exist-parent/pom.xml Show resolved Hide resolved
Copy link
Member

@line-o line-o left a comment

Choose a reason for hiding this comment

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

Cool!

@@ -1228,13 +1239,24 @@
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
Copy link
Member

Choose a reason for hiding this comment

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

@duncdrum was this needed for snapshots of the sub-projects to be published to the registry?

@dizzzz dizzzz merged commit 7dd2fda into eXist-db:develop Jan 8, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[feature] use GitHub registry for nightly build artefacts (maven)
4 participants