@mikarinneoracle/oci-cdk-code-only-preview 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,7 +157,10 @@ function main() {
157
157
  ];
158
158
  if (functionId) {
159
159
  console.log(`Updating code-only function ${metadata.functionName} in ${metadata.appName}...`);
160
- runOci(['fn', 'function', 'update', 'archive-function', '--function-id', functionId, '--runtime-config', 'FUNCTION_UPDATE', '--force', ...commonArgs], { stdio: 'inherit' });
160
+ // OCI Preview CLI may print an unsuccessful waiter notice and the entire
161
+ // function payload even though the archive update was accepted. Keep its
162
+ // output captured so the normal deploy output remains concise.
163
+ runOci(['fn', 'function', 'update', 'archive-function', '--function-id', functionId, '--runtime-config', 'FUNCTION_UPDATE', '--force', ...commonArgs]);
161
164
  console.log(`Updated code-only function: ${functionId}`);
162
165
  } else {
163
166
  console.log(`Creating code-only function ${metadata.functionName} in ${metadata.appName}...`);
@@ -166,7 +169,7 @@ function main() {
166
169
  '--application-id', applicationId,
167
170
  '--display-name', metadata.functionName,
168
171
  ...commonArgs,
169
- ], { stdio: 'inherit' });
172
+ ]);
170
173
  console.log('Created code-only function.');
171
174
  }
172
175
  } finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikarinneoracle/oci-cdk-code-only-preview",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "OCI CDK stack for OCI Functions, API Gateway, and related infrastructure",
5
5
  "main": "lib/index.js",
6
6
  "bin": {