feat: Add GitHub Actions CI/CD workflows replacing Jenkins pipelines#178
Open
devin-ai-integration[bot] wants to merge 1 commit intoDevOpsfrom
Open
feat: Add GitHub Actions CI/CD workflows replacing Jenkins pipelines#178devin-ai-integration[bot] wants to merge 1 commit intoDevOpsfrom
devin-ai-integration[bot] wants to merge 1 commit intoDevOpsfrom
Conversation
Co-Authored-By: Joao Esteves <joao.esteves@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:
|
Devin Review
|
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
Adds two GitHub Actions workflow files that replace the existing Jenkins CI and CD pipelines (
JenkinsfileandGitOps/Jenkinsfile). The existing Jenkinsfiles and shared library (vars/) are preserved for transition..github/workflows/ci.yml(replaces rootJenkinsfile)workflow_dispatch(withDOCKER_TAGinput) andpushtoDevOpsaquasecurity/trivy-action)SonarSourceactionsmadhupdevops/bankapp:<tag>)gh workflow run.github/workflows/cd.yml(replacesGitOps/Jenkinsfile)workflow_dispatch(withDOCKER_TAGinput) andrepository_dispatchkubernetes/bankapp-deployment.yml) image tag viasedDevOpsdawidd6/action-send-mail) withif: always()matching Jenkinspost { always {} }Required GitHub Secrets
SONAR_TOKENSONAR_HOST_URLDOCKERHUB_USERNAMEDOCKERHUB_TOKENMAIL_USERNAMEMAIL_PASSWORDReview & Testing Checklist for Human
workflow_dispatch) with a testDOCKER_TAGto validate end-to-endsedcommand correctly updateskubernetes/bankapp-deployment.yml(note: file uses.ymlextension, not.yaml)Notes
Jenkinsfile,GitOps/Jenkinsfile, andvars/*.groovyare intentionally preserved — they can be removed once the GH Actions migration is validated.workflow_dispatch(manual / CI-triggered viagh) andrepository_dispatch(API-triggered) for flexibility.pushtrigger onDevOpswill not haveDOCKER_TAGavailable — the Docker build/push and CD trigger steps will only work withworkflow_dispatch.Link to Devin session: https://app.devin.ai/sessions/d56d0bf676bc4ef198f214d80cae0ff6
Requested by: @joao-cognition