Skip to content

Commit

Permalink
#000 | fix indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Feb 23, 2024
2 parents 2441430 + 47d5576 commit 6bfa6ba
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@ commands:
type: string
default: "staging"
steps:
- attach_workspace:
at: ~/artifacts
- attach_workspace:
at: ~/artifacts

- run: sudo apt-get install make openssl
- run: sudo apt-get install make openssl

- run: curl -L https://github.com/avniproject/avni-infra/archive/master.zip >> ~/infra.zip
- run: curl -L https://github.com/avniproject/avni-infra/archive/master.zip >> ~/infra.zip

- run: |
cd ~/
unzip infra.zip
mv avni-infra-master avni-infra
rm -rf infra.zip
- run: |
cd ~/
unzip infra.zip
mv avni-infra-master avni-infra
rm -rf infra.zip
- run: echo $ANSIBLE_VAULT_PASS > ~/.vault-pass.txt
- run: echo $ANSIBLE_VAULT_PASS > ~/.vault-pass.txt

- run: |
pwd
cd ~/avni-infra/configure
mv ~/artifacts/avni-etl.jar ~/artifacts/etl-1.0.0-SNAPSHOT.jar
VAULT_PASSWORD_FILE=~/.vault-pass.txt app_zip_path=~/artifacts/ make deploy-etl-<< parameters.env >>
- run: |
pwd
cd ~/avni-infra/configure
mv ~/artifacts/avni-etl.jar ~/artifacts/etl-1.0.0-SNAPSHOT.jar
VAULT_PASSWORD_FILE=~/.vault-pass.txt app_zip_path=~/artifacts/ make deploy-etl-<< parameters.env >>
- run: rm ~/.vault-pass.txt
- run: rm ~/.vault-pass.txt

setup_server_access:
description: Generate and copy temporary keys to server
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

build:
docker:
- image: cimg/openjdk:17.0.5
- image: cimg/openjdk:17.0.5

working_directory: ~/avni-etl

Expand All @@ -114,34 +114,34 @@ jobs:
- MAVEN_OPTS: -Xmx3200m

steps:
- checkout
- checkout

- run: sudo apt-get install make openssl
- run: sudo apt-get install make openssl

- run: make build_jar
- run: make build_jar

- run: mkdir -p ~/artifacts;
- run: mkdir -p ~/artifacts;

- run: cp ~/avni-etl/build/libs/etl-1.0.0-SNAPSHOT.jar ~/artifacts/avni-etl.jar;
- run: cp ~/avni-etl/build/libs/etl-1.0.0-SNAPSHOT.jar ~/artifacts/avni-etl.jar;

- persist_to_workspace:
root: ~/artifacts
paths:
- avni-etl.jar
- persist_to_workspace:
root: ~/artifacts
paths:
- avni-etl.jar

- store_artifacts:
path: ~/artifacts
- store_artifacts:
path: ~/artifacts

STAGING_deploy:
docker:
- image: cimg/deploy:2023.09
environment:
ANSIBLE_HOST_KEY_CHECKING: no
- image: cimg/deploy:2023.09
environment:
ANSIBLE_HOST_KEY_CHECKING: no
working_directory: ~/
steps:
- deploy:
hostname: "int-staging.avniproject.org"
env: "staging"
- deploy:
hostname: "int-staging.avniproject.org"
env: "staging"

PRERELEASE_deploy:
docker:
Expand Down

0 comments on commit 6bfa6ba

Please sign in to comment.