2020-01-10 00:23:22 +03:00
|
|
|
environment:
|
|
|
|
host:
|
|
|
|
os: 'linux'
|
|
|
|
runtime:
|
|
|
|
provider: 'appcontainer'
|
2020-01-11 00:30:00 +03:00
|
|
|
image: 'cdpxlinux.azurecr.io/legacy/global/ubuntu-1604-all:1.0'
|
2020-01-10 00:23:22 +03:00
|
|
|
source_mode: 'link'
|
|
|
|
|
|
|
|
version:
|
|
|
|
name: 'AKSCodelessAttach'
|
|
|
|
major: 0
|
|
|
|
minor: 9
|
|
|
|
tag: 'beta'
|
2020-01-11 00:01:09 +03:00
|
|
|
system: 'custom'
|
|
|
|
exclude_commit: true
|
|
|
|
|
2020-01-10 00:23:22 +03:00
|
|
|
restore:
|
|
|
|
commands:
|
|
|
|
- !!defaultcommand
|
|
|
|
name: 'Restore NPM packages for hook'
|
|
|
|
command: './.build/src/restore.sh'
|
2020-01-11 00:01:09 +03:00
|
|
|
|
2020-01-10 00:23:22 +03:00
|
|
|
build:
|
|
|
|
commands:
|
2020-01-10 04:22:34 +03:00
|
|
|
- !!defaultcommand
|
2020-01-10 00:23:22 +03:00
|
|
|
name: 'build hook source'
|
2020-01-10 04:09:22 +03:00
|
|
|
command: './.build/src/build.sh'
|
2020-01-10 23:50:58 +03:00
|
|
|
- !!defaultcommand
|
2020-01-10 23:54:49 +03:00
|
|
|
name: 'build helm package'
|
2020-01-10 23:50:58 +03:00
|
|
|
command: './.build/helm/build.sh'
|
|
|
|
|
|
|
|
package:
|
2020-01-11 00:03:46 +03:00
|
|
|
commands:
|
2020-01-10 23:29:43 +03:00
|
|
|
- !!dockerbuildcommand
|
|
|
|
name: 'build hook docker image'
|
|
|
|
context_folder: 'src'
|
2020-01-10 23:50:58 +03:00
|
|
|
repository_name: 'codeless-attach/mutating-webhook'
|
|
|
|
publish_unique_tag: true
|
|
|
|
- !!dockerbuildcommand
|
|
|
|
name: 'build localforwarder docker image'
|
|
|
|
context_folder: 'localforwarder'
|
|
|
|
repository_name: 'codeless-attach/local-forwarder'
|
|
|
|
publish_unique_tag: true
|
|
|
|
- !!dockerbuildcommand
|
2020-01-11 00:14:37 +03:00
|
|
|
name: 'build agents docker image'
|
2020-01-10 23:50:58 +03:00
|
|
|
context_folder: 'agents'
|
|
|
|
repository_name: 'codeless-attach/mutating-webhook-agents'
|
2020-01-10 23:29:43 +03:00
|
|
|
publish_unique_tag: true
|
2020-01-14 00:05:28 +03:00
|
|
|
|
|
|
|
static_analysis_options:
|
|
|
|
fxcop_options:
|
|
|
|
disable_tool_scan: false
|
|
|
|
fail_on_error: true
|
|
|
|
moderncop_options:
|
|
|
|
disable_tool_scan: false
|
|
|
|
fail_on_error: true
|
|
|
|
policheck_options:
|
|
|
|
disable_tool_scan: false
|
|
|
|
fail_on_error: true
|
|
|
|
binskim_options:
|
|
|
|
disable_tool_scan: false
|
|
|
|
fail_on_error: true
|
2020-01-18 00:41:24 +03:00
|
|
|
elfskim_options:
|
|
|
|
disable_tool_scan: false
|
|
|
|
fail_on_error: true
|
|
|
|
files_to_scan:
|
|
|
|
- from: 'localforwarder'
|
2020-01-18 00:59:14 +03:00
|
|
|
exclude:
|
|
|
|
- '**/*.*'
|
2020-01-18 00:41:24 +03:00
|
|
|
|
2020-01-14 00:17:14 +03:00
|
|
|
|