dvc pull in test running script

This commit is contained in:
Matthias Bisping 2022-04-20 10:56:58 +02:00
parent a935cacf23
commit 5b90bb47c3
2 changed files with 8 additions and 3 deletions

View File

@ -78,9 +78,9 @@ public class PlanSpec {
.jobs(
new Job("Build Job", new BambooKey("BUILD"))
.tasks(
// new CleanWorkingDirectoryTask()
// .description("Clean working directory.")
// .enabled(true),
new CleanWorkingDirectoryTask()
.description("Clean working directory.")
.enabled(true),
new VcsCheckoutTask()
.description("Checkout default repository.")
.checkoutItems(new CheckoutItem().defaultRepository()),

View File

@ -1,5 +1,10 @@
echo "${bamboo_nexus_password}" | docker login --username "${bamboo_nexus_user}" --password-stdin nexus.iqser.com:5001
pip install dvc
pip install 'dvc[ssh]'
echo "Pulling dvc data"
dvc pull
echo "ls dvc data"
ls data/
ls data/mlruns