Fix nightly workflow build failure (install JDK/sbt, update artifact paths) - #568
Open
vgarg-mf wants to merge 12 commits into
Open
Fix nightly workflow build failure (install JDK/sbt, update artifact paths)#568vgarg-mf wants to merge 12 commits into
vgarg-mf wants to merge 12 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #568 +/- ##
=======================================
Coverage 87.92% 87.92%
=======================================
Files 44 44
Lines 1963 1963
Branches 118 118
=======================================
Hits 1726 1726
Misses 237 237
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Nightly Testing workflow's
buildjob was failing almost immediately(~3 seconds) with an
sbt: command not founderror. sbt (and the expected JDK)are no longer preinstalled on GitHub's
ubuntu-latestrunner images, andnightly.ymlwent straight from checkout tosbt packagewithout setting them up.Changes
buildjob, mirroring the existing setup inmain.yml, sosbt packagecan run.scala-2.12/spark-vertica-connector_2.12-*.jarto
scala-2.13/spark-vertica-connector*.jarto match the current build output.actions/download-artifact@v2→@v4in the downstream integration-testjobs, since v4 artifacts (produced by
upload-artifact@v4) are not compatible withthe v2 download action.
Impact
buildjob.run-spark-integration-testsandrun-integration-tests-on-standalone-cluster(which depend on the build artifact).Post Workflow Status To Slackjob will no longer fire on this failure once thebuild succeeds.
Testing
("Run workflow") on the Actions tab, or on the next scheduled nightly run.