Skip to content

Commit

Permalink
REL - Release v1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 18, 2024
1 parent 7f7ba1c commit 7a54c0e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/veraPDF_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
echo "Performing veraPDF installation ... "
echo "#Downloading veraPDF, latest rc version ... unziping to $PWD"
curl -LO https://software.verapdf.org/releases/verapdf-installer-rc.zip
unzip verapdf-installer-rc.zip
curl -LO https://software.verapdf.org/releases/verapdf-installer.zip
unzip verapdf-installer.zip
echo "Definition of the variables"
veradir=$(ls | grep verapdf-greenfield)
Expand All @@ -56,7 +56,7 @@ jobs:
echo "veraPATH: $veraPATH"
echo "#Downloading auto-install.xml ..."
curl -LO https://raw.githubusercontent.com/veraPDF/veraPDF-regression-tests/rc/1.26/tools/auto-install.xml
curl -LO https://raw.githubusercontent.com/veraPDF/veraPDF-regression-tests/rel/1.26/tools/auto-install.xml
#Definition of the 'PATH' to install veraPDF using the auto-install.xml file
sed -i '5 c\ <installpath>'$(echo $veraPATH)'</installpath>' ./auto-install.xml
Expand Down
2 changes: 1 addition & 1 deletion CLI/Issues/399/399.bats
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setup() {

# https://github.com/veraPDF/veraPDF-library/issues/399
@test "#399, CLI: --profile argument, external options check" {
run verapdf/verapdf -p verapdf/profiles/veraPDF-validation-profiles-rc-1.26/PDF_A/PDFA-4.xml $BATS_TEST_DIRNAME/a.pdf
run verapdf/verapdf -p verapdf/profiles/veraPDF-validation-profiles-rel-1.26/PDF_A/PDFA-4.xml $BATS_TEST_DIRNAME/a.pdf

[ "$status" -eq 0 ]
assert_output --partial '<batchSummary totalJobs="1" failedToParse="0" encrypted="0" outOfMemory="0" veraExceptions="0">'
Expand Down
2 changes: 1 addition & 1 deletion CLI/Options/config/config.bats
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ setup() {
cp -r verapdf/* $BATS_TEST_TMPDIR

cd $BATS_TEST_TMPDIR
VERAPDF_FOLDER=1.26rc
VERAPDF_FOLDER=1.26
assert [ ${#FILES_TO_CHECK[@]} != 0 ]
assert [ ${#PLUGIN_FILES_TO_CHECK[@]} != 0 ]
}
Expand Down
2 changes: 1 addition & 1 deletion CLI/Options/plugins/plugins_without_ext_files.bats
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ setup() {

cd $BATS_TEST_TMPDIR

LAST_BUILD=$(get_last_plugins_version "1.26rc")
LAST_BUILD=$(get_last_plugins_version "1.26")

}

Expand Down
2 changes: 1 addition & 1 deletion CLI/Options/profile/profile.bats
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ setup() {

profile_check() {
echo "Running: $1" >&3
run verapdf/verapdf --profile verapdf/profiles/veraPDF-validation-profiles-rc-1.26/PDF_A/PDFA-4.xml $FILE_PATH/$1
run verapdf/verapdf --profile verapdf/profiles/veraPDF-validation-profiles-rel-1.26/PDF_A/PDFA-4.xml $FILE_PATH/$1
assert_output --partial 'profileName="PDF/A-4 validation profile"'
[ "$status" -eq 1 ]
}
2 changes: 1 addition & 1 deletion CLI/Options/version/version.bats
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ setup() {
[ "$status" -eq 0 ]
assert_output --partial 'Developed and released by the veraPDF Consortium'
assert_output --partial 'Funded by the PREFORMA project'
assert_output --regexp '^veraPDF [1-9].[1-9][0-9].[0-9]-RC[1-9]([0-9][0-9]?)?'
assert_output --regexp '^veraPDF [1-9].[1-9][0-9].[0-9]([0-9][0-9]?)?'

}
2 changes: 1 addition & 1 deletion tools/test_helper/common-setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ verapdf_folder() {
get_plugin_version() {
PLUGIN_NAME=$1

PLUGIN_VERSION=$(cat "$PROJECT_ROOT/verapdf/config/plugins.xml" | grep "$PLUGIN_NAME" | grep -o [0-9].[0-9][0-9].[0-9]-RC[0-9])
PLUGIN_VERSION=$(cat "$PROJECT_ROOT/verapdf/config/plugins.xml" | grep "$PLUGIN_NAME" | grep -o [0-9].[0-9][0-9].[0-9][0-9])

echo "PLUGIN_VERSION: "$PLUGIN_VERSION >&3
echo "$PLUGIN_VERSION"
Expand Down
3 changes: 1 addition & 2 deletions tools/test_helper/html_helper.bash
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ get_last_build_page_on_jenkins() {
get_last_plugins_version() {

echo "FOLDER: $1" >&3
BUILD_VERSION=$(curl https://jenkins.openpreservation.org/job/veraPDF/job/$1/job/plugins/lastBuild/ | grep -o 'class="jenkins-icon-adjacent">Build [0-9].[0-9][0-9].[0-9]-RC[0-9]*' | grep -o [0-9].[0-9][0-9].[0-9]-RC[0-9]*)
BUILD_VERSION=$(curl https://jenkins.openpreservation.org/job/veraPDF/job/$1/job/plugins/lastBuild/ | grep -o 'class="jenkins-icon-adjacent">Build [0-9].[0-9][0-9].[0-9][0-9]*' | grep -o [0-9].[0-9][0-9].[0-9][0-9]*)
echo "BUILD_VERSION: $BUILD_VERSION" >&3
echo "$BUILD_VERSION"
}

10 changes: 5 additions & 5 deletions tools/verapdf-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
timestamp=$1
cd $timestamp

echo "#Downloading veraPDF, latest rc version ... unziping to $PWD"
curl -LO https://software.verapdf.org/releases/verapdf-installer-rc.zip
unzip verapdf-installer-rc.zip
echo "#Downloading veraPDF, latest rel version ... unziping to $PWD"
curl -LO https://software.verapdf.org/releases/verapdf-installer.zip
unzip verapdf-installer.zip

#Definition of the variable, pointing to the veraPDF directory with installation files
veradir=$(ls | grep verapdf-greenfield)
Expand All @@ -18,11 +18,11 @@ export veraPATH="${timestamp}/../verapdf"
echo "veraPATH: $veraPATH"

#Prepare of the file: auto-install.xml
# curl -LO https://raw.githubusercontent.com/veraPDF/veraPDF-regression-tests/rc/1.26/TOOLS/auto-install.xml
# curl -LO https://raw.githubusercontent.com/veraPDF/veraPDF-regression-tests/rel/1.26/TOOLS/auto-install.xml
# OR
#cp /home/test/auto-install.xml ./

curl -LO https://raw.githubusercontent.com/veraPDF/veraPDF-regression-tests/rc/1.26/tools/auto-install.xml
curl -LO https://raw.githubusercontent.com/veraPDF/veraPDF-regression-tests/rel/1.26/tools/auto-install.xml

#Definition of the 'PATH' to install veraPDF using the auto-install.xml file
sed -i '5 c\ <installpath>'$(echo $veraPATH)'</installpath>' ./auto-install.xml
Expand Down

0 comments on commit 7a54c0e

Please sign in to comment.