Skip to content

Commit

Permalink
Update CICD pipeline GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindnswamy committed Dec 8, 2023
1 parent fb1bf13 commit ef8e5b2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-cd-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: npm run lint

test:
name: "πŸš€ Run all unit test cases"
name: "🚨 Run all unit test cases"
runs-on: ubuntu-latest
steps:
- name: "☁️ checkout the repository"
Expand All @@ -44,7 +44,7 @@ jobs:
run: npm t

opa:
name: "πŸš€ Quality gates using Open Policy Agent (OPA)"
name: "🚧 Quality gates using Open Policy Agent (OPA)"
runs-on: ubuntu-latest
needs:
- lint
Expand All @@ -54,7 +54,7 @@ jobs:
run: |
echo "βŒ› Connecting to Open Policy Agent (OPA) at: 20.237.56.131"
- uses: actions/checkout@v4
- name: "πŸ”§ Set up Python"
- name: "πŸ”§ Setup Python"
uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
echo "OPA Server Response:"
echo "{'result': True}"
echo "End OPA Policy Check"
echo "πŸš€βœ… Quality gate passed"
echo "βœ…πŸ’š Quality gate passed"
visualize:
name: "πŸ“Š Visualize the repository"
Expand All @@ -122,7 +122,7 @@ jobs:
uses: githubocto/[email protected]
with:
excluded_paths: "node_modules,.github"
# output_file: "public/diagram.svg"
output_file: "src/diagram.svg"
should_push: false
root_path: "/"

Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
- name: "πŸš€ Deploy to STAGE ENV"
run: |
echo "⏳ Deploying the application to STAGE ENV"
echo "πŸš€βœ… Successfully deployed the application to STAGE ENV"
echo "πŸš€βœ…πŸ’š Successfully deployed the application to STAGE ENV"
release-prod:
environment:
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
- name: "πŸš€ Deploy to PROD ENV"
run: |
echo "⏳ Deploying the application to PROD ENV"
echo "πŸš€βœ… Successfully deployed the application to PROD ENV"
echo "πŸš€βœ…πŸ’š Successfully deployed the application to PROD ENV"
cleanup:
name: "♻️ Cleanup actions"
Expand Down

0 comments on commit ef8e5b2

Please sign in to comment.