Skip to content

Commit f210c6b

Browse files
committed
CH-87 Add tests for wrong generation of "overrides"
1 parent c82cc39 commit f210c6b

19 files changed

Lines changed: 127 additions & 1 deletion

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
**/node_modules
2+
.tox
3+
docs
4+
applications
5+
/infrastructure
6+
/blueprint
7+
test
8+
/tools/deployment-cli-tools
9+
.github
10+
.git
11+
.vscode
12+
/deployment
13+
skaffold.yaml
14+
*.egg-info
15+
__pycache__
16+
.hypothesis
17+
.coverage
18+
.pytest_cache
19+
/application-templates
20+
/deployment-configuration
21+
/cloud-harness
22+
.openapi-generator
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kafka:
2+
resources:
3+
limits:
4+
cpu: overridden-prod
5+
requests:
6+
cpu: 50m
7+
memory: 100Mi
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
kafka:
2+
resources:
3+
limits:
4+
cpu: 600m
5+
memory: overridden
6+
requests:
7+
cpu: 50m
8+
memory: 100Mi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.ignored
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ARG CLOUDHARNESS_FLASK
2+
FROM $CLOUDHARNESS_FLASK

tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/deploy/resources/aresource.txt

Whitespace-only changes.

tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/deploy/templates/mytemplate.yaml

Whitespace-only changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
harness:
2+
name: "I'm useless"
3+
subdomain: mysubdomain
4+
dependencies:
5+
soft:
6+
- legacy
7+
build:
8+
- cloudharness-flask
9+
- my-common
10+
a: b
11+
dev: true
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
a: test
2+
test: true
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
harness:
2+
database:
3+
auto: true
4+
type: mongo

0 commit comments

Comments
 (0)