Skip to content

Commit

Permalink
add gen3 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
atharvar28 committed Dec 7, 2023
1 parent 191d320 commit 7e4296a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jenkins-jobs-scripts/step10/check_ecr_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
release = os.environ.get("RELEASE_VERSION")
failed_list = []

subprocess.run(['git', 'clone', 'https://github.com/uc-cdis/cloud-automation.git'])

# Source gen3setup.sh script
subprocess.run(['source', './cloud-automation/gen3/gen3setup.sh'], shell=True, executable='/bin/bash')

# ecr = boto3.client('ecr')

def get_ecr_image(services):
Expand All @@ -22,7 +27,7 @@ def get_ecr_image(services):
failed_list.append(services)
# try:
# response = ecr.describe_images(
# repositoryName='gen3/{services}', ## cant accept / only accepts - or _
# repositoryName='gen3/{services}', ## cant accept '/' only accepts '-' or '_'
# imageIds=[{'imageTag': release}]
# )
# image_info = response['imageDetails'][0]
Expand Down

0 comments on commit 7e4296a

Please sign in to comment.