.gitlab-ci.yml 391 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
stages:
  - build
  - deploy

Gen-VM:
  tags:
    - "virtualbox"
    - "ansible"
    - "vagrant"
  stage: build
  scripts:
    - Vagrant up
    - Vagrant halt windows10R4

Deploy-VM:
  tags:
    - "virtualbox"
    - "ansible"
    - "vagrant"
  stage: deploy
  when: on_success
  scripts:
    - vboxmanager unregistervm --delete win10R4
    - vboxmanager modifyvm windows10R4 --name win10R4