-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (54 loc) · 1.98 KB
/
rippled.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
52
53
54
55
56
57
58
59
name: rippled
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *' # Every day at 6:00 AM UTC.
jobs:
build-rippled:
uses: runziggurat/xrpl/.github/workflows/build-rippled.yml@main
build-ziggurat:
uses: runziggurat/ziggurat-core/.github/workflows/build-ziggurat.yml@main
with:
extra-args: --features performance
run-test-suite:
runs-on: ubuntu-latest
needs: [ build-rippled, build-ziggurat ]
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: node-executable
path: ./rippled
- name: Enable openSSL legacy functions
run: |
cp /etc/ssl/openssl.cnf ./
sed -i 's/^\#openssl_conf = openssl_init/openssl_conf = openssl_init/' openssl.cnf
sed -i '/^\default = default_sect/a legacy = legacy_sect' openssl.cnf
sed -i '/^\[default_sect\]/a activate = 1' openssl.cnf
echo "[legacy_sect]" >> openssl.cnf
echo "activate = 1" >> openssl.cnf
- name: Run setup script
env:
OPENSSL_CONF: /home/runner/work/xrpl/xrpl/openssl.cnf
RIPPLED_BIN_PATH: /home/runner/work/xrpl/xrpl/rippled
run: |
pip3 install xrpl-py
chmod +x rippled/rippled
./tools/setup_env.sh
- name: Prepare IP addresses
run: |
wget -O tools/ips.py https://raw.githubusercontent.com/runziggurat/ziggurat-core/main/ziggurat-core-scripts/ips.py
python3 ./tools/ips.py --subnet 1.1.0.0/24 --file tools/ips_list.json --dev lo
- name: Run Ziggurat test suite
uses: runziggurat/ziggurat-core@main
with:
node-name: rippled
commit-hash: ${{ needs.build-rippled.outputs.commit-hash }}
call-process-results-workflow:
needs: [ run-test-suite ]
uses: runziggurat/ziggurat-core/.github/workflows/process-results.yml@main
with:
name: rippled
repository: xrpl
secrets:
gcp_credentials: ${{ secrets.GCP_CREDENTIALS }}