Skip to content

Commit

Permalink
Batch packaging pulls
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhay Saxena committed Jun 10, 2019
1 parent c580e72 commit 9fe97a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packaging/package_linux.py
Expand Up @@ -21,6 +21,7 @@

import sys
from pathlib import Path
from subprocess import check_call
from typing import List

from container import Container
Expand Down Expand Up @@ -117,6 +118,10 @@ def get_upload_commands(system, release, package):

def main(version):
"""Create Linux packages"""
show_banner("Pulling images...")
for system, release, _, _, _ in distros:
check_call(["docker", "pull", "{}:{}".format(system, release)])

show_banner("Building packages...")
con = prep_to_build()
uploads = []
Expand Down

0 comments on commit 9fe97a1

Please sign in to comment.