aboutsummaryrefslogtreecommitdiffstats
path: root/laas/actions/workflows/fog_imageWorkflow.yaml
blob: 0f6e64583758f163788905cf1fa65149534b786e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
chain:
    -
        name: "changeImage"
        ref: "laas.fog_changeImage"
        parameters:
            image: "{{image}}"
            host: "{{host}}"
            os: "{{os}}"
        on-success: "startImaging"

    -
        name: "startImaging"
        ref: laas.fog_startImaging
        parameters:
            host: "{{host}}"
        on-success: "restartHost"

    -
        name: "restartHost"
        ref: laas.restartHost
        parameters:
            host: "{{host}}"
        on-success: "waitForImaging"

    -
        name: "waitForImaging"
        ref: laas.fog_waitForImaging
        parameters:
            host: "{{host}}"
            timeout: 180
        on-success: "waitForBoot"

    -
        name: "waitForBoot"
        ref: laas.waitForBoot
        parameters:
            host: "{{host}}"
            timeout: 60