Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

using git commands like git clone and commit and push or pull these commands can we setup the pipeli

venkatcss December 1, 2019

Hi team,

Is it possible to setup the pipeline using git commands, it should deploy into the AWS instance after git push. ?

If yes can you please give me the reference url's.

 

Present i have setup the pipeline using below configuration:-

---
image: "node:10.15.0"
pipelines:
branches:
development:
-
step:
deployment: test
name: "install and build"
caches:
- node
script:
- "apt-get update -y"
- "apt-get install -y zip"
- "cd admin/front-end"
- "npm install"
- CI=false
- "npm run build"
- "zip -r /tmp/artifact.zip *"
trigger: automatic
artifacts:
- admin/front-end/build/**
step:
image: "python:3.5.7"
name: test
caches:
- pip
script:
- "apt-get update -y"
- "pip install boto3==1.9.197"
- "apt-get install -y zip"
- "zip -r /tmp/artifact.zip *"
- "python codedeploy_deploy.py"

 

Regards,'

Venkat.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events