Skip to content

Commit

Permalink
update jenkins tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Sep 26, 2024
1 parent 5420a3a commit cb8dffb
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 14 deletions.
9 changes: 7 additions & 2 deletions scripts/jenkins_fips_regress_aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ exit_code_decorator(){
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.properties scripts/profile.properties.gpg


exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -f fips-pom.xml -DargLine=-DFIPS_TEST=true -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

9 changes: 7 additions & 2 deletions scripts/jenkins_fips_regress_az.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ exit_code_decorator(){
# decrypt profile
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.properties scripts/profile_az.properties.gpg

exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -f fips-pom.xml -DargLine=-DFIPS_TEST=true -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

9 changes: 7 additions & 2 deletions scripts/jenkins_fips_regress_gcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ exit_code_decorator(){
# decrypt profile
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.properties scripts/profile_gcp.properties.gpg

exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -f fips-pom.xml -DargLine=-DFIPS_TEST=true -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

9 changes: 7 additions & 2 deletions scripts/jenkins_regress_az.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ exit_code_decorator(){
# decrypt profile
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.properties scripts/profile_az.properties.gpg

exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

9 changes: 7 additions & 2 deletions scripts/jenkins_regress_az_latest_jdbc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ build_jdbc
# skip com.snowflake.snowpark.ReplSuite because classpath are not set well for local jdbc jar
rm -fr ./src/test/scala/com/snowflake/snowpark/ReplSuite.scala

exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

# clean up
rm -fr snowflake-jdbc
Expand Down
9 changes: 7 additions & 2 deletions scripts/jenkins_regress_gcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ exit_code_decorator(){
# decrypt profile
gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.properties scripts/profile_gcp.properties.gpg

exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

9 changes: 7 additions & 2 deletions scripts/jenkins_regress_latest_jdbc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ build_jdbc
# skip com.snowflake.snowpark.ReplSuite because classpath are not set well for local jdbc jar
rm -fr ./src/test/scala/com/snowflake/snowpark/ReplSuite.scala

exit_code_decorator "mvn clean compile"
exit_code_decorator "mvn -Dgpg.skip -DtagsToExclude=com.snowflake.snowpark.PerfTest test"
exit_code_decorator "sbt clean compile"
exit_code_decorator "sbt JavaAPITests:test"
exit_code_decorator "sbt SprocTests:test"
exit_code_decorator "sbt NonparallelTests:test"
exit_code_decorator "sbt UDFTests:test"
exit_code_decorator "sbt UDTFTests:test"
exit_code_decorator "sbt OtherTests:test"

# clean up
rm -fr snowflake-jdbc
Expand Down

0 comments on commit cb8dffb

Please sign in to comment.