.gitlab-ci.yml 389 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
stages:
  - build
  - deploy

Gen-VM:
  tags:
    - "virtualbox"
    - "ansible"
    - "vagrant"
  stage: build
Jean-Francois Rey's avatar
Jean-Francois Rey committed
11
  script:
12
13
14
15
16
17
18
19
20
21
    - Vagrant up
    - Vagrant halt windows10R4

Deploy-VM:
  tags:
    - "virtualbox"
    - "ansible"
    - "vagrant"
  stage: deploy
  when: on_success
Jean-Francois Rey's avatar
Jean-Francois Rey committed
22
  script:
23
24
    - vboxmanager unregistervm --delete win10R4
    - vboxmanager modifyvm windows10R4 --name win10R4