Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Duffle 0.0.5 compatibility updates (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
itowlson authored Feb 27, 2019
1 parent 514d0c3 commit 7696bed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/utils/duffle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ export async function pushFile(sh: shell.Shell, filePath: string, repo: string):
}

export async function installFile(sh: shell.Shell, bundleFilePath: string, name: string, params: { [key: string]: string }, credentialSet: string | undefined): Promise<Errorable<string>> {
return await invokeObj(sh, 'install', `${name} --insecure -f "${bundleFilePath}" ${paramsArgs(params)} ${credentialArg(credentialSet)}`, {}, (s) => s);
return await invokeObj(sh, 'install', `${name} "${bundleFilePath}" -f ${paramsArgs(params)} ${credentialArg(credentialSet)} --insecure`, {}, (s) => s);
}

export async function installBundle(sh: shell.Shell, bundleName: string, name: string, params: { [key: string]: string }, credentialSet: string | undefined): Promise<Errorable<string>> {
return await invokeObj(sh, 'install', `${name} ${bundleName} --insecure ${paramsArgs(params)} ${credentialArg(credentialSet)}`, {}, (s) => s);
return await invokeObj(sh, 'install', `${name} ${bundleName} ${paramsArgs(params)} ${credentialArg(credentialSet)} --insecure`, {}, (s) => s);
}

export async function verifyFile(sh: shell.Shell, bundleFilePath: string): Promise<Errorable<SignatureVerification>> {
Expand Down
8 changes: 4 additions & 4 deletions data/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"image": "cnab/helloworld:0.1.1"
}
],
"images": [
{
"imageType": "docker",
"images": {
"box-of-bizness": {
"description": "SO VERY BUSY",
"image": "busybox"
}
],
},
"parameters": {
"port": {
"defaultValue": 8080,
Expand Down

0 comments on commit 7696bed

Please sign in to comment.