runcloud 0.2.175 → 0.2.177
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.
|
@@ -15,7 +15,7 @@ const CONFIG_RULES = {
|
|
|
15
15
|
app_name: { path: ['expo', 'name'], absent: 'fail' },
|
|
16
16
|
slug: { path: ['expo', 'slug'], absent: 'fail' },
|
|
17
17
|
ios_bundle_id: { path: ['expo', 'ios', 'bundleIdentifier'], absent: 'info', storeId: /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)+$/ },
|
|
18
|
-
android_package: { path: ['expo', 'android', 'package'], absent: 'info', storeId: /^[
|
|
18
|
+
android_package: { path: ['expo', 'android', 'package'], absent: 'info', storeId: /^[A-Za-z][A-Za-z0-9_]*(\.[A-Za-z][A-Za-z0-9_]*)+$/ },
|
|
19
19
|
version: { path: ['expo', 'version'], absent: 'warning' },
|
|
20
20
|
scheme: { path: ['expo', 'scheme'], absent: 'info' },
|
|
21
21
|
user_interface_style: { path: ['expo', 'userInterfaceStyle'], absent: 'info' },
|
|
@@ -169,14 +169,14 @@ export async function inspectFleet(client, options = {}, now) {
|
|
|
169
169
|
const fleet = await readSource(client, ROOT);
|
|
170
170
|
if (fleet.state === 'unavailable' || !Array.isArray(fleet.data.hosts))
|
|
171
171
|
throw new Error(`Fleet read unavailable (${fleet.reason ?? 'invalid_response'}); use an admin identity with read permission`);
|
|
172
|
-
const [
|
|
173
|
-
readSource(client, '/run-cloud/admin/fleet-inventory'),
|
|
172
|
+
const [shared, diagnostics, events, history, jenkins] = await Promise.all([
|
|
174
173
|
readSource(client, `${ROOT}/operator-inventory`),
|
|
175
174
|
readSource(client, `${ROOT}/diagnostics?${query}`),
|
|
176
175
|
readFleetEvents(client, options),
|
|
177
176
|
options.hostId ? readSource(client, `${ROOT}/history?${new URLSearchParams({ range: options.range ?? '24h', hostId: options.hostId })}`) : Promise.resolve(null),
|
|
178
177
|
readSource(client, '/run-cloud/admin/jenkins'),
|
|
179
178
|
]);
|
|
179
|
+
const inventory = await readSource(client, '/run-cloud/admin/fleet-inventory');
|
|
180
180
|
for (const [source, key] of [[inventory, 'hosts'], [shared, 'snapshots'], [diagnostics, 'diagnoses'], [jenkins, 'nodes']]) {
|
|
181
181
|
if (source.state === 'available' && !Array.isArray(source.data[key])) {
|
|
182
182
|
source.state = 'unavailable';
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = '0.2.
|
|
1
|
+
export const CLI_VERSION = '0.2.177';
|
package/package.json
CHANGED
|
Binary file
|
package/runcloud-0.2.175.tgz
DELETED
|
Binary file
|