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: use configuration as dependency #23

Merged
merged 6 commits into from
Oct 22, 2024
Merged

Conversation

EddeCCC
Copy link
Member

@EddeCCC EddeCCC commented Oct 15, 2024

No description provided.

@EddeCCC
Copy link
Member Author

EddeCCC commented Oct 15, 2024

Not sure, if we should stick to GitHub Packages. Maybe there is a more simpler approach.

name = "inspectit-gepard-config"
url = uri("https://maven.pkg.github.com/inspectIT/inspectit-gepard-config")
credentials {
username = project.findProperty("gpr.inspectit.gepard.user") ?: System.getenv("GITHUB_ACTOR")
Copy link
Member

Choose a reason for hiding this comment

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

In the config-repo you only implemented the getenv() approach.
Should you also include the project.findProperty() case there?

            credentials {
                username = System.getenv("GITHUB_ACTOR")
                password = System.getenv("GITHUB_TOKEN")
            }

Copy link
Member Author

Choose a reason for hiding this comment

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

The project.findProperty() is missing in the config-repo, since we only use the maven-publish task with the TechnicalUser there. The TechnicalUser is configured via env-properties.

Copy link

sonarcloud bot commented Oct 22, 2024

@EddeCCC EddeCCC merged commit 489bbbe into master Oct 22, 2024
8 checks passed
@EddeCCC EddeCCC deleted the feature/config-dependency branch October 23, 2024 07:22
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.

2 participants