Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
feudalScripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
feudal
feudalScripts
Commits
c5a7fd46
Commit
c5a7fd46
authored
Aug 20, 2018
by
ubedv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add README.md
parent
fa2c7e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
0 deletions
+61
-0
README.md
README.md
+61
-0
No files found.
README.md
0 → 100644
View file @
c5a7fd46
FEUDAL Scripts
=
FEUDAL scripts are executed by a FEUDAL client to facilitate the customized deployment process
of an arbitrary service.
They use the JSON encoding for input and output. The specific formats are outlined below.
Input format
-
{
"state_target": "deployed" or "not_deployed",
"user": {
"userinfo":
<OpenID
Connect
userinfo
as
json
dict
>
},
// The credentials from the user, which need to be deployed
// The dict maps a credential type to a list of credentials of this type.
"credentials": {
"ssh_key": [
{
"name": "unity_key",
"value": "ssh-... ..."
}
]
},
// Answers to a previously requested questionnaire
"questionnaire": {
"question_name": "user answer to this question"
}
}
Output format
-
{
"state": "deployed" or "not_deployed" or "failed" or "rejected" or "questionnaire",
"message": "
<message
for
the
user
,
in
case
state
is
'
failed
'
or
'
rejected
'
>
",
// In case we need more info from the user: set state to "questionnaire" and put
// questions in this dictionary.
// The user can answer these questions (and we will receive the answers some input in the future)
"questionnaire": {
"question_name": "question"
},
// additional credentials and instructions, the user needs to access the service
// an example would be the user name of the provisioned user.
"credentials": {
"key": "value"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment