Skip to content

Reusable Workflows for building and deployment - #2

Merged
akomii merged 50 commits into
mainfrom
ci-workflows
Jan 29, 2025
Merged

Reusable Workflows for building and deployment#2
akomii merged 50 commits into
mainfrom
ci-workflows

Conversation

@bunbry

@bunbry bunbry commented Dec 18, 2024

Copy link
Copy Markdown
Contributor

Reusable Workflows for building and deploying AKTIN maven projects, debian packages, and docker images.

bunbry added 4 commits January 8, 2025 14:44
The build.sh now retrieves the version from a versions file instead of from script parameter.
The debian testing will be handled in the repositories of the debian packages.
The versions file now contains comments which use # as first character of the line.
… tag

The build.sh now retrieves the version from a versions file instead of from script parameter. This version contains ~ to indicate unstable releases as per debian versioning guidelines. The ~ are not contained in the git tag, which are the previous source of the version.
Comment thread .github/workflows/maven-build-deploy.yml Outdated
Comment thread .github/workflows/maven-build-deploy.yml
Comment thread .github/workflows/maven-build-deploy.yml Outdated
Comment thread .github/workflows/maven-build-deploy.yml
Comment thread .github/workflows/maven-build-deploy.yml Outdated
Having the path to the repository (formerly REPREPRO_HOME) as an input is more generic.
…t dependencies

Make workflow more generic.

BREAKING CHANGE: removes reusable workflow input "install-r"
Allows the keep the hostname of the maven repository confidential.
Note: It requires that the "MAVEN_REPOSITORY" environment variable is used as value of the distributionManagement/repository/id field of the pom.xml, or it will have no effect.
…gent

BREAKING CHANGE: adds required secrets "GPG_PASSPHRASE" and "GPG_KEYGRIP"
@bunbry

bunbry commented Jan 23, 2025

Copy link
Copy Markdown
Contributor Author

We should have a discussion about how the versions of projects and their modules are intended to relate to each other. I think there is some potential for simplifying the poms, which could give some quality of life improvements even without applying CI friendly versions.
Related comments: #2 (comment), #2 (comment)

Also, I noticed that I misapplied the use of CI friendly version placeholders with regard to the aktin pom and its child poms because of the odd relationship between the projects. The corresponding pull requests have been marked as draft: aktin/aktin#4, aktin/dwh-admin#18, aktin/dwh-api#1, aktin/dwh-db#4, aktin/dwh-import#7, aktin/dwh-j2ee#4, aktin/dwh-prefs#6, aktin/dwh-query#12, aktin/dwh-setup#1, aktin/r-script#2

Comment thread .github/workflows/debian-build.yml
Comment thread .github/workflows/debian-build.yml Outdated
Comment thread .github/workflows/debian-deploy.yml
Comment thread .github/workflows/maven-build-deploy.yml Outdated
Comment thread .github/workflows/maven-build-deploy.yml
Comment thread .github/workflows/maven-build-deploy.yml
Comment thread .github/workflows/maven-build-deploy.yml Outdated
Comment thread .github/workflows/maven-build-deploy.yml
@akomii
akomii merged commit 3863fcd into main Jan 29, 2025
@akomii
akomii deleted the ci-workflows branch January 29, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants