-
-
Notifications
You must be signed in to change notification settings - Fork 127
131 lines (131 loc) · 3.71 KB
/
Copy pathtest.yml
File metadata and controls
131 lines (131 loc) · 3.71 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
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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{github.workflow}}-${{github.event.pull_request.number || github.ref}}
cancel-in-progress: true
env:
KEYGEN_LICENSE_FILE: ${{secrets.KEYGEN_LICENSE_FILE}}
KEYGEN_LICENSE_KEY: ${{secrets.KEYGEN_LICENSE_KEY}}
KEYGEN_HOST: api.keygen.sh
KEYGEN_HOSTS: rubygems.pkg.keygen.sh,raw.pkg.keygen.sh,tauri.pkg.keygen.sh,pypi.pkg.keygen.sh,npm.pkg.keygen.sh,oci.pkg.keygen.sh,auth.keygen.sh
SECRET_KEY_BASE: 1b39b6912d39c7dd412d9f5795dd9cdaed7f97d7d02cf0bdac7c9878830b16462af858027e2a51e9c63ff95edd505d461536829bbbce6bfb2db69963c014597a
ENCRYPTION_DETERMINISTIC_KEY: GZ5FU0dXHcFxJVqPVpZSihVVqiScvQNq
ENCRYPTION_PRIMARY_KEY: r9ay7kGB1p7pEtuRQ6r1gSEZhShPonMz
ENCRYPTION_KEY_DERIVATION_SALT: tCf2PKf9LZ6vgfYgf7sAXRg7sDNYj0DP
CF_ACCESS_KEY_ID: test
CF_SECRET_ACCESS_KEY: test
CF_ACCOUNT_ID: test
CF_BUCKET: test
CF_REGION: auto
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_BUCKET: test
AWS_REGION: us-east-2
DATABASE_URL: postgres://postgres:postgres@localhost:5432
REPLICA_DATABASE_URL: postgres://postgres:postgres@localhost:5432
REDIS_URL: redis://localhost:6379
RAILS_LOG_LEVEL: ${{vars.RAILS_LOG_LEVEL}}
RAILS_ENV: test
DEBUG: ${{vars.DEBUG}}
jobs:
ce:
runs-on: depot-ubuntu-latest-16
services:
postgres:
image: postgres:17-alpine
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
TEST_RUNNER:
- rspec
- cucumber
REPLICA_DATABASE_ENABLED:
- '0'
- '1'
env:
KEYGEN_EDITION: CE
KEYGEN_MODE: singleplayer
REPLICA_DATABASE_ENABLED: ${{matrix.REPLICA_DATABASE_ENABLED}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./.github/actions/test
with:
test-runner: ${{matrix.TEST_RUNNER}}
ee:
runs-on: depot-ubuntu-latest-16
services:
postgres:
image: postgres:17-alpine
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
clickhouse:
image: clickhouse/clickhouse-server:25.12-alpine
env:
CLICKHOUSE_PASSWORD: clickhouse
CLICKHOUSE_USER: clickhouse
CLICKHOUSE_DB: clickhouse
ports:
- 8123:8123
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
TEST_RUNNER:
- rspec
- cucumber
KEYGEN_MODE:
- singleplayer
- multiplayer
REPLICA_DATABASE_ENABLED:
- '0'
- '1'
CLICKHOUSE_DATABASE_ENABLED:
- '0'
- '1'
env:
KEYGEN_EDITION: EE
KEYGEN_MODE: ${{matrix.KEYGEN_MODE}}
REPLICA_DATABASE_ENABLED: ${{matrix.REPLICA_DATABASE_ENABLED}}
CLICKHOUSE_DATABASE_URL: clickhouse://clickhouse:clickhouse@localhost:8123
CLICKHOUSE_DATABASE_ENABLED: ${{matrix.CLICKHOUSE_DATABASE_ENABLED}}
CLICKHOUSE_TLS_DISABLED: '1'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./.github/actions/test
with:
test-runner: ${{matrix.TEST_RUNNER}}