forked from kyma-project/kyma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate out whitesource and create more scans (kyma-project#1849)
* add more whitesource scans, create a separate file for whitesource periodics, whitesource runner is more generic
- Loading branch information
Daniel Roth
authored
Jan 2, 2020
1 parent
752fb2d
commit a92b1b9
Showing
9 changed files
with
387 additions
and
87 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
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 |
---|---|---|
@@ -0,0 +1,225 @@ | ||
# Code generated by rendertemplates. DO NOT EDIT. | ||
|
||
test_infra_ref: &test_infra_ref | ||
org: kyma-project | ||
repo: test-infra | ||
path_alias: github.com/kyma-project/test-infra | ||
base_ref: master | ||
|
||
periodics: | ||
|
||
- name: kyma-whitesource-scan | ||
decorate: true | ||
cron: "0 4 * * *" # At 04:00 am every day | ||
labels: | ||
preset-kyma-wssagent-config: "true" | ||
preset-kyma-keyring: "true" | ||
preset-kyma-encryption-key: "true" | ||
preset-kms-gc-project-env: "true" | ||
preset-gc-project-env: "true" | ||
preset-sa-gke-kyma-integration-kyma-project-whitesource: "true" | ||
extra_refs: | ||
- <<: *test_infra_ref | ||
- org: kyma-project | ||
repo: kyma | ||
path_alias: github.com/kyma-project/kyma | ||
base_ref: master | ||
spec: | ||
containers: | ||
- image: eu.gcr.io/kyma-project/test-infra/wssagent:v20190909-3282dd6 | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "${KYMA_PROJECT_DIR}/test-infra/prow/scripts/cluster-integration/helpers/start-wssagent.sh" | ||
env: | ||
- name : PROJECTNAME | ||
value: kyma | ||
- name: DRYRUN | ||
value: "false" | ||
- name: SCAN_LANGUAGE | ||
value: golang | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
cpu: 400m | ||
|
||
- name: console-whitesource-scan | ||
decorate: true | ||
cron: "0 4 * * *" # At 04:00 am every day | ||
labels: | ||
preset-kyma-wssagent-config: "true" | ||
preset-kyma-keyring: "true" | ||
preset-kyma-encryption-key: "true" | ||
preset-kms-gc-project-env: "true" | ||
preset-gc-project-env: "true" | ||
preset-sa-gke-kyma-integration-kyma-project-whitesource: "true" | ||
extra_refs: | ||
- <<: *test_infra_ref | ||
- org: kyma-project | ||
repo: console | ||
path_alias: github.com/kyma-project/console | ||
base_ref: master | ||
spec: | ||
containers: | ||
- image: eu.gcr.io/kyma-project/test-infra/wssagent:v20190909-3282dd6 | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "${KYMA_PROJECT_DIR}/test-infra/prow/scripts/cluster-integration/helpers/start-wssagent.sh" | ||
env: | ||
- name : PROJECTNAME | ||
value: console | ||
- name: DRYRUN | ||
value: "false" | ||
- name: SCAN_LANGUAGE | ||
value: javascript | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
cpu: 400m | ||
|
||
- name: cli-whitesource-scan | ||
decorate: true | ||
cron: "0 4 * * *" # At 04:00 am every day | ||
labels: | ||
preset-kyma-wssagent-config: "true" | ||
preset-kyma-keyring: "true" | ||
preset-kyma-encryption-key: "true" | ||
preset-kms-gc-project-env: "true" | ||
preset-gc-project-env: "true" | ||
preset-sa-gke-kyma-integration-kyma-project-whitesource: "true" | ||
extra_refs: | ||
- <<: *test_infra_ref | ||
- org: kyma-project | ||
repo: cli | ||
path_alias: github.com/kyma-project/cli | ||
base_ref: master | ||
spec: | ||
containers: | ||
- image: eu.gcr.io/kyma-project/test-infra/wssagent:v20190909-3282dd6 | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "${KYMA_PROJECT_DIR}/test-infra/prow/scripts/cluster-integration/helpers/start-wssagent.sh" | ||
env: | ||
- name : PROJECTNAME | ||
value: cli | ||
- name: DRYRUN | ||
value: "false" | ||
- name: SCAN_LANGUAGE | ||
value: golang | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
cpu: 400m | ||
|
||
- name: helm-broker-whitesource-scan | ||
decorate: true | ||
cron: "0 4 * * *" # At 04:00 am every day | ||
labels: | ||
preset-kyma-wssagent-config: "true" | ||
preset-kyma-keyring: "true" | ||
preset-kyma-encryption-key: "true" | ||
preset-kms-gc-project-env: "true" | ||
preset-gc-project-env: "true" | ||
preset-sa-gke-kyma-integration-kyma-project-whitesource: "true" | ||
extra_refs: | ||
- <<: *test_infra_ref | ||
- org: kyma-project | ||
repo: helm-broker | ||
path_alias: github.com/kyma-project/helm-broker | ||
base_ref: master | ||
spec: | ||
containers: | ||
- image: eu.gcr.io/kyma-project/test-infra/wssagent:v20190909-3282dd6 | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "${KYMA_PROJECT_DIR}/test-infra/prow/scripts/cluster-integration/helpers/start-wssagent.sh" | ||
env: | ||
- name : PROJECTNAME | ||
value: helm-broker | ||
- name: DRYRUN | ||
value: "false" | ||
- name: SCAN_LANGUAGE | ||
value: golang | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
cpu: 400m | ||
|
||
- name: rafter-whitesource-scan | ||
decorate: true | ||
cron: "0 4 * * *" # At 04:00 am every day | ||
labels: | ||
preset-kyma-wssagent-config: "true" | ||
preset-kyma-keyring: "true" | ||
preset-kyma-encryption-key: "true" | ||
preset-kms-gc-project-env: "true" | ||
preset-gc-project-env: "true" | ||
preset-sa-gke-kyma-integration-kyma-project-whitesource: "true" | ||
extra_refs: | ||
- <<: *test_infra_ref | ||
- org: kyma-project | ||
repo: rafter | ||
path_alias: github.com/kyma-project/rafter | ||
base_ref: master | ||
spec: | ||
containers: | ||
- image: eu.gcr.io/kyma-project/test-infra/wssagent:v20190909-3282dd6 | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "${KYMA_PROJECT_DIR}/test-infra/prow/scripts/cluster-integration/helpers/start-wssagent.sh" | ||
env: | ||
- name : PROJECTNAME | ||
value: rafter | ||
- name: DRYRUN | ||
value: "false" | ||
- name: SCAN_LANGUAGE | ||
value: golang | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
cpu: 400m | ||
|
||
- name: compass-whitesource-scan | ||
decorate: true | ||
cron: "0 4 * * *" # At 04:00 am every day | ||
labels: | ||
preset-kyma-wssagent-config: "true" | ||
preset-kyma-keyring: "true" | ||
preset-kyma-encryption-key: "true" | ||
preset-kms-gc-project-env: "true" | ||
preset-gc-project-env: "true" | ||
preset-sa-gke-kyma-integration-kyma-incubator-whitesource: "true" | ||
extra_refs: | ||
- <<: *test_infra_ref | ||
- org: kyma-incubator | ||
repo: compass | ||
path_alias: github.com/kyma-incubator/compass | ||
base_ref: master | ||
spec: | ||
containers: | ||
- image: eu.gcr.io/kyma-project/test-infra/wssagent:v20190909-3282dd6 | ||
command: | ||
- "bash" | ||
args: | ||
- "-c" | ||
- "${KYMA_PROJECT_DIR}/test-infra/prow/scripts/cluster-integration/helpers/start-wssagent.sh" | ||
env: | ||
- name : PROJECTNAME | ||
value: compass | ||
- name: DRYRUN | ||
value: "false" | ||
- name: SCAN_LANGUAGE | ||
value: golang | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
cpu: 400m |
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
Oops, something went wrong.