forked from cosmos/ibc-go
-
Notifications
You must be signed in to change notification settings - Fork 0
158 lines (141 loc) · 4.35 KB
/
e2e-compatibility-unreleased.yaml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
name: Compatibility E2E (Unreleased)
on: workflow_dispatch
env:
REGISTRY: ghcr.io
ORG: cosmos
IMAGE_NAME: ibc-go-simd
jobs:
build-release-images:
runs-on: ubuntu-latest
strategy:
matrix:
release-branch:
- release/v4.1.x
- release/v4.2.x
- release/v4.3.x
- release/v4.4.x
- release/v5.2.x
- release/v5.3.x
- release/v6.1.x
- release/v6.2.x
- release/v7.2.x
- release/v7.3.x
steps:
- uses: actions/checkout@v3
with:
ref: "${{ matrix.release-branch }}"
fetch-depth: 0
- name: Log in to the Container registry
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image
run: |
docker_tag="$(echo ${{ matrix.release-branch }} | sed 's/\//-/')"
# TODO: IBC_GO_VERSION does not yet do anything in the tests but is required.
docker build . -t "${REGISTRY}/${ORG}/${IMAGE_NAME}:$docker_tag" --build-arg IBC_GO_VERSION=${{ matrix.release-branch }}
docker push "${REGISTRY}/${ORG}/${IMAGE_NAME}:$docker_tag"
- name: Display image details
run: |
docker_tag="$(echo ${{ matrix.release-branch }} | sed 's/\//-/')"
docker inspect "${REGISTRY}/${ORG}/${IMAGE_NAME}:$docker_tag"
transfer-1:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "transfer-1"
transfer-2:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "transfer-2"
transfer-3:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "transfer-3"
connection:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "connection"
client:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "client"
ica-gov:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "ica-gov"
ica-groups:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "ica-groups"
incentivized-ica:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "incentivized-ica"
incentivized-transfer-1:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "incentivized-transfer-1"
incentivized-transfer-2:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "incentivized-transfer-2"
incentivized-transfer-3:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "incentivized-transfer-3"
localhost-ica:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "localhost-ica"
localhost-transfer:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "localhost-transfer"
transfer-authz:
needs:
- build-release-images
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "unreleased"
test-suite: "transfer-authz"