Skip to content

Commit a27be4e

Browse files
committed
shorter stage name and use latest ubuntu
1 parent 966f380 commit a27be4e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

vinca/generate_azure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def main():
364364
print(stages)
365365

366366
# Build Linux pipeline
367-
azure_template = {"pool": {"vmImage": "ubuntu-16.04"}}
367+
azure_template = {"pool": {"vmImage": "ubuntu-latest"}}
368368

369369
azure_stages = []
370370

@@ -378,7 +378,7 @@ def main():
378378
pkg_jobname = '_'.join([normalize_name(pkg) for pkg in batch])
379379
stage["jobs"].append(
380380
{
381-
"job": pkg_jobname,
381+
"job": f"stage_{i}_job_{len(stage['jobs'])}",
382382
"steps": [
383383
{
384384
"script": azure_linux_script,

vinca/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ def get_depmods(vinca_conf, pkg_name):
145145
add_deps[dep_type].append(dict(el))
146146
else:
147147
add_deps[dep_type].append(el)
148-
149148
return rm_deps, add_deps
150149

151150

0 commit comments

Comments
 (0)