forked from codeship-library/aws-utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeship-steps.yml
48 lines (48 loc) · 1.68 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
- name: Build Base Image
service: base
command: true
- 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