Skip to content

Commit

Permalink
feat: refactor dev branch so that it can be merged to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacinsoy committed Oct 24, 2024
1 parent fb93daa commit cfca85f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/dev-cd-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Dev Env Continuous Deployment Workflow
on:
push:
branches: [ dev ]
jobs:
create-environment-and-deploy-app:
name: Create Environment and Deploy the Application
uses: ./.github/workflows/create-cluster.yml
secrets: inherit
# run-tests:
# name: Run Integration Tests
# needs: [create-environment-and-deploy-app]
# uses: ./.github/workflows/run-tests.yml
# secrets: inherit
# format-images:
# name: Format Images into SHA256 Digest Format
# needs: [run-tests]
# uses: ./.github/workflows/format-images.yml
# secrets: inherit
# binary-auth:
# name: Attest Images
# needs: [format-images]
# uses: ./.github/workflows/attest-images.yml
# secrets: inherit
# raise-pull-request:
# name: Raise PR to Prod Branch
# needs: [binary-auth]
# uses: ./.github/workflows/raise-pr.yml
# secrets: inherit
# name: Dev Env Continuous Deployment Workflow
# on:
# push:
# branches: [ dev ]
# jobs:
# create-environment-and-deploy-app:
# name: Create Environment and Deploy the Application
# uses: ./.github/workflows/create-cluster.yml
# secrets: inherit
# run-tests:
# name: Run Integration Tests
# needs: [create-environment-and-deploy-app]
# uses: ./.github/workflows/run-tests.yml
# secrets: inherit
# format-images:
# name: Format Images into SHA256 Digest Format
# needs: [run-tests]
# uses: ./.github/workflows/format-images.yml
# secrets: inherit
# binary-auth:
# name: Attest Images
# needs: [format-images]
# uses: ./.github/workflows/attest-images.yml
# secrets: inherit
# raise-pull-request:
# name: Raise PR to Prod Branch
# needs: [binary-auth]
# uses: ./.github/workflows/raise-pr.yml
# secrets: inherit
28 changes: 14 additions & 14 deletions .github/workflows/prod-cd-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Prod Continuous Deployment Workflow
on:
push:
branches: [ prod ]
jobs:
create-environment-and-deploy-app:
name: Create Environment and Deploy App
uses: ./.github/workflows/create-cluster.yml
secrets: inherit
run-tests:
name: Run Integration Tests
needs: [create-environment-and-deploy-app]
uses: ./.github/workflows/run-tests.yml
secrets: inherit
# name: Prod Continuous Deployment Workflow
# on:
# push:
# branches: [ prod ]
# jobs:
# create-environment-and-deploy-app:
# name: Create Environment and Deploy App
# uses: ./.github/workflows/create-cluster.yml
# secrets: inherit
# run-tests:
# name: Run Integration Tests
# needs: [create-environment-and-deploy-app]
# uses: ./.github/workflows/run-tests.yml
# secrets: inherit

0 comments on commit cfca85f

Please sign in to comment.