Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add AMI id to instance info on builds
Browse files Browse the repository at this point in the history
  • Loading branch information
larroy committed Feb 21, 2020
1 parent 88509d1 commit b21c2e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from enum import Enum
from subprocess import check_call

from util import *
from util import ec2_instance_info

KNOWN_VCVARS = {
'VS 2015': r'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat',
Expand Down Expand Up @@ -221,6 +221,9 @@ def main():
logging.getLogger().setLevel(logging.INFO)
logging.basicConfig(format='%(asctime)-15s %(message)s')
logging.info("MXNet Windows build helper")
instance_info = ec2_instance_info()
if instance_info:
logging.info("EC2: %s", instance_info)

parser = argparse.ArgumentParser()
parser.add_argument("-o", "--output",
Expand Down

0 comments on commit b21c2e9

Please sign in to comment.