Skip to content

Commit

Permalink
ref(15): Start testing wild integration with Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Aug 20, 2023
1 parent f2cd996 commit 6cfc7dc
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 31 deletions.
10 changes: 5 additions & 5 deletions config/json-schema/workflow-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"description": "Version of the workflow, following the SemVer format",
"type": "string"
},
"workflow": {
"actions": {
"description": "The sequence of consecutive actions",
"type": "array",
"items": {
"actions": {
"type": "object",
"properties": {
"action": {
Expand All @@ -32,7 +32,7 @@
}
}
},
"required": ["id", "name", "workflow"],
"required": ["id", "name", "version", "actions"],
"definitions": {
"action": {
"type": "object",
Expand All @@ -49,12 +49,12 @@
"description": "Container where to execute the action",
"type": "string"
},
"action": {
"script": {
"description": "The Bash script filename defining the action",
"type": "string"
}
},
"required": ["id", "name", "container", "action"]
"required": ["id", "name", "container", "script"]
}
}
}
12 changes: 5 additions & 7 deletions config/workflow-action.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
"id": "wild-test-001",
"name": "Sample Workflow for Testing",
"version": "1.0.0",
"workflow": [
"actions": [
{
"action": {
"id": "action1",
"name": "Action 1",
"container": "bash:5.2",
"action": "test/action/test.sh"
}
"id": "action1",
"name": "Action 1",
"container": "bash",
"script": "test/action/bash-version.sh"
}
]
}
8 changes: 4 additions & 4 deletions resources/config/banner/wild.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
___ _____
/__/\ ___ / /::\
_\_ \:\ / /\ / /:/\:\
/__/\ \:\ / /:/ ___ ___ / /:/ \:\
_\_ \:\ \:\ /__/::\ /__/\ / /\ /__/:/ \__\:|
_\_ \:\ / /\ ___ / /:/\:\
/__/\ \:\ / /:/ /__/\ ___ / /:/ \:\
_\_ \:\ \:\ /__/::\ \ \:\ / /\ /__/:/ \__\:|
/__/\ \:\ \:\ \__\/\:\__ \ \:\ / /:/ \ \:\ / /:/
\ \:\ \:\/:/ \ \:\/\ \ \:\ /:/ \ \:\ /:/
\ \:\ \::/ \__\::/ \ \:\/:/ \ \:\/:/
\ \:\/:/ /__/:/ \ \::/ \ \::/
\ \::/ \__\/ \__\/ \__\/
\__\/
WILD by Scalastic 🤙
WILD by Scalastic 🦁
3 changes: 1 addition & 2 deletions spec/banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
/ _ \/ _ | | /| / / _ \/ / /
/ , _/ __ | |/ |/ / , _/_/_/
/_/|_/_/ |_|__/|__/_/|_(_|_)

WILD the shift-left Framework by :Scalastic

WILD development by Scalastic 🤙
6 changes: 0 additions & 6 deletions test/action/test.sh

This file was deleted.

12 changes: 5 additions & 7 deletions test/config/workflow-action.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
"id": "wild-test-001",
"name": "Sample Workflow for Testing",
"version": "1.0.0",
"workflow": [
"actions": [
{
"action": {
"id": "action1",
"name": "Action 1",
"container": "bash:5.2",
"action": "test/action/test.sh"
}
"id": "action1",
"name": "Action 1",
"container": "bash",
"script": "test/action/bash-version.sh"
}
]
}
19 changes: 19 additions & 0 deletions test/config/workflow-default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "wild-test-001",
"name": "Sample Workflow for Testing",
"version": "1.0.0",
"actions": [
{
"id": "action1",
"name": "Action 1",
"container": "bash",
"script": "test/action/bash-version.sh"
},
{
"id": "action2",
"name": "Action 2",
"container": "maven",
"script": "test/action/maven-version.sh"
}
]
}

0 comments on commit 6cfc7dc

Please sign in to comment.