Migrate GitLab CI to GitHub Actions with branch-specific pipeline behavior#28
Migrate GitLab CI to GitHub Actions with branch-specific pipeline behavior#28Copilot wants to merge 6 commits intoclaude/migrate-ci-to-actions-011CULY2gkLMQ6XWi4ERzN3Lfrom
Conversation
Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
|
@copilot Let's take a step back and review the github actions. These are the goals of the build pipeline. Feature Branches (anything that isn't release/xxxx)
Release branches (release/xxxx)
Develop, Master, Main
Tags
In all cases when publishing docker images, we always publish xxx and xxx-jammy (which uses the ubuntu jammy as the base image) By the above logic, once implemented, the PR should end up with a passing build, but not publishing anything. Also, rebase develop onto this branch, and re-check the .gitlab-ci.yml file, to see if there's anything else in there that we do, which isn't covered here. |
Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
…y jobs Co-authored-by: martypitt <348852+martypitt@users.noreply.github.com>
Done. Here's a summary of what was changed (commits 69ac070 and 7ad4564):
Other changes:
This PR is a feature branch ( |
Restructures the GitHub Actions CI/CD pipeline migrated from GitLab, implementing proper branch-specific behavior and fixing issues on self-hosted runners.
Pipeline Behavior
clean installrelease/*clean deploy -P snapshot-releasexxx-next+xxx-next-jammydevelop/master/mainclean deploy -P snapshot-release -DskipTests:next+:next-jammyclean deploy -P release -DskipTestsChanges
ci.yml: Implements branch-specific Maven goals, publishing, and scanning per the pipeline goals above/home/runner/.docker/to$HOME/.docker/to support varying home directories on self-hosted runnersvalidate-license-compliance: Now downloads bothbuild-artifacts(THIRD-PARTY.txt) andorbital-ui(licenses.csv) before runningprocessLicenses.jsscan-trivyjob toci.yml: Trivy vulnerability scan runs after Docker publish ondevelop/master/main/release/*branchesbuild-orbital-uiand downloadorbital-uiartifacts-Daws.region=eu-west-2to Maven deploy commands, syncing with thedevelopbranch's.gitlab-ci.yml.gitlab-ci.ymlwithdevelopbranchverify.yml: Retained only manual regression tests (license and Trivy scans moved intoci.yml).gitignore: Added.npm/and.m2/cache directoriesJOOQ_REPO_USERNAMEandJOOQ_REPO_PASSWORDto required secrets list in migration guide✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.