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

Automating Feilong Package Building using Github Action #839

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

aazam-gh
Copy link
Contributor

@aazam-gh aazam-gh commented Aug 15, 2024

This feature allows us to use the build-zvmsdk repository to build the feilong packages for zthin and zvmsdk using OBS.

The theory behind this action is that on each push to the master branch on feilong, the github action will dispatch an event to the build-zvmsdk repo which will trigger it's own action to run scripts to generate new tarballs.

  • When build-zvmsdk receives the dispatched event from this (feilong) github action, it first runs a few script files to generate new tarballs from the latest version of the feilong master branch.
  • After creating all the source files, it downloads them as artifacts and pushes them to the master branch of build-zvmsdk.
  • Once build-zvmsdk has a push, it triggers the webhook with OBS which causes each package hosted on OBS to download the required tarballs and/or .dsc files followed by triggering a rebuild for each package.

In order for this feature to work, we will need to have a Personal_Access_Token (PAT) added to the secrets in this (feilong) repository for the action to use. We will also need a PAT on the build-zvmsdk repo. This is the PR with the changes on the build-zvmsdk side.

Please create a PAT and add it to the feilong repository secrets

@aazam-gh aazam-gh force-pushed the gitaction branch 2 times, most recently from dae577e to 4245ec0 Compare August 22, 2024 17:13
@aazam-gh aazam-gh changed the title WIP: Automating Feilong Package Building using Github Action Automating Feilong Package Building using Github Action Aug 22, 2024
@mfriesenegger
Copy link
Contributor

mfriesenegger commented Aug 22, 2024

@aazam-gh Please rebase this PR.

Signed-off-by: aazam <[email protected]>
@bjhuangr bjhuangr merged commit 4db9112 into openmainframeproject:master Aug 27, 2024
2 checks passed
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.

5 participants