Skip to content

Commit

Permalink
fix: testing delay before processing preview environment
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Jul 15, 2024
1 parent 32f60fb commit daf291d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def main():
if app['metadata']['annotations'].get('preview_environment') == 'true':
logger.info(f'OK. This app has the annotation preview_environment == true : {app["metadata"]["name"]}')
if app['metadata']['annotations']['head_sha'] not in commits_processed:
time.sleep(15)
# Check if the application was created by an ApplicationSet
owner_refs = app['metadata']['ownerReferences']
appset_created = any(
Expand Down

0 comments on commit daf291d

Please sign in to comment.