-
Notifications
You must be signed in to change notification settings - Fork 260
79 lines (76 loc) · 2.43 KB
/
docker-tests.yml
File metadata and controls
79 lines (76 loc) · 2.43 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
# This workflow runs tests that require Docker images to be built first
name: Docker E2E Tests
permissions: {}
"on":
workflow_call:
inputs:
image-tag:
required: true
type: string
workflow_dispatch:
inputs:
image-tag:
description: "Docker image tag to use for tests (e.g., v1.2.3, pr-123, sha-abc123)"
required: true
type: string
jobs:
docker-tests:
permissions:
contents: read
name: Docker E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: set up go
uses: actions/setup-go@v6.4.0
with:
go-version-file: ./test/docker-e2e/go.mod
cache-dependency-path: "**/go.sum"
- name: Install just
uses: extractions/setup-just@v4
- name: Run Docker E2E Tests
run: just test-docker-e2e
env:
EV_NODE_IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/ev-node-testapp
EV_NODE_IMAGE_TAG: ${{ inputs.image-tag }}
docker-upgrade-tests:
name: Docker Upgrade E2E Tests
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: set up go
uses: actions/setup-go@v6.4.0
with:
go-version-file: ./test/docker-e2e/go.mod
cache-dependency-path: "**/go.sum"
- name: Install just
uses: extractions/setup-just@v4
- name: Run Docker Upgrade E2E Tests
run: just test-docker-upgrade-e2e
env:
EVM_IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/ev-node-evm
EVM_NODE_IMAGE_TAG: ${{ inputs.image-tag }}
test-docker-compat:
name: Docker Compatibility E2E Tests
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: set up go
uses: actions/setup-go@v6.4.0
with:
go-version-file: ./test/docker-e2e/go.mod
cache-dependency-path: "**/go.sum"
- name: Install just
uses: extractions/setup-just@v4
- name: Run Docker Compat E2E Tests
run: just test-docker-compat
env:
SEQUENCER_EVM_IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/ev-node-evm
SEQUENCER_EVM_IMAGE_TAG: main # TODO: set this to the last released tag
FULLNODE_EVM_IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/ev-node-evm
FULLNODE_EVM_IMAGE_TAG: ${{ inputs.image-tag }}