-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1.18 KB
/
build.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
name: CAS Custom Workflow
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/iron'
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Create keystore
run: |
chmod +x ./gradlew
sudo chown $USER:$USER /etc
./gradlew createKeystore
cp /etc/cas/cas.crt /etc/cas/cas.pem
sudo keytool -importcert -trustcacerts -file /etc/cas/cas.pem -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -alias cas -noprompt
- name: Disable IPv6
run: |
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
- name: Run Pupeteer scenarios
run: |
mkdir /etc/cas/metadata-deleg
chmod +x puppeteer/run.sh
CAS_ARGS="-Dcom.sun.net.ssl.checkRevocation=false --spring.profiles.active=test" CAS_DELEG_ARGS="-Dcom.sun.net.ssl.checkRevocation=false --spring.profiles.active=deleg" ./puppeteer/run.sh