ci: Migrate Jenkins pipeline to GitHub Actions#183
Open
devin-ai-integration[bot] wants to merge 4 commits intoDevOpsfrom
Open
ci: Migrate Jenkins pipeline to GitHub Actions#183devin-ai-integration[bot] wants to merge 4 commits intoDevOpsfrom
devin-ai-integration[bot] wants to merge 4 commits intoDevOpsfrom
Conversation
Co-Authored-By: vanessa.salas <vanessa.salas@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: vanessa.salas <vanessa.salas@cognition.ai>
Co-Authored-By: vanessa.salas <vanessa.salas@cognition.ai>
Co-Authored-By: vanessa.salas <vanessa.salas@cognition.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates the existing Jenkins CI pipeline (
Jenkinsfile+ shared library invars/) to a GitHub Actions workflow (.github/workflows/ci.yml).Pipeline stage mapping
actions/checkoutactions/checkout@v4aquasecurity/trivy-action@0.35.0dependency-check/Dependency-Check_Action@main+ artifact uploadSonarSource/sonarqube-scan-action@v5(non-blocking, matches JenkinsabortPipeline: false)SonarSource/sonarqube-quality-gate-action@v1(non-blocking)docker/build-push-action@v6with Buildx + GHA cachingWorkflow structure
security-scansandcode-qualityrun in parallel;dockerruns aftersecurity-scanspasses.continue-on-error: true), matching the original Jenkins behavior (abortPipeline: false).push: falsewhenDOCKERHUB_USERNAME/DOCKERHUB_TOKENsecrets aren't configured, so the build step still validates the Dockerfile.push/pull_requestonmain/DevOpsbranches, plusworkflow_dispatchwith aDOCKER_TAGinput (mirrors the Jenkins parameter).DOCKER_TAGinput on manual dispatch; falls back to the short commit SHA on push/PR triggers.Required GitHub Secrets
DOCKERHUB_USERNAMEDOCKERHUB_TOKENSONAR_TOKENSONAR_HOST_URLReview & Testing Checklist for Human
DOCKERHUB_USERNAME,DOCKERHUB_TOKEN,SONAR_TOKEN,SONAR_HOST_URL) in repo Settings → Secrets and variables → ActionsDOCKER_TAGto confirm end-to-end executionNotes
BankApp-CDjob. If CD automation is needed, consider adding a separateworkflow_dispatchorrepository_dispatchtrigger in a CD workflow.vars/shared library are left in place so the migration can be validated before removing them.Link to Devin session: https://app.devin.ai/sessions/f69bcbedc7c741eeb8ae16174d31cca5
Requested by: @vanessasalas-cog
Devin Review