File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1818]);
1919
2020$ productionStage = $ configuration ->addStage ('test ' , 'banaan.store ' );
21- $ productionStage ->addBrancherServer ('hndeployintegr8 ' );
21+ $ productionStage ->addBrancherServer ('hndeployintegr8 ' )
22+ ->setLabels (['gitref= ' .\getenv ('GITHUB_SHA ' ) ?: 'unknown ' ]);
2223
2324return $ configuration ;
Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ $DP jq .hostnames[0] deployment-report.json -r -e
7272$DP jq .brancher_hypernodes[0] deployment-report.json -r -e
7373
7474# Remove deployment report to make sure we can clean up using hnapi and labels matching
75+ BRANCHER_INSTANCE=$( $DP jq .brancher_hypernodes[0] deployment-report.json -r -e)
7576$DP rm -f deployment-report.json
7677
7778# cleanup data
78- $DP hypernode-deploy cleanup test -vvv
79+ $DP hypernode-deploy cleanup test -vvv | tee cleanup.log
80+
81+ # Run tests on cleanup
82+ grep " Stopping brancher Hypernode ${BRANCHER_INSTANCE} ..." cleanup.log
You can’t perform that action at this time.
0 commit comments