-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #710 from MetaCell/feature/CH-87
Feature/ch 87
- Loading branch information
Showing
34 changed files
with
256 additions
and
14 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
22 changes: 22 additions & 0 deletions
22
tools/deployment-cli-tools/tests/resources_buggy/.dockerignore
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,22 @@ | ||
**/node_modules | ||
.tox | ||
docs | ||
applications | ||
/infrastructure | ||
/blueprint | ||
test | ||
/tools/deployment-cli-tools | ||
.github | ||
.git | ||
.vscode | ||
/deployment | ||
skaffold.yaml | ||
*.egg-info | ||
__pycache__ | ||
.hypothesis | ||
.coverage | ||
.pytest_cache | ||
/application-templates | ||
/deployment-configuration | ||
/cloud-harness | ||
.openapi-generator |
7 changes: 7 additions & 0 deletions
7
tools/deployment-cli-tools/tests/resources_buggy/applications/events/deploy/values-prod.yaml
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,7 @@ | ||
kafka: | ||
resources: | ||
limits: | ||
cpu: overridden-prod | ||
requests: | ||
cpu: 50m | ||
memory: 100Mi |
8 changes: 8 additions & 0 deletions
8
tools/deployment-cli-tools/tests/resources_buggy/applications/events/deploy/values.yaml
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,8 @@ | ||
kafka: | ||
resources: | ||
limits: | ||
cpu: 600m | ||
memory: overridden | ||
requests: | ||
cpu: 50m | ||
memory: 100Mi |
1 change: 1 addition & 0 deletions
1
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/.dockerignore
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 @@ | ||
*.ignored |
4 changes: 4 additions & 0 deletions
4
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/Dockerfile
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,4 @@ | ||
ARG CLOUDHARNESS_FLASK | ||
FROM $CLOUDHARNESS_FLASK | ||
|
||
RUN pip install gunicorn |
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions
11
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/deploy/values-dev.yaml
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,11 @@ | ||
harness: | ||
name: "I'm useless" | ||
subdomain: mysubdomain | ||
dependencies: | ||
soft: | ||
- legacy | ||
build: | ||
- cloudharness-flask | ||
- my-common | ||
a: b | ||
dev: true |
2 changes: 2 additions & 0 deletions
2
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/deploy/values-test.yaml
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,2 @@ | ||
a: test | ||
test: true |
4 changes: 4 additions & 0 deletions
4
...eployment-cli-tools/tests/resources_buggy/applications/myapp/deploy/values-withmongo.yaml
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,4 @@ | ||
harness: | ||
database: | ||
auto: true | ||
type: mongo |
Empty file.
2 changes: 2 additions & 0 deletions
2
...oyment-cli-tools/tests/resources_buggy/applications/myapp/deploy/values-withpostgres.yaml
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,2 @@ | ||
harness: | ||
database: {auto: true, type: postgres} |
14 changes: 14 additions & 0 deletions
14
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/deploy/values.yaml
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,14 @@ | ||
harness: | ||
name: "I'm useless" | ||
subdomain: mysubdomain | ||
dependencies: | ||
soft: | ||
- legacy | ||
build: | ||
- cloudharness-flask | ||
test: | ||
unit: | ||
commands: | ||
- tox | ||
- echo "hello" | ||
a: b |
9 changes: 9 additions & 0 deletions
9
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp/myapp_code/__main__.py
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,9 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from cloudharness.utils.server import init_flask, main | ||
|
||
|
||
app = init_flask(title="Cloudharness sample application", webapp=True) | ||
|
||
if __name__ == '__main__': | ||
main() |
Empty file.
7 changes: 7 additions & 0 deletions
7
...deployment-cli-tools/tests/resources_buggy/applications/myapp/venv/matplotlib/__main__.py
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,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from something import something_else | ||
|
||
|
||
def fake_content(): | ||
... |
1 change: 1 addition & 0 deletions
1
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/.dockerignore
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 @@ | ||
*.ignored |
4 changes: 4 additions & 0 deletions
4
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/Dockerfile
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,4 @@ | ||
ARG CLOUDHARNESS_FLASK | ||
FROM $CLOUDHARNESS_FLASK | ||
|
||
RUN pip install -r requirements.txt |
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions
11
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/deploy/values-dev.yaml
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,11 @@ | ||
harness: | ||
name: "I'm useless" | ||
subdomain: mysubdomain | ||
dependencies: | ||
soft: | ||
- legacy | ||
build: | ||
- cloudharness-flask | ||
- my-common | ||
a: b | ||
dev: true |
2 changes: 2 additions & 0 deletions
2
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/deploy/values-test.yaml
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,2 @@ | ||
a: test | ||
test: true |
4 changes: 4 additions & 0 deletions
4
...ployment-cli-tools/tests/resources_buggy/applications/myapp2/deploy/values-withmongo.yaml
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,4 @@ | ||
harness: | ||
database: | ||
auto: true | ||
type: mongo |
Empty file.
2 changes: 2 additions & 0 deletions
2
...yment-cli-tools/tests/resources_buggy/applications/myapp2/deploy/values-withpostgres.yaml
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,2 @@ | ||
harness: | ||
database: {auto: true, type: postgres} |
14 changes: 14 additions & 0 deletions
14
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/deploy/values.yaml
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,14 @@ | ||
harness: | ||
name: "I'm useless" | ||
subdomain: mysubdomain | ||
dependencies: | ||
soft: | ||
- legacy | ||
build: | ||
- cloudharness-flask | ||
test: | ||
unit: | ||
commands: | ||
- tox | ||
- echo "hello" | ||
a: b |
9 changes: 9 additions & 0 deletions
9
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/myapp_code/__main__.py
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,9 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from cloudharness.utils.server import init_flask, main | ||
|
||
|
||
app = init_flask(title="Cloudharness sample application", webapp=True) | ||
|
||
if __name__ == '__main__': | ||
main() |
1 change: 1 addition & 0 deletions
1
tools/deployment-cli-tools/tests/resources_buggy/applications/myapp2/requirements.txt
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 @@ | ||
gunicorn |
Empty file.
7 changes: 7 additions & 0 deletions
7
...eployment-cli-tools/tests/resources_buggy/applications/myapp2/venv/matplotlib/__main__.py
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,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from something import something_else | ||
|
||
|
||
def fake_content(): | ||
... |
Empty file.
Empty file.
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