Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Henna abbas patch 1 2 #37

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
86 changes: 18 additions & 68 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,22 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/python:3.6-jessie-browsers
steps:
# - checkout
- run: sudo ping cmsuat.canamins.com
# - run: echo "hello world"
# - run: mkdir tests
# - run: cd tests && touch my_test_1.txt
# - run: echo "this is a test" > my_test_1.txt
# - store_artifacts:
# path: tests
# - run: wqr
# - run:
# name: conditional step
# command: echo "conditional step"
# # when: on_fail # Uploads code coverage results, pass or fail
#



workflows:
version: 2.1
build_and_push:
jobs:
- build



# version: 2.1
version: '2.1'
orbs:
aws-code-deploy: circleci/[email protected]

# executors:
# machine-executor:
# machine: true
# environment:
# RUN_TESTS: foobar

# node:
# docker:
# - image: circleci/node


# jobs:
# build:
# parameters:
# my-executor:
# default: machine-executor
# type: string
# executor: << parameters.my-executor >>
# - image: cimg/python:3.6 # image name & value:
# steps:
# - checkout
# - run: echo "hello world"

# workflows:
# build_and_push:
# jobs:
# - build
# - build:
# my-executor: node


# version: 2.1
# jobs:
# build:
# docker:
# - image: image: circleci/python:3.6-jessie-browsers
# steps:
# - checkout
# - run: sudo ping cmsuat.canamins.com

# - aws-cli/setup
# - aws-code-deploy/create-application:
# application-name: myApplication
workflows:
deploy_application:
jobs:
# - build
- aws-code-deploy/deploy:
application-name: myApplication
bundle-bucket: myApplicationS3Bucket
bundle-key: myS3BucketKey
deployment-group: myDeploymentGroup
service-role-arn: myDeploymentGroupRoleARN
#test