forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeship-steps.yml
More file actions
64 lines (61 loc) · 1.69 KB
/
codeship-steps.yml
File metadata and controls
64 lines (61 loc) · 1.69 KB
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
- name: Tests
type: parallel
steps:
- name: Go Unit Tests
service: ci
command: ./internal/ci/go_test
- name: Rust Unit Tests
service: ci
command: ./internal/ci/rust_test
- name: Solidity Contract Tests
service: ci
command: ./internal/ci/truffle_test
- name: Integration Tests
service: ci
command: ./internal/ci/ethereum_test
- name: Frontend Tests
service: ci
command: ./internal/ci/gui_test
# These force a build of the app images, which are otherwise unused in tests
- name: Build Docker Image
service: app
command: --version
- name: Build Docker Image (SGX)
service: app-sgx
command: --version
- name: Deploy to Acceptance
exclude: ^master
type: manual
steps:
- name: Push Acceptance Image
type: push
service: app
image_name: smartcontract/chainlink
image_tag: acceptance
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: internal/ci/dockercfg.encrypted
- name: Set Container Image
service: deploy
command: ./ci/gcp-deploy.sh acceptance
- name: Publish Docker Images
tag: master
type: parallel
steps:
- name: Push Staging Chainlink Image
type: push
service: app
image_name: smartcontract/chainlink
image_tag: staging
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: internal/ci/dockercfg.encrypted
- name: Push Staging Chainlink SGX Image
type: push
service: app-sgx
image_name: smartcontract/chainlink-sgx
image_tag: staging
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: internal/ci/dockercfg.encrypted
- name: Deploy to Staging
tag: master
service: deploy
command: ./ci/gcp-deploy.sh staging