Skip to content

Commit

Permalink
mikeo r4 automation
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Nov 2, 2024
1 parent 901edd2 commit eecb37f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/artifact_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Test artifacts with OQS
run: ./src/test_certs_r3_with_oqs.sh
run: ./src/test_certs_r4_with_oqs.sh
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Test artifacts with BC
run: ./src/test_certs_r3_with_bc.sh
run: ./src/test_certs_r4_with_bc.sh
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
7 changes: 4 additions & 3 deletions src/test_certs_r4_with_bc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

certszipr3="artifacts_certs_r3.zip"
certsdir_r4="artifacts_certs_r4"
certzip_r4="artifacts_certs_r4.zip"
cmszipr1="artifacts_cms_v1.zip"
inputdir="./providers"
outputdir="./output/certs"
Expand Down Expand Up @@ -78,8 +79,8 @@ for providerdir in $(ls -d $inputdir/*/); do
provider=$(basename $providerdir)

# process certs
zip=${providerdir}$certszipr3
unzipdir=${providerdir}"artifacts_certs_r3"
zip=${providerdir}$certzip_r4
unzipdir=${providerdir}$certsdir_r4
printf "Unziping %s to %s\n" $zip $unzipdir
unzip -o $zip -d $unzipdir

Expand Down

0 comments on commit eecb37f

Please sign in to comment.