Browse Source

Loop fix

master 1.4.4
Drew Short 3 years ago
parent
commit
7d1bfc044c
  1. 7
      acm.py
  2. 6
      pipeline.yml

7
acm.py

@ -46,9 +46,8 @@ async def run_command_shell(
process_stdout, process_stderr = await process.communicate() process_stdout, process_stderr = await process.communicate()
if process.returncode == 0: if process.returncode == 0:
for callable in on_success:
if callable is not None:
callable()
for success_callable in on_success:
success_callable()
if stdout != asyncio.subprocess.DEVNULL: if stdout != asyncio.subprocess.DEVNULL:
result = process_stdout.decode().strip() result = process_stdout.decode().strip()
@ -725,7 +724,7 @@ def compress_assets(ctx, profile, content, destination, print_input_and_identity
) )
) )
return task return task
return None
return lambda: True
for input_file in files: for input_file in files:
for content_configuration in content_configurations: for content_configuration in content_configurations:

6
pipeline.yml

@ -28,7 +28,8 @@ jobs:
- put: git-resource-image-nexus - put: git-resource-image-nexus
params: params:
build: git-resource build: git-resource
cache: sothr/acm:latest
cache: true
cache_tag: latest
tag_file: git-resource/.git/ref tag_file: git-resource/.git/ref
tag_as_latest: true tag_as_latest: true
get_params: get_params:
@ -36,7 +37,8 @@ jobs:
- put: git-resource-image - put: git-resource-image
params: params:
build: git-resource build: git-resource
cache: sothr/acm:latest
cache: true
cache_tag: latest
tag_file: git-resource/.git/ref tag_file: git-resource/.git/ref
tag_as_latest: true tag_as_latest: true
get_params: get_params:

Loading…
Cancel
Save