-
Notifications
You must be signed in to change notification settings - Fork 5
52 lines (45 loc) · 1.54 KB
/
qa-tests.yml
File metadata and controls
52 lines (45 loc) · 1.54 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
name: 🧪 QA Tests
permissions:
contents: read
on:
push: {}
workflow_call: {}
jobs:
qa-tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout firewall-java
uses: actions/checkout@v5
with:
path: firewall-java
- name: Checkout zen-demo-java
uses: actions/checkout@v5
with:
repository: Aikido-demo-apps/zen-demo-java
path: zen-demo-java
ref: qa-test
submodules: true
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
working-directory: ./firewall-java
run: |
chmod +x gradlew
make binaries
make build
# Move the build jars to demo app
mv dist ../zen-demo-java/zen_dist
- name: Replace Dockerfile with QA version
run: |
cp firewall-java/.github/workflows/Dockerfile.qa zen-demo-java/Dockerfile
- name: Run Firewall QA Tests
uses: AikidoSec/firewall-tester-action@v1.0.0
with:
dockerfile_path: ./zen-demo-java/Dockerfile
app_port: 8080
sleep_before_test: 30
skip_tests: test_ssrf,test_demo_apps_generic_tests