hamlet-io / executor-bash

Executor for hamlet based on bash
GNU General Public License v3.0
0 stars 4 forks source link

feat: detect existing images #326

Closed ml019 closed 2 years ago

ml019 commented 2 years ago

Intent of Change

Description

If an image path to a directory is provided when uploading images, first check if the directory already contains the required image.

If it does, use that, otherwise zip the directory.

Motivation and Context

This minimises the possibility of a double zip due to misconfiguration.

How Has This Been Tested

Difficult to test locally - will test with an affected customer config once merged.

Related Changes

Prerequisite PRs:

Dependent PRs:

Consumer Actions: