This repository was archived by the owner on May 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +3
-15
lines changed Expand file tree Collapse file tree 7 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 62
62
if [ -n "${CURRENT_VERSION_PROVIDER_URL}" ]; then
63
63
echo "*** Found already build image \"${BUILD}\" with hash \"${GITHUB_SHA}\": ${CURRENT_VERSION_PROVIDER_URL}"
64
64
echo "*** This build will be skipped..."
65
- echo "::set-env name= skip:: true"
65
+ echo "skip= true" >> $GITHUB_ENV
66
66
else
67
67
# Set BOX_VERSION variable from existing provider (if exists) or from "date"
68
68
BOX_VERSION="$(curl -L --silent "https://app.vagrantup.com/api/v1/box/${VAGRANT_CLOUD_USER}/${NAME}" | jq -r ".current_version.version")"
72
72
BOX_VERSION="$(date +%Y%m%d).01"
73
73
echo "*** Using new box version based on current date: ${BOX_VERSION}"
74
74
fi
75
- echo "::set-env name= BOX_VERSION:: ${BOX_VERSION}"
75
+ echo "BOX_VERSION= ${BOX_VERSION}" >> $GITHUB_ENV
76
76
77
77
- uses : actions/checkout@v2
78
78
if : env.skip != 'true'
84
84
run : |
85
85
brew install ansible bash coreutils gnu-sed qemu
86
86
pip3 install pywinrm
87
- echo "::add-path:: /usr/local/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:${PATH }"
87
+ echo "/usr/local/bin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin" >> "${GITHUB_PATH }"
88
88
89
89
- name : Build image - ${{ matrix.stage }}
90
90
if : env.skip != 'true'
Original file line number Diff line number Diff line change 19
19
"output_directory" : " {{ user `name` }}-qemu" ,
20
20
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
21
21
"ssh_password" : " {{ user `ssh_password` }}" ,
22
- "ssh_timeout" : " 60m" ,
23
22
"ssh_username" : " {{ user `ssh_username` }}" ,
24
23
"type" : " qemu" ,
25
24
"vm_name" : " {{ user `name` }}"
44
43
"output_directory" : " {{ user `name` }}-virtualbox-iso" ,
45
44
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
46
45
"ssh_password" : " {{ user `ssh_password` }}" ,
47
- "ssh_timeout" : " 60m" ,
48
46
"ssh_username" : " {{ user `ssh_username` }}" ,
49
47
"type" : " virtualbox-iso" ,
50
48
"vboxmanage" : [
Original file line number Diff line number Diff line change 26
26
"output_directory" : " {{ user `name` }}-qemu" ,
27
27
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
28
28
"ssh_password" : " {{ user `ssh_password` }}" ,
29
- "ssh_timeout" : " 60m" ,
30
29
"ssh_username" : " {{ user `ssh_username` }}" ,
31
30
"type" : " qemu" ,
32
31
"vm_name" : " {{ user `name` }}"
56
55
"output_directory" : " {{ user `name` }}-virtualbox-iso" ,
57
56
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
58
57
"ssh_password" : " {{ user `ssh_password` }}" ,
59
- "ssh_timeout" : " 60m" ,
60
58
"ssh_username" : " {{ user `ssh_username` }}" ,
61
59
"type" : " virtualbox-iso" ,
62
60
"vboxmanage" : [
Original file line number Diff line number Diff line change 35
35
"vm_name" : " {{ user `name` }}" ,
36
36
"winrm_insecure" : " true" ,
37
37
"winrm_password" : " {{ user `winrm_password` }}" ,
38
- "winrm_timeout" : " 12h" ,
39
38
"winrm_use_ssl" : " true" ,
40
39
"winrm_username" : " {{ user `winrm_username` }}"
41
40
},
79
78
"vm_name" : " {{ user `name` }}" ,
80
79
"winrm_insecure" : " true" ,
81
80
"winrm_password" : " {{ user `winrm_password` }}" ,
82
- "winrm_timeout" : " 12h" ,
83
81
"winrm_use_ssl" : " true" ,
84
82
"winrm_username" : " {{ user `winrm_username` }}"
85
83
}
Original file line number Diff line number Diff line change 26
26
"output_directory" : " {{ user `name` }}-qemu" ,
27
27
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
28
28
"ssh_password" : " {{ user `ssh_password` }}" ,
29
- "ssh_timeout" : " 60m" ,
30
29
"ssh_username" : " {{ user `ssh_username` }}" ,
31
30
"type" : " qemu" ,
32
31
"vm_name" : " {{ user `name` }}"
56
55
"output_directory" : " {{ user `name` }}-virtualbox-iso" ,
57
56
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
58
57
"ssh_password" : " {{ user `ssh_password` }}" ,
59
- "ssh_timeout" : " 60m" ,
60
58
"ssh_username" : " {{ user `ssh_username` }}" ,
61
59
"type" : " virtualbox-iso" ,
62
60
"vboxmanage" : [
Original file line number Diff line number Diff line change 26
26
"output_directory" : " {{ user `name` }}-qemu" ,
27
27
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
28
28
"ssh_password" : " {{ user `ssh_password` }}" ,
29
- "ssh_timeout" : " 60m" ,
30
29
"ssh_username" : " {{ user `ssh_username` }}" ,
31
30
"type" : " qemu" ,
32
31
"vm_name" : " {{ user `name` }}"
56
55
"output_directory" : " {{ user `name` }}-virtualbox-iso" ,
57
56
"shutdown_command" : " echo 'vagrant' | sudo -S shutdown -P now" ,
58
57
"ssh_password" : " {{ user `ssh_password` }}" ,
59
- "ssh_timeout" : " 60m" ,
60
58
"ssh_username" : " {{ user `ssh_username` }}" ,
61
59
"type" : " virtualbox-iso" ,
62
60
"vboxmanage" : [
Original file line number Diff line number Diff line change 38
38
"vm_name" : " {{ user `name` }}" ,
39
39
"winrm_insecure" : " true" ,
40
40
"winrm_password" : " {{ user `winrm_password` }}" ,
41
- "winrm_timeout" : " 12h" ,
42
41
"winrm_use_ssl" : " true" ,
43
42
"winrm_username" : " {{ user `winrm_username` }}"
44
43
},
82
81
"vm_name" : " {{ user `name` }}" ,
83
82
"winrm_insecure" : " true" ,
84
83
"winrm_password" : " {{ user `winrm_password` }}" ,
85
- "winrm_timeout" : " 12h" ,
86
84
"winrm_use_ssl" : " true" ,
87
85
"winrm_username" : " {{ user `winrm_username` }}"
88
86
}
You can’t perform that action at this time.
0 commit comments