-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathcodeship-steps.yml
69 lines (69 loc) · 2.58 KB
/
codeship-steps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
- name: Build Base Image
service: base
command: true
- name: Test Deployment Ansible
type: serial
service: deployment-ansible
steps:
- name: Check for tooling Ansible
command: /deploy/test/test_tools_available.sh
- name: Tests Ansible
type: parallel
steps:
- name: Util Scripts Ansible
command: /deploy/test/utils
- name: S3, LS Ansible
command: aws s3 ls s3://codeship-aws-deployment-integration-test
- name: S3, CP Archive Ansible
command: aws s3 cp /deploy/tmp/upload_to_s3.zip s3://codeship-aws-deployment-integration-test
- name: S3, CP Ansible
command: aws s3 cp /deploy/test/upload_to_s3 s3://codeship-aws-deployment-integration-test
- name: Elastic Beanstalk Ansible
command: /deploy/test/elastic_beanstalk/integration-test
- name: Code Deploy Ansible
command: /deploy/test/code_deploy/integration-test
- name: Test
type: parallel
steps:
- name: Test Deployment
type: serial
service: deployment
steps:
- name: Check for tooling
command: /deploy/test/test_tools_available.sh
- name: Check for kubectl tool
command: kubectl version --client
- name: Tests
type: parallel
steps:
- name: S3, LS
command: aws s3 ls s3://codeship-aws-deployment-integration-test
- name: S3, CP Archive
command: aws s3 cp /deploy/tmp/upload_to_s3.zip s3://codeship-aws-deployment-integration-test
- name: S3, CP
command: aws s3 cp /deploy/test/upload_to_s3 s3://codeship-aws-deployment-integration-test
- name: Elastic Beanstalk
command: /deploy/test/elastic_beanstalk/integration-test
- name: Code Deploy
command: /deploy/test/code_deploy/integration-test
- name: Test dockercfg Generator
service: dockercfg-test
type: push
image_name: 870119404647.dkr.ecr.us-east-1.amazonaws.com/codeship-testing
registry: https://870119404647.dkr.ecr.us-east-1.amazonaws.com
dockercfg_service: dockercfg-test-generator
- name: Deploy (to Docker Hub)
type: serial
steps:
- name: Push Deployment
service: deployment
tag: master
type: push
image_name: codeship/aws-deployment
encrypted_dockercfg_path: dockercfg.encrypted
- name: Push dockercfg Generator
service: dockercfg-generator
tag: master
type: push
image_name: codeship/aws-ecr-dockercfg-generator
encrypted_dockercfg_path: dockercfg.encrypted