Skip to content

Java: Create Workflow to deploy artifacts for all platforms mentioned in build.matrix.json#2285

Merged
Yury-Fridlyand merged 42 commits intomainfrom
CI/maven_testing
Sep 14, 2024
Merged

Java: Create Workflow to deploy artifacts for all platforms mentioned in build.matrix.json#2285
Yury-Fridlyand merged 42 commits intomainfrom
CI/maven_testing

Conversation

@cyip10
Copy link
Copy Markdown
Contributor

@cyip10 cyip10 commented Sep 12, 2024

This includes:

  • building and publishing artifacts to maven central
  • deployment testing and validation for all platforms

Testing against 1.0.2-rc1

Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
@cyip10 cyip10 added the CI/CD ⚒️ CI/CD related label Sep 12, 2024
@cyip10 cyip10 requested a review from a team as a code owner September 12, 2024 20:49
Copy link
Copy Markdown
Contributor

@GumpacG GumpacG left a comment

Choose a reason for hiding this comment

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

You can revert files irrelevant to your changes by getting the file from main using https://www.freecodecamp.org/news/git-checkout-file-from-another-branch/

Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>

runs-on: ${{ matrix.host.RUNNER }}
steps:
- name: Start Redis server
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why redis, not valkey? Why you don't reuse install-valkey action?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i think it was because the procedure to install redis is easier than valkey. i can try out install-valkey

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it really that different? Valkey is just a fork of Redis.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

actually, valkey doesn't have an installer package and you need to install from source.
but the install-valkey workflow is available to do that for us.

cyip10 and others added 3 commits September 12, 2024 15:29
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
@cyip10 cyip10 marked this pull request as ready for review September 13, 2024 19:39

if (releaseVersion) {
implementation "io.valkey:valkey-glide:" + releaseVersion
implementation "io.valkey:valkey-glide:" + releaseVersion + ":${osdetector.classifier}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🌟

test-deployment-on-all-architectures:
needs: [set-release-version, load-platform-matrix, publish-to-maven-central-deployment]
env:
JAVA_VERSION: "11"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ok - fine. good enough.

Copy link
Copy Markdown

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

Please update PR description and title and merge

@Yury-Fridlyand Yury-Fridlyand dismissed GumpacG’s stale review September 13, 2024 20:09

All comments were addressed

@cyip10 cyip10 changed the title Java: Create Workflow Java: Create Workflow to deploy artifacts for all platforms in build.matrix.json Sep 13, 2024
Copy link
Copy Markdown
Contributor

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

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

Add to changelog: to the operational changes section

@cyip10 cyip10 changed the title Java: Create Workflow to deploy artifacts for all platforms in build.matrix.json Java: Create Workflow to deploy artifacts for all platforms mentioned in build.matrix.json Sep 13, 2024
Signed-off-by: Chloe Yip <chloe.yip@improving.com>
@Yury-Fridlyand Yury-Fridlyand merged commit c0ccc79 into main Sep 14, 2024
@Yury-Fridlyand Yury-Fridlyand deleted the CI/maven_testing branch September 14, 2024 01:56
acarbonetto pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Sep 18, 2024
… in build.matrix.json (valkey-io#2285)


Signed-off-by: Chloe Yip <chloe.yip@improving.com>
acarbonetto pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Sep 19, 2024
… in build.matrix.json (valkey-io#2285)


Signed-off-by: Chloe Yip <chloe.yip@improving.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD ⚒️ CI/CD related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants