summaryrefslogtreecommitdiffstats
path: root/laas-fog/pharoslaas/actions/workflows/fog_imageWorkflow.yaml
blob: 52eff63fb1f18ce9cc4c916939e80894379874b1 (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: "pharoslaas.fog_changeImage"
        parameters:
            image: "{{image}}"
            host: "{{host}}"
            os: "{{os}}"
        on-success: "startImaging"

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

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

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

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