Context cheat sheet
The context will always have some values available throughout the life of the moulinette as well as specific values during each phase (see the quixote.get_context()
to access the context).
Common values
Values |
Availability |
|||||
---|---|---|---|---|---|---|
Key |
Value description |
Type |
Build |
Fetch |
Inspection |
|
|
Login to access ETNA services |
|
Yes |
Yes |
No |
|
|
Password to access ETNA services |
|
Yes |
Yes |
No |
|
|
Token to access GitLab |
|
Yes |
Yes |
No |
|
|
Path to the student delivery |
|
No |
Yes |
Yes |
|
|
Path to the moulinette’s resources |
|
Yes |
Yes |
Yes |
|
|
Path to the public resources (not implemented) |
|
Yes |
Yes |
Yes |
|
|
ID of the current module |
|
Yes |
Yes |
Yes |
|
|
ID of the current activity |
|
Yes |
Yes |
Yes |
|
|
ID of the current group |
|
No |
Yes |
Yes |
|
|
Login of the leader of the current group |
|
No |
Yes |
Yes |
|
|
The name of the stage (in the case of a quest) |
|
Yes |
Yes |
Yes |