-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Introducing phase name check for disallowed chars and removing check from runner * Moving unique container name check to schema checker * Duplicate phase check refactored; Added tests * Refactored tests * Schema Checker now also tests for empty values * Fixed tests for macOS different tmp
- Loading branch information
Showing
10 changed files
with
312 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Container name invalid test | ||
author: Arne Tarara | ||
description: Container name invalid test | ||
|
||
services: | ||
highload-api-cont: | ||
image: alpine | ||
container_name: number-1 | ||
|
||
|
||
flow: | ||
- name: This phase is ok | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress | ||
- name: This phase is also ok | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress | ||
- name: This phase is ok | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress |
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,18 @@ | ||
--- | ||
name: Container name invalid test | ||
author: Arne Tarara | ||
description: Container name invalid test | ||
|
||
services: | ||
highload-api-:cont: | ||
image: alpine | ||
container_name: | ||
|
||
flow: | ||
- name: Small-Stress | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress |
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,24 @@ | ||
--- | ||
name: Container name invalid test | ||
author: Arne Tarara | ||
description: Container name invalid test | ||
|
||
services: | ||
highload-api-cont: | ||
image: alpine | ||
container_name: number-1 | ||
|
||
|
||
flow: | ||
- name: This phase is ok | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress | ||
- name: "" | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" |
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,26 @@ | ||
--- | ||
name: Container name invalid test | ||
author: Arne Tarara | ||
description: Container name invalid test | ||
|
||
services: | ||
highload-api-cont: | ||
image: alpine | ||
container_name: number-1 | ||
|
||
|
||
flow: | ||
- name: This phase is ok | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress | ||
- name: This phase is / not ok! | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress |
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,26 @@ | ||
--- | ||
name: Container name invalid test | ||
author: Arne Tarara | ||
description: Container name invalid test | ||
|
||
services: | ||
highload-api-cont: | ||
image: alpine | ||
container_name: number-1 | ||
|
||
|
||
flow: | ||
- name: This phase is ok | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress | ||
- name: "[RUNTIME]" | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress |
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,18 @@ | ||
--- | ||
name: Container name invalid test | ||
author: Arne Tarara | ||
description: Container name invalid test | ||
|
||
services: | ||
highload-api-:cont: | ||
image: alpine | ||
container_name: | ||
|
||
flow: | ||
- name: Small-Stress | ||
container: highload-api-cont | ||
commands: | ||
- type: console | ||
command: echo "asd" | ||
shell: bash | ||
note: Starting a little stress |
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.