cloudron 7.0.5 → 7.0.6
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.
- package/package.json +1 -1
- package/src/actions.js +8 -4
- package/src/build-actions.js +0 -5
package/package.json
CHANGED
package/src/actions.js
CHANGED
|
@@ -106,10 +106,14 @@ async function stopActiveTask(app, options) {
|
|
|
106
106
|
function saveCwdAppId(appId, manifestFilePath) {
|
|
107
107
|
if (!manifestFilePath) return;
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
try {
|
|
110
|
+
const sourceDir = path.dirname(manifestFilePath);
|
|
111
|
+
const cwdConfig = config.getCwdConfig(sourceDir);
|
|
112
|
+
cwdConfig.appId = appId;
|
|
113
|
+
config.setCwdConfig(sourceDir, cwdConfig);
|
|
114
|
+
} catch (e) { // will happen when run on EROFS (set HOME to avoid)
|
|
115
|
+
console.log(`Warning: Could not save app id to config: ${e.message} . Try setting $HOME`);
|
|
116
|
+
}
|
|
113
117
|
}
|
|
114
118
|
|
|
115
119
|
// appId may be the appId or the location
|
package/src/build-actions.js
CHANGED
|
@@ -295,11 +295,6 @@ async function build(localOptions, cmd) {
|
|
|
295
295
|
|
|
296
296
|
const appConfig = config.getCwdConfig(sourceDir);
|
|
297
297
|
const buildServiceConfig = getEffectiveBuildServiceConfig(options);
|
|
298
|
-
if (buildServiceConfig.type === 'remote' && buildServiceConfig.url) {
|
|
299
|
-
console.log('Building using remote build service at %s', buildServiceConfig.url);
|
|
300
|
-
} else {
|
|
301
|
-
console.log('Building locally with Docker.');
|
|
302
|
-
}
|
|
303
298
|
|
|
304
299
|
let repository = appConfig.repository;
|
|
305
300
|
if (!repository || options.repository) {
|