backend-manager 5.0.32 → 5.0.33
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/firebase-debug.log
CHANGED
|
@@ -50,3 +50,87 @@
|
|
|
50
50
|
[debug] [2025-11-18T02:05:23.333Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
51
51
|
[debug] [2025-11-18T02:05:23.334Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
52
52
|
[debug] [2025-11-18T02:05:23.334Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
53
|
+
[debug] [2025-11-18T05:51:10.816Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
54
|
+
[debug] [2025-11-18T05:51:10.818Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
55
|
+
[debug] [2025-11-18T05:51:10.818Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
56
|
+
[debug] [2025-11-18T05:51:10.819Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
57
|
+
[debug] [2025-11-18T05:51:10.827Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
58
|
+
[debug] [2025-11-18T05:51:10.827Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
59
|
+
[debug] [2025-11-18T05:51:10.883Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
60
|
+
[debug] [2025-11-18T05:51:10.883Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
61
|
+
[debug] [2025-11-18T05:51:10.884Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
62
|
+
[debug] [2025-11-18T05:51:10.884Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
63
|
+
[debug] [2025-11-18T05:51:10.888Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
64
|
+
[debug] [2025-11-18T05:51:10.888Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
65
|
+
[debug] [2025-11-18T05:51:10.888Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
66
|
+
[debug] [2025-11-18T05:51:10.888Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
67
|
+
[debug] [2025-11-18T05:51:11.258Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
68
|
+
[debug] [2025-11-18T05:51:11.260Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
69
|
+
[debug] [2025-11-18T05:51:11.260Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
70
|
+
[debug] [2025-11-18T05:51:11.260Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
71
|
+
[debug] [2025-11-18T05:51:11.268Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
72
|
+
[debug] [2025-11-18T05:51:11.268Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
73
|
+
[debug] [2025-11-18T05:51:11.327Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
74
|
+
[debug] [2025-11-18T05:51:11.327Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
75
|
+
[debug] [2025-11-18T05:51:11.328Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
76
|
+
[debug] [2025-11-18T05:51:11.329Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
77
|
+
[debug] [2025-11-18T05:51:11.330Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
78
|
+
[debug] [2025-11-18T05:51:11.330Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
79
|
+
[debug] [2025-11-18T05:51:11.331Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
80
|
+
[debug] [2025-11-18T05:51:11.331Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
81
|
+
[debug] [2025-11-18T06:06:40.873Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
82
|
+
[debug] [2025-11-18T06:06:40.877Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
83
|
+
[debug] [2025-11-18T06:06:40.877Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
84
|
+
[debug] [2025-11-18T06:06:40.877Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
85
|
+
[debug] [2025-11-18T06:06:40.885Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
86
|
+
[debug] [2025-11-18T06:06:40.885Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
87
|
+
[debug] [2025-11-18T06:06:40.944Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
88
|
+
[debug] [2025-11-18T06:06:40.944Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
89
|
+
[debug] [2025-11-18T06:06:40.945Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
90
|
+
[debug] [2025-11-18T06:06:40.945Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
91
|
+
[debug] [2025-11-18T06:06:40.946Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
92
|
+
[debug] [2025-11-18T06:06:40.946Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
93
|
+
[debug] [2025-11-18T06:06:40.947Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
94
|
+
[debug] [2025-11-18T06:06:40.947Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
95
|
+
[debug] [2025-11-18T06:06:41.376Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
96
|
+
[debug] [2025-11-18T06:06:41.378Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
97
|
+
[debug] [2025-11-18T06:06:41.378Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
98
|
+
[debug] [2025-11-18T06:06:41.378Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
99
|
+
[debug] [2025-11-18T06:06:41.387Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
100
|
+
[debug] [2025-11-18T06:06:41.387Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
101
|
+
[debug] [2025-11-18T06:06:41.523Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
102
|
+
[debug] [2025-11-18T06:06:41.523Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
103
|
+
[debug] [2025-11-18T06:06:41.525Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
104
|
+
[debug] [2025-11-18T06:06:41.526Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
105
|
+
[debug] [2025-11-18T06:06:41.535Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
106
|
+
[debug] [2025-11-18T06:06:41.535Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
107
|
+
[debug] [2025-11-18T06:06:41.536Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
108
|
+
[debug] [2025-11-18T06:06:41.536Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
109
|
+
[debug] [2025-11-18T07:21:49.355Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
110
|
+
[debug] [2025-11-18T07:21:49.358Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
111
|
+
[debug] [2025-11-18T07:21:49.358Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
112
|
+
[debug] [2025-11-18T07:21:49.358Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
113
|
+
[debug] [2025-11-18T07:21:49.371Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
114
|
+
[debug] [2025-11-18T07:21:49.371Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
115
|
+
[debug] [2025-11-18T07:21:49.432Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
116
|
+
[debug] [2025-11-18T07:21:49.432Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
117
|
+
[debug] [2025-11-18T07:21:49.433Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
118
|
+
[debug] [2025-11-18T07:21:49.433Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
119
|
+
[debug] [2025-11-18T07:21:49.434Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
120
|
+
[debug] [2025-11-18T07:21:49.434Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
121
|
+
[debug] [2025-11-18T07:21:49.435Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
122
|
+
[debug] [2025-11-18T07:21:49.435Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
123
|
+
[debug] [2025-11-18T07:21:49.874Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
124
|
+
[debug] [2025-11-18T07:21:49.876Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
125
|
+
[debug] [2025-11-18T07:21:49.876Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
126
|
+
[debug] [2025-11-18T07:21:49.876Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
127
|
+
[debug] [2025-11-18T07:21:49.884Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
128
|
+
[debug] [2025-11-18T07:21:49.884Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
129
|
+
[debug] [2025-11-18T07:21:49.937Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
130
|
+
[debug] [2025-11-18T07:21:49.937Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
131
|
+
[debug] [2025-11-18T07:21:49.938Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
132
|
+
[debug] [2025-11-18T07:21:49.938Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
133
|
+
[debug] [2025-11-18T07:21:49.939Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
134
|
+
[debug] [2025-11-18T07:21:49.939Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
|
135
|
+
[debug] [2025-11-18T07:21:49.940Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
|
|
136
|
+
[debug] [2025-11-18T07:21:49.940Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
|
package/package.json
CHANGED
|
@@ -21,24 +21,37 @@ class StorageLifecyclePolicyTest extends BaseTest {
|
|
|
21
21
|
|
|
22
22
|
async cmd_setStorageLifecycle(self) {
|
|
23
23
|
return new Promise(async (resolve, reject) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
const buckets = [
|
|
25
|
+
{
|
|
26
|
+
name: `us.artifacts.${self.projectId}.appspot.com`,
|
|
27
|
+
config: path.resolve(`${__dirname}/../../../../templates/storage-lifecycle-config-1-day.json`)
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: `bm-backup-firestore-${self.projectId}`,
|
|
31
|
+
config: path.resolve(`${__dirname}/../../../../templates/storage-lifecycle-config-30-days.json`)
|
|
32
|
+
}
|
|
33
|
+
];
|
|
30
34
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
try {
|
|
36
|
+
for (const bucket of buckets) {
|
|
37
|
+
// Check if bucket exists first
|
|
38
|
+
const checkCommand = `gsutil ls -b gs://${bucket.name}`;
|
|
39
|
+
const exists = await powertools.execute(checkCommand, { log: false })
|
|
40
|
+
.then(() => true)
|
|
41
|
+
.catch(() => false);
|
|
42
|
+
|
|
43
|
+
if (exists) {
|
|
44
|
+
const command = `gsutil lifecycle set ${bucket.config} gs://${bucket.name}`;
|
|
45
|
+
await powertools.execute(command, { log: true });
|
|
46
|
+
} else {
|
|
47
|
+
console.log(chalk.yellow(`Skipping bucket gs://${bucket.name} (does not exist)`));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
resolve('Success');
|
|
51
|
+
} catch (e) {
|
|
52
|
+
console.error(chalk.red(`Failed to set storage lifecycle policy`, e));
|
|
53
|
+
reject(e);
|
|
54
|
+
}
|
|
42
55
|
});
|
|
43
56
|
}
|
|
44
57
|
}
|