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 f0e6e31 commit bec55ab
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,6 @@ jobs:
- deploy_ansible:
env: "staging"

# PRERELEASE_deploy:
# docker:
# - image: cimg/node:20.2.0
# working_directory: ~/
# steps:
# - deploy:
# hostname: "ssh.prerelease.openchs.org"

PRERELEASE_deploy:
docker:
- image: cimg/deploy:2023.09-node
Expand All @@ -215,22 +207,14 @@ jobs:
- deploy:
hostname: "ssh.perf.avniproject.org"

NEW_PRODUCTION_deploy:
PRODUCTION_deploy:
docker:
- image: cimg/deploy:2023.09-node
working_directory: ~/
steps:
- deploy_ansible:
env: "prod"

PRODUCTION_deploy:
docker:
- image: cimg/node:20.2.0
working_directory: ~/
steps:
- deploy:
hostname: "ssh.server.openchs.org"

tags_filter: &tags_filter
filters:
tags:
Expand Down Expand Up @@ -296,14 +280,6 @@ workflows:
context: prod-deploy
requires:
- PRODUCTION_approve
- NEW_PRODUCTION_approve:
type: approval
requires:
- app_build
- NEW_PRODUCTION_deploy:
context: prod-deploy
requires:
- NEW_PRODUCTION_approve

notify:
webhooks:
Expand Down

0 comments on commit bec55ab

Please sign in to comment.