CI: Test external-sop against sqop

This commit is contained in:
Paul Schaub 2023-01-22 17:07:17 +01:00
parent 3789b60f0b
commit c1ae5314a0
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
3 changed files with 18 additions and 1 deletions

View file

@ -17,4 +17,8 @@ License: Apache-2.0
# Woodpecker build files
Files: .woodpecker/*
Copyright: 2022 the original author or authors.
License: Apache-2.0
Files: external-sop/src/main/resources/sop/external/*
Copyright: 2023 the original author or authors
License: Apache-2.0

View file

@ -1,8 +1,13 @@
pipeline:
run:
image: gradle:7.5-jdk8
image: gradle:7.5-jdk8-jammy
commands:
# Install Sequoia-SOP
- apt update && apt install --yes sqop
# Checkout code
- git checkout $CI_COMMIT_BRANCH
# Prepare CI
- cp external-sop/src/main/resources/sop/external/config.json.ci external-sop/src/main/resources/sop/external/config.json
# Code works
- gradle test
# Code is clean

View file

@ -0,0 +1,8 @@
{
"backends": [
{
"name": "Sequoia-SOP",
"sop": "/usr/bin/sqop"
}
]
}