@spinnaker/core 0.24.1 → 0.26.0

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/application/config/defaultTagFilter/DefaultTagFilterConfig.d.ts +27 -0
  3. package/dist/application/config/defaultTagFilter/defaultTagFilterConfig.component.d.ts +1 -0
  4. package/dist/config/settings.d.ts +1 -0
  5. package/dist/domain/IArtifact.d.ts +2 -0
  6. package/dist/domain/ITrigger.d.ts +5 -0
  7. package/dist/index.js +36 -36
  8. package/dist/index.js.map +1 -1
  9. package/dist/manifest/ManifestYaml.d.ts +10 -4
  10. package/dist/pipeline/config/stages/bakeManifest/ManifestRenderers.d.ts +2 -0
  11. package/dist/pipeline/config/stages/bakeManifest/helmfile/BakeHelmfileConfigForm.d.ts +18 -0
  12. package/dist/pipeline/config/stages/bakeManifest/utils/getBakedArtifacts.d.ts +4 -0
  13. package/dist/pipeline/config/stages/bakeManifest/utils/getContentReference.d.ts +1 -0
  14. package/dist/pipeline/config/triggers/artifacts/ArtifactService.d.ts +3 -0
  15. package/dist/pipeline/config/triggers/cdevents/CDEventsTrigger.d.ts +7 -0
  16. package/dist/pipeline/config/triggers/cdevents/cdevents.trigger.d.ts +1 -0
  17. package/dist/pipeline/config/triggers/index.d.ts +1 -0
  18. package/dist/pipeline/executions/Executions.d.ts +1 -0
  19. package/dist/pipeline/index.d.ts +2 -0
  20. package/dist/presentation/forms/inputs/NumberConcurrencyInput.d.ts +7 -0
  21. package/package.json +2 -2
  22. package/src/application/config/applicationConfig.controller.js +26 -0
  23. package/src/application/config/applicationConfig.view.html +9 -0
  24. package/src/application/config/defaultTagFilter/DefaultTagFilterConfig.spec.tsx +75 -0
  25. package/src/application/config/defaultTagFilter/DefaultTagFilterConfig.tsx +161 -0
  26. package/src/application/config/defaultTagFilter/defaultTagFilterConfig.component.ts +15 -0
  27. package/src/application/config/defaultTagFilter/defaultTagFilterConfig.less +8 -0
  28. package/src/artifact/ArtifactIconService.ts +1 -0
  29. package/src/artifact/ArtifactTypes.ts +1 -0
  30. package/src/config/settings.ts +1 -0
  31. package/src/domain/IArtifact.ts +3 -0
  32. package/src/domain/ITrigger.ts +4 -0
  33. package/src/help/help.contents.ts +10 -0
  34. package/src/manifest/ManifestYaml.tsx +29 -7
  35. package/src/pipeline/config/stages/bakeManifest/BakeManifestConfig.tsx +4 -1
  36. package/src/pipeline/config/stages/bakeManifest/BakeManifestDetailsTab.tsx +24 -12
  37. package/src/pipeline/config/stages/bakeManifest/BakeManifestStageForm.tsx +9 -2
  38. package/src/pipeline/config/stages/bakeManifest/ManifestRenderers.ts +2 -0
  39. package/src/pipeline/config/stages/bakeManifest/helmfile/BakeHelmfileConfigForm.spec.tsx +132 -0
  40. package/src/pipeline/config/stages/bakeManifest/helmfile/BakeHelmfileConfigForm.tsx +271 -0
  41. package/src/pipeline/config/stages/bakeManifest/utils/getBakedArtifacts.ts +13 -0
  42. package/src/pipeline/config/stages/bakeManifest/utils/getContentReference.ts +3 -0
  43. package/src/pipeline/config/triggers/artifacts/ArtifactService.ts +4 -0
  44. package/src/pipeline/config/triggers/cdevents/CDEventsTrigger.tsx +48 -0
  45. package/src/pipeline/config/triggers/cdevents/cdevents.trigger.ts +19 -0
  46. package/src/pipeline/config/triggers/index.ts +1 -0
  47. package/src/pipeline/create/CreatePipelineModal.tsx +1 -1
  48. package/src/pipeline/details/StageFailureMessage.tsx +10 -24
  49. package/src/pipeline/executions/Executions.tsx +13 -0
  50. package/src/pipeline/index.ts +2 -0
  51. package/src/pipeline/status/ExecutionCancellationReason.tsx +1 -1
  52. package/src/presentation/forms/inputs/NumberConcurrencyInput.tsx +29 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,49 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.26.0](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.25.0...@spinnaker/core@0.26.0) (2023-09-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **core:** Add ability to set Default Tag filters for an application in application config ([#10020](https://github.com/spinnaker/deck/issues/10020)) ([c768e88](https://github.com/spinnaker/deck/commit/c768e88fbc893d0bd5dc86959320a7b7d67443e5))
12
+
13
+
14
+ ### Reverts
15
+
16
+ * Revert "fix(core): conditionally hide expression evaluation warning messages (#9771)" (#10021) ([62033d0](https://github.com/spinnaker/deck/commit/62033d0fc6f0a953bd3f01e4452664b92fd02dfb)), closes [#9771](https://github.com/spinnaker/deck/issues/9771) [#10021](https://github.com/spinnaker/deck/issues/10021)
17
+
18
+
19
+
20
+ # 3.15.0 (2023-07-27)
21
+
22
+
23
+ ### Features
24
+
25
+ * **core:** set Cancellation Reason to be expanded by default ([#10018](https://github.com/spinnaker/deck/issues/10018)) ([db06e88](https://github.com/spinnaker/deck/commit/db06e88bada70fa4065f56fc33af7207943415c5))
26
+
27
+
28
+
29
+
30
+
31
+ # [0.25.0](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.24.1...@spinnaker/core@0.25.0) (2023-07-20)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * **core/pipeline:** Resolved issue getting during pipeline save with spaces in pipeline name. ([#10009](https://github.com/spinnaker/deck/issues/10009)) ([ec8d2bb](https://github.com/spinnaker/deck/commit/ec8d2bbada0192673cfede4401e5c18d884dec59))
37
+
38
+
39
+ ### Features
40
+
41
+ * **artifacts:** Add support for artifact store views and calls ([#10011](https://github.com/spinnaker/deck/issues/10011)) ([b520bae](https://github.com/spinnaker/deck/commit/b520bae8296c85ed096ea6aaee022e114bb6a52f))
42
+ * **lambda:** Migrate Lambda plugin to OSS ([#9988](https://github.com/spinnaker/deck/issues/9988)) ([11f1cab](https://github.com/spinnaker/deck/commit/11f1cabb8efe8d7e034faf06ae3cb455eef6369a)), closes [#9984](https://github.com/spinnaker/deck/issues/9984)
43
+ * **stages/bakeManifests:** add helmfile support ([#9998](https://github.com/spinnaker/deck/issues/9998)) ([a4a0f33](https://github.com/spinnaker/deck/commit/a4a0f331d181b74d7c3a8c1b46724757be17a9f0))
44
+
45
+
46
+
47
+
48
+
6
49
  ## [0.24.1](https://github.com/spinnaker/deck/compare/@spinnaker/core@0.24.0...@spinnaker/core@0.24.1) (2023-06-02)
7
50
 
8
51
 
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import './defaultTagFilterConfig.less';
3
+ export interface IDefaultTagFilterConfig {
4
+ tagName: string;
5
+ tagValue: string;
6
+ }
7
+ export interface IDefaultTagFilterProps {
8
+ defaultTagFilterConfigs: IDefaultTagFilterConfig[];
9
+ isSaving: boolean;
10
+ saveError: boolean;
11
+ updateDefaultTagFilterConfigs: (defaultTagFilterConfigs: IDefaultTagFilterConfig[]) => void;
12
+ }
13
+ export interface IDefaultTagFilterState {
14
+ defaultTagFilterConfigsEditing: IDefaultTagFilterConfig[];
15
+ }
16
+ export declare class DefaultTagFilterConfig extends React.Component<IDefaultTagFilterProps, IDefaultTagFilterState> {
17
+ static defaultProps: Partial<IDefaultTagFilterProps>;
18
+ constructor(props: IDefaultTagFilterProps);
19
+ private onTagNameChange;
20
+ private onTagValueChange;
21
+ private addFilterTag;
22
+ private removeFilterTag;
23
+ private isDirty;
24
+ private onRevertClicked;
25
+ private onSaveClicked;
26
+ render(): JSX.Element;
27
+ }
@@ -0,0 +1 @@
1
+ export declare const DEFAULT_TAG_FILTER_CONFIG = "spinnaker.micros.application.defaultTagFilterConfig.component";
@@ -46,6 +46,7 @@ export interface IFeatures {
46
46
  executionMarkerInformationModal?: boolean;
47
47
  fiatEnabled?: boolean;
48
48
  iapRefresherEnabled?: boolean;
49
+ lambdaAdditionalStages?: boolean;
49
50
  managedDelivery?: boolean;
50
51
  mdGitIntegration?: boolean;
51
52
  managedServiceAccounts?: boolean;
@@ -11,3 +11,5 @@ export interface IArtifact {
11
11
  kind?: string;
12
12
  customKind?: boolean;
13
13
  }
14
+ export declare const ARTIFACT_TYPE_EMBEDDED = "embedded/base64";
15
+ export declare const ARTIFACT_TYPE_REMOTE = "remote/base64";
@@ -83,6 +83,11 @@ export interface IWebhookTrigger extends ITrigger {
83
83
  [key: string]: string;
84
84
  };
85
85
  }
86
+ export interface ICDEventsTrigger extends IWebhookTrigger {
87
+ attributeConstraints: {
88
+ [key: string]: string;
89
+ };
90
+ }
86
91
  export interface IWerckerTrigger extends IBuildTrigger {
87
92
  app: string;
88
93
  pipeline: string;