Skip to content

Conversation

@cinterloper
Copy link

This PR integrates with shared workflows and packaging common to enable packaging and deployment to JFrog in Github Actions.

The Actions tab will show build results and link to JFrog artifacts
packaging common contains information about project setup and test cases

gha-packaging-workflow

Copy link

@arrowplum arrowplum left a comment

Choose a reason for hiding this comment

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

The way it works is nice but I think we want to change the trigger and the mac build

workflow_dispatch:
push:
branches:
- 'dev/*'

Choose a reason for hiding this comment

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

I think we don't want to make a build for all pushes to any branch. Just merges to main or mergestto hotfix

Copy link
Author

@cinterloper cinterloper Nov 14, 2025

Choose a reason for hiding this comment

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

@kportertx I think this is any dev what we agreed on

Its now changed to what is in the link above (tools-packaging-common example workflow)

Copy link
Contributor

Choose a reason for hiding this comment

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

@arrowplum these are all basically "release" branches.

The server uses dev/* for special "dev builds" that often provide additional instrumentation of occasionally a improvement urgently needed by a customer.

hotfix/* are used to collect hotfixes for various versions of the server - arguably this should have been called release/* but that decision is ancient history now.

Copy link
Contributor

Choose a reason for hiding this comment

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

@cinterloper I'd thought we were going to have any commit to an active PR trigger a build. The idea was that we could open a draft PR when we need to provide another team early development access to a feature branch.

Copy link
Contributor

@kportertx kportertx Nov 14, 2025

Choose a reason for hiding this comment

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

@cinterloper realized I'm a bit tunnel vision on the server's usage. aerospike-admin doesn't use these prefixes, since they don't do hotfixes or dev builds. They just have master. Well I do see a fednow-dev-build so it does have dev builds just not following the server's convention.

@arrowplum would like more projects to follow https://conventional-branch.github.io/ - the server will need to be a bit different from this unless we change our conventions, we can deal with this later. By this convention, it would only be release/*, main, master, develop branches that need builds. I still think all PRs should have builds.

required: false
type: string

jobs:

Choose a reason for hiding this comment

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

Can we do this with the reusable build workflow (and strip away much of the conditional (since it is for the tools 'meta' package) and the cache? Similar to https://github.com/aerospike/aql/pull/46/files#diff-004bcf41cd6b78932e3c9cfdcb3fcc79959f01eef1e685b8d8ad1b5da398dea7

Copy link
Author

Choose a reason for hiding this comment

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

Will drop mac artifact from this pr

Copy link
Author

Choose a reason for hiding this comment

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

dropped

- el10
- amzn2023
- debian12
#- debian13

Choose a reason for hiding this comment

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

Are we sure about the distros supported?

Copy link
Author

Choose a reason for hiding this comment

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

will correct debian13

Copy link
Author

Choose a reason for hiding this comment

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

re-enabled

Copy link
Contributor

Choose a reason for hiding this comment

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

These look correct with the exception of debian13 being commented out.

sign-artifacts:
strategy:
matrix:
distro:

Choose a reason for hiding this comment

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

For later but a coalesce step after the build would let you not repeat the matrix for each job

Copy link
Author

Choose a reason for hiding this comment

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

Yeah, will create a Jira improvement task for this

- el10
- amzn2023
- debian12
#- debian13
Copy link
Contributor

Choose a reason for hiding this comment

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

These look correct with the exception of debian13 being commented out.

echo "ENV_DISTRO is not set"
return
fi
chown -R root:root .
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems like an odd thing to do - what directory does this execute from and why is this needed?

workflow_dispatch:
push:
branches:
- 'dev/*'
Copy link
Contributor

@kportertx kportertx Nov 14, 2025

Choose a reason for hiding this comment

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

@cinterloper realized I'm a bit tunnel vision on the server's usage. aerospike-admin doesn't use these prefixes, since they don't do hotfixes or dev builds. They just have master. Well I do see a fednow-dev-build so it does have dev builds just not following the server's convention.

@arrowplum would like more projects to follow https://conventional-branch.github.io/ - the server will need to be a bit different from this unless we change our conventions, we can deal with this later. By this convention, it would only be release/*, main, master, develop branches that need builds. I still think all PRs should have builds.

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.

4 participants