|
sealId: 123456 |
|
node: python-3.10 |
|
baseVersion: 1.0.0 |
|
aim: |
|
entitleAdmin: 'REPLACE_WITH_AIM_ENTITLEMENT' |
|
collection: 'REPLACE_WITH_AIM_COLLECTION' |
|
ru: python-raven-vulnerability |
|
artifact: python-raven-vulnerability |
|
script: cp dist/*.zip fileupload/ |
|
buildConfig: |
|
buildType: python |
|
env: |
|
variables: |
|
- IDENTITY_SOURCE_LAMBDA: JET |
|
- IDENTITY_SOURCE_AIM: JET |
|
sonarDetails: |
|
additionalProperties: >- |
|
-Dsonar.language=py |
|
-Dsonar.python.coverage.reportPaths=reports/**/coverage.xml |
|
-Dsonar.sources=lambdas/ |
|
-Dsonar.inclusions=lambdas/**/src/**/* |
|
-Dsonar.python.xunit.reportPath=reports/**/xunit.xml |
|
-Dsonar.verbose=true |
|
testsight: |
|
enabled: true |
|
testReportDir: 'reports' |
|
aws: |
|
endpointType: lambda |
|
mapping: |
|
- name: default |
|
build: --version |
|
tasks: |
|
preBuild: |
|
- script: make ci-prebuild |
|
- script: make ci |
|
postBuild: |
|
- script: make cover |
|
postTest: |
|
- script: make ssap |
|
- name: develop |
|
build: --version |
|
tasks: |
|
preBuild: |
|
- script: make ci-prebuild |
|
- script: make ci |
|
postBuild: |
|
- script: make cover |
|
postTest: |
|
- script: make ssap |
|
awsDeployment: |
|
- env: dev |
|
accountId: 'REPLACE_WITH_AWS_DEV_ACCOUNT' |
|
role: 123456-application-engineer |
|
regions: |
|
- region: us-east-1 |
|
functions: |
|
- function: app-do-nothing-lambda |
|
packageName: do-nothing-lambda.zip |
|
publish: true |
|
updateAliases: |
|
- name: live |
|
- name: master |
|
build: --version |
|
preReleaseScans: true |
|
tasks: |
|
preBuild: |
|
- script: make ci-prebuild |
|
- script: make ci |
|
postBuild: |
|
- script: make cover |
|
postTest: |
|
- script: make ssap |
|
awsDeployment: |
|
- env: test |
|
accountId: 'REPLACE_WITH_AWS_TEST_ACCOUNT' |
|
role: 123456-application-operator |
|
regions: |
|
- region: us-east-1 |
|
functions: |
|
- function: app-do-nothing-lambda |
|
packageName: do-nothing-lambda.zip |
|
publish: true |
|
updateAliases: |
|
- name: live |
|
- env: prod |
|
accountId: 'REPLACE_WITH_AWS_PROD_ACCOUNT' |
|
role: 123456-application-operator |
|
regions: |
|
- region: us-east-1 |
|
functions: |
|
- function: app-do-nothing-lambda |
|
packageName: do-nothing-lambda.zip |
|
publish: true |
|
updateAliases: |
|
- name: live |
|
|