Skip to content

Commit

Permalink
feat(deadline): allow minor version upgrades in Repository construct (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jericht authored Dec 14, 2022
1 parent f20549e commit 9e0b7e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ import { ComputeTier } from '../lib/compute-tier';
console.log('EC2 key pair name not specified. You will not have SSH access to the render farm.');
}

if (config.deadlineClientLinuxAmiMap === {['region']: 'ami-id'}) {
throw new Error('Deadline Client Linux AMI map is required but was not specified.');
}

if (!config.enableSecretsManagement && config.secretsManagementSecretArn) {
console.warn('Deadline Secrets Management is disabled, so the admin credentials specified in the provided secret will not be used.');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ if test -f "$REPOSITORY_FILE_PATH"; then
SplitVersion=(${Version//./ })
SplitRepoVersion=(${DEADLINE_REPOSITORY_VERSION//./ })

if [[ ${SplitVersion[0]} != ${SplitRepoVersion[0]} ]] || [[ ${SplitVersion[1]} != ${SplitRepoVersion[1]} ]]; then
echo "ERROR: Repository pre-exists but configured Repository Version (${Version}) has a different Major or Minor Version than the provided installer (${DEADLINE_REPOSITORY_VERSION})."
if [[ ${SplitVersion[0]} != ${SplitRepoVersion[0]} ]]; then
echo "ERROR: Repository pre-exists but configured Repository Version (${Version}) has a different Major Version than the provided installer (${DEADLINE_REPOSITORY_VERSION})."
exit 1
fi
fi
Expand Down

0 comments on commit 9e0b7e0

Please sign in to comment.