Skip to content

Commit

Permalink
avniproject/avni-product#1433 | update deploy config to remove replac…
Browse files Browse the repository at this point in the history
…e old prod with new keeping
  • Loading branch information
himeshr committed Jan 2, 2024
1 parent 35f6d9c commit 5f3f165
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,6 @@ jobs:
- deploy:
hostname: "ssh.uat.openchs.org"

# PRERELEASE_deploy:
# docker:
# - image: circleci/openjdk:8-jdk
# working_directory: ~/
# steps:
# - deploy:
# hostname: "ssh.prerelease.openchs.org"

PRERELEASE_deploy:
docker:
- image: cimg/deploy:2023.09
Expand All @@ -247,21 +239,13 @@ jobs:
- deploy:
hostname: "ssh.perf.avniproject.org"

NEW_PROD_deploy:
PROD_deploy:
docker:
- image: cimg/deploy:2023.09
working_directory: ~/
steps:
- deploy_as_service:
env: "prod"

PROD_deploy:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/
steps:
- deploy:
hostname: "ssh.prod.avniproject.org"

tags_filter: &tags_filter
filters:
Expand Down Expand Up @@ -328,14 +312,7 @@ workflows:
context: prod-deploy
requires:
- PROD_approve
- NEW_PROD_approve:
type: approval
requires:
- build
- NEW_PROD_deploy:
context: prod-deploy
requires:
- NEW_PROD_approve

notify:
webhooks:
- url: https://webhooks.gitter.im/e/0fdffde721194986f2a0
Expand Down

0 comments on commit 5f3f165

Please sign in to comment.