@catladder/cli 0.0.0-main-0f0432f5 → 0.0.0-main-3a67b9c2

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.
@@ -3823,6 +3823,7 @@ exports.getDeleteUnusedImagesCommands = getDeleteUnusedImagesCommands;
3823
3823
 
3824
3824
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3825
3825
  exports.getRemoveOldRevisionsAndImagesCommand = void 0;
3826
+ const gitlab_1 = __nccwpck_require__(8490);
3826
3827
  const artifactsRegistry_1 = __nccwpck_require__(4963);
3827
3828
  const cloudRunRevisions_1 = __nccwpck_require__(9067);
3828
3829
  const getRemoveOldRevisionsAndImagesCommand = (context, when) => {
@@ -3836,7 +3837,10 @@ const getRemoveOldRevisionsAndImagesCommand = (context, when) => {
3836
3837
  const imagesToKeep = revisionsToKeep + 1;
3837
3838
  const deleteOldRevisionsCommands = (0, cloudRunRevisions_1.getDeleteUnusedRevisionsCommands)(context, revisionsToKeep);
3838
3839
  const deleteOldImagesCommands = (0, artifactsRegistry_1.getDeleteUnusedImagesCommands)(context, imagesToKeep);
3839
- return [...deleteOldRevisionsCommands, ...deleteOldImagesCommands];
3840
+ return (0, gitlab_1.allowFailureInScripts)([
3841
+ ...deleteOldRevisionsCommands,
3842
+ ...deleteOldImagesCommands,
3843
+ ]);
3840
3844
  };
3841
3845
  exports.getRemoveOldRevisionsAndImagesCommand = getRemoveOldRevisionsAndImagesCommand;
3842
3846
  //# sourceMappingURL=cleanup.js.map
@@ -6841,6 +6841,7 @@ exports.getDeleteUnusedImagesCommands = getDeleteUnusedImagesCommands;
6841
6841
 
6842
6842
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6843
6843
  exports.getRemoveOldRevisionsAndImagesCommand = void 0;
6844
+ const gitlab_1 = __nccwpck_require__(38490);
6844
6845
  const artifactsRegistry_1 = __nccwpck_require__(44963);
6845
6846
  const cloudRunRevisions_1 = __nccwpck_require__(29067);
6846
6847
  const getRemoveOldRevisionsAndImagesCommand = (context, when) => {
@@ -6854,7 +6855,10 @@ const getRemoveOldRevisionsAndImagesCommand = (context, when) => {
6854
6855
  const imagesToKeep = revisionsToKeep + 1;
6855
6856
  const deleteOldRevisionsCommands = (0, cloudRunRevisions_1.getDeleteUnusedRevisionsCommands)(context, revisionsToKeep);
6856
6857
  const deleteOldImagesCommands = (0, artifactsRegistry_1.getDeleteUnusedImagesCommands)(context, imagesToKeep);
6857
- return [...deleteOldRevisionsCommands, ...deleteOldImagesCommands];
6858
+ return (0, gitlab_1.allowFailureInScripts)([
6859
+ ...deleteOldRevisionsCommands,
6860
+ ...deleteOldImagesCommands,
6861
+ ]);
6858
6862
  };
6859
6863
  exports.getRemoveOldRevisionsAndImagesCommand = getRemoveOldRevisionsAndImagesCommand;
6860
6864
  //# sourceMappingURL=cleanup.js.map
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRemoveOldRevisionsAndImagesCommand = void 0;
4
+ const gitlab_1 = require("../../utils/gitlab");
4
5
  const artifactsRegistry_1 = require("./artifactsRegistry");
5
6
  const cloudRunRevisions_1 = require("./cloudRunRevisions");
6
7
  const getRemoveOldRevisionsAndImagesCommand = (context, when) => {
@@ -14,7 +15,10 @@ const getRemoveOldRevisionsAndImagesCommand = (context, when) => {
14
15
  const imagesToKeep = revisionsToKeep + 1;
15
16
  const deleteOldRevisionsCommands = (0, cloudRunRevisions_1.getDeleteUnusedRevisionsCommands)(context, revisionsToKeep);
16
17
  const deleteOldImagesCommands = (0, artifactsRegistry_1.getDeleteUnusedImagesCommands)(context, imagesToKeep);
17
- return [...deleteOldRevisionsCommands, ...deleteOldImagesCommands];
18
+ return (0, gitlab_1.allowFailureInScripts)([
19
+ ...deleteOldRevisionsCommands,
20
+ ...deleteOldImagesCommands,
21
+ ]);
18
22
  };
19
23
  exports.getRemoveOldRevisionsAndImagesCommand = getRemoveOldRevisionsAndImagesCommand;
20
24
  //# sourceMappingURL=cleanup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../../../../pipeline/src/deploy/cloudRun/cleanup.ts"],"names":[],"mappings":";;;AACA,2DAAoE;AACpE,2DAAuE;AAEhE,MAAM,qCAAqC,GAAG,CACnD,OAAyB,EACzB,IAA6B,EAC7B,EAAE;IACF,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;QACtB,+FAA+F;QAC/F,OAAO,IAAA,iDAA6B,EAAC,OAAO,CAAC,CAAC;IAChD,CAAC;IAED,8CAA8C;IAC9C,MAAM,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEvE,2EAA2E;IAC3E,MAAM,YAAY,GAAG,eAAe,GAAG,CAAC,CAAC;IAEzC,MAAM,0BAA0B,GAAG,IAAA,oDAAgC,EACjE,OAAO,EACP,eAAe,CAChB,CAAC;IACF,MAAM,uBAAuB,GAAG,IAAA,iDAA6B,EAC3D,OAAO,EACP,YAAY,CACb,CAAC;IAEF,OAAO,CAAC,GAAG,0BAA0B,EAAE,GAAG,uBAAuB,CAAC,CAAC;AACrE,CAAC,CAAC;AAzBW,QAAA,qCAAqC,yCAyBhD"}
1
+ {"version":3,"file":"cleanup.js","sourceRoot":"","sources":["../../../../../../pipeline/src/deploy/cloudRun/cleanup.ts"],"names":[],"mappings":";;;AACA,+CAA2D;AAC3D,2DAAoE;AACpE,2DAAuE;AAEhE,MAAM,qCAAqC,GAAG,CACnD,OAAyB,EACzB,IAA6B,EAC7B,EAAE;IACF,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;QACtB,+FAA+F;QAC/F,OAAO,IAAA,iDAA6B,EAAC,OAAO,CAAC,CAAC;IAChD,CAAC;IAED,8CAA8C;IAC9C,MAAM,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEvE,2EAA2E;IAC3E,MAAM,YAAY,GAAG,eAAe,GAAG,CAAC,CAAC;IAEzC,MAAM,0BAA0B,GAAG,IAAA,oDAAgC,EACjE,OAAO,EACP,eAAe,CAChB,CAAC;IACF,MAAM,uBAAuB,GAAG,IAAA,iDAA6B,EAC3D,OAAO,EACP,YAAY,CACb,CAAC;IAEF,OAAO,IAAA,8BAAqB,EAAC;QAC3B,GAAG,0BAA0B;QAC7B,GAAG,uBAAuB;KAC3B,CAAC,CAAC;AACL,CAAC,CAAC;AA5BW,QAAA,qCAAqC,yCA4BhD"}