chore: release 7.1.3-esco-1.0.4 #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |