-
Notifications
You must be signed in to change notification settings - Fork 3
/
codeship-steps.yml
52 lines (52 loc) · 1.45 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
- name: version
service: wocky-build
command: elixir version.exs
- name: build_and_test
type: parallel
steps:
- name: check
service: wocky-test
command: make check
- name: test_migration
service: wocky-migration-test
command: make migrationtest
- name: build_release
type: serial
steps:
- name: dockerlint_build
service: dockerlint
command: dockerlint -f Dockerfile.build
- name: dockerlint_release
service: dockerlint
command: dockerlint -f Dockerfile.release
- name: release
service: wocky-build
command: make release
- name: deploy
type: serial
tag: ^master$
steps:
- name: wait_for_previous_builds
service: waiter
command: build-waiter
- name: push_latest_image
service: wocky-rel
type: push
image_tag: latest
image_name: 773488857071.dkr.ecr.us-west-2.amazonaws.com/hippware/wocky
registry: https://773488857071.dkr.ecr.us-west-2.amazonaws.com
dockercfg_service: aws-dockercfg
- name: push_tagged_image
service: wocky-rel
type: push
image_tag: "{{.CommitID}}"
image_name: 773488857071.dkr.ecr.us-west-2.amazonaws.com/hippware/wocky
registry: https://773488857071.dkr.ecr.us-west-2.amazonaws.com
dockercfg_service: aws-dockercfg
- name: deploy_to_testing
service: eks-deploy
command: ./wocky-deploy testing
dockercfg_service: aws-dockercfg
- name: kick_circleci
service: curl-ssl
command: ./kick-circleci