forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (45 loc) · 1.5 KB
/
jepsen-single-instance.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
name: jepsen-single-instance
on:
push:
tags:
- '*'
workflow_dispatch:
schedule:
- cron: '0 */3 * * *'
env:
CI_MAKE: make -f .travis.mk
jobs:
jepsen-single-instance:
if: github.repository == 'tarantool/tarantool'
runs-on: ubuntu-18.04
# image built by .gitlab.mk instructions and targets from .travis.mk
container:
image: docker.io/tarantool/testing:debian-stretch
ports:
# Opens tcp port 2222 on the host for internal SSH port
- 2222:22
steps:
- uses: actions/checkout@v1
- name: long_test
env:
TF_VAR_keypair_name: ${{ secrets.TF_VAR_keypair_name }}
TF_VAR_password: ${{ secrets.TF_VAR_password }}
TF_VAR_tenant_id: ${{ secrets.TF_VAR_tenant_id }}
TF_VAR_user_domain_id: ${{ secrets.TF_VAR_user_domain_id }}
TF_VAR_user_name: ${{ secrets.TF_VAR_user_name }}
TF_VAR_ssh_key: ${{ secrets.TF_VAR_ssh_key }}
LEIN_OPT: '--nemesis standard'
run: ${CI_MAKE} test_jepsen
- name: call action to send Telegram message on failure
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_CORE_TOKEN }}
TELEGRAM_TO: ${{ secrets.TELEGRAM_CORE_TO }}
uses: ./.github/actions/send-telegram-notify
if: failure()
- name: artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: jepsen-single-instance
retention-days: 21
path: jepsen-tests-prefix/src/jepsen-tests/store