-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lambdaStages): Exporting Lambda stages based on the feature flag …
…settings (#10085) (#10092) Co-authored-by: Jason <[email protected]> Co-authored-by: ovidiupopa07 <[email protected]> (cherry picked from commit 93bab65) Co-authored-by: Christos Arvanitis <[email protected]>
- Loading branch information
1 parent
706d7ec
commit abd95bd
Showing
10 changed files
with
65 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { module } from 'angular'; | ||
|
||
import { Registry, SETTINGS } from '@spinnaker/core'; | ||
import { lambdaDeleteStage } from './LambdaDeleteStage'; | ||
|
||
import { lambdaDeleteStage } from './LambdaDeleteStage'; | ||
export * from './LambdaDeleteStage'; | ||
|
||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaDeleteStage); | ||
} | ||
export const AMAZON_PIPELINE_STAGES_LAMBDA_DELETE = 'spinnaker.amazon.pipeline.stage.Aws.LambdaDeleteStage'; | ||
|
||
module(AMAZON_PIPELINE_STAGES_LAMBDA_DELETE, []).config(function () { | ||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaDeleteStage); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { module } from 'angular'; | ||
|
||
import { Registry, SETTINGS } from '@spinnaker/core'; | ||
|
||
import { lambdaDeploymentStage } from './config/LambdaDeploymentStage'; | ||
|
||
export * from './config/LambdaDeploymentStage'; | ||
|
||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaDeploymentStage); | ||
} | ||
export const AMAZON_PIPELINE_STAGES_LAMBDA_DEPLOY = 'spinnaker.amazon.pipeline.stage.Aws.LambdaDeploymentStage'; | ||
|
||
module(AMAZON_PIPELINE_STAGES_LAMBDA_DEPLOY, []).config(function () { | ||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaDeploymentStage); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { module } from 'angular'; | ||
|
||
import { Registry, SETTINGS } from '@spinnaker/core'; | ||
|
||
import { lambdaInvokeStage } from './LambdaInvokeStage'; | ||
|
||
export * from './LambdaInvokeStage'; | ||
|
||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaInvokeStage); | ||
} | ||
export const AMAZON_PIPELINE_STAGES_LAMBDA_INVOKE = 'spinnaker.amazon.pipeline.stage.Aws.LambdaInvokeStage'; | ||
|
||
module(AMAZON_PIPELINE_STAGES_LAMBDA_INVOKE, []).config(function () { | ||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaInvokeStage); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { module } from 'angular'; | ||
|
||
import { Registry, SETTINGS } from '@spinnaker/core'; | ||
|
||
import { lambdaRouteStage } from './LambdaRouteStage'; | ||
|
||
export * from './LambdaRouteStage'; | ||
|
||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaRouteStage); | ||
} | ||
export const AMAZON_PIPELINE_STAGES_LAMBDA_ROUTE = 'spinnaker.amazon.pipeline.stage.Aws.LambdaTrafficRoutingStage'; | ||
|
||
module(AMAZON_PIPELINE_STAGES_LAMBDA_ROUTE, []).config(function () { | ||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaRouteStage); | ||
} | ||
}); |
5 changes: 5 additions & 0 deletions
5
packages/amazon/src/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStage.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
.LambdaCodeUpdateStageConfig { | ||
} |
13 changes: 10 additions & 3 deletions
13
packages/amazon/src/pipeline/stages/updateCodeLambda/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import { module } from 'angular'; | ||
|
||
import { Registry, SETTINGS } from '@spinnaker/core'; | ||
|
||
import { lambdaUpdateCodeStage } from './LambdaUpdateCodeStage'; | ||
|
||
export * from './LambdaUpdateCodeStage'; | ||
|
||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaUpdateCodeStage); | ||
} | ||
export const AMAZON_PIPELINE_STAGES_LAMBDA_UPDATE = 'spinnaker.amazon.pipeline.stage.Aws.LambdaUpdateCodeStage'; | ||
|
||
module(AMAZON_PIPELINE_STAGES_LAMBDA_UPDATE, []).config(function () { | ||
if (SETTINGS.feature.lambdaAdditionalStages) { | ||
Registry.pipeline.registerStage(lambdaUpdateCodeStage); | ||
} | ||
}); |
29 changes: 0 additions & 29 deletions
29
packages/core/src/presentation/forms/inputs/NumberConcurrencyInput.tsx
This file was deleted.
Oops, something went wrong.