Skip to content

Commit

Permalink
- move init back to original command
Browse files Browse the repository at this point in the history
- add init to docker for now
  • Loading branch information
elipe17 committed Sep 3, 2024
1 parent 7b352cb commit a1c44e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .circleci/deployment/commands.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# commands:
init-deploy:
steps:
- checkout
- sudo-check
- cf-check

build-and-tag-images:
parameters:
backend-appname:
Expand All @@ -14,6 +8,9 @@
default: tdp-frontend
type: string
steps:
- checkout
- sudo-check
- cf-check
- run:
name: Docker Login
command: |
Expand Down Expand Up @@ -45,6 +42,9 @@
default: tdp-frontend
type: string
steps:
- checkout
- sudo-check
- cf-check
- login-cloud-dot-gov:
cf-password: <<parameters.cf-password>>
cf-org: <<parameters.cf-org>>
Expand Down
4 changes: 0 additions & 4 deletions .circleci/deployment/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- build-and-tag-images:
backend-appname: tdp-backend-<< parameters.target_env >>
frontend-appname: tdp-frontend-<< parameters.target_env >>
Expand All @@ -17,7 +16,6 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-staging
frontend-appname: tdp-frontend-staging
Expand All @@ -29,7 +27,6 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-develop
frontend-appname: tdp-frontend-develop
Expand Down Expand Up @@ -139,7 +136,6 @@
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- init-deploy
- deploy-cloud-dot-gov:
environment: production
backend-appname: tdp-backend-prod
Expand Down

0 comments on commit a1c44e8

Please sign in to comment.