buildserver: move buildserverid to provisioner

In order to support Docker, this should be able to operate without ssh,
e.g. using vagrant-communicator-docker.  This removes the buildserverid
hack and makes it a provisioner shell script.
This commit is contained in:
Hans-Christoph Steiner 2021-12-15 14:43:14 +01:00
parent a375bae3c9
commit 57447f18e1
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 11 additions and 9 deletions

View file

@ -86,5 +86,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", path: "provision-android-ndk",
args: ["/opt/android-sdk/ndk", "r21e", "r22b"]
config.vm.provision "shell", path: "provision-gradle"
config.vm.provision "shell", path: "provision-buildserverid",
args: [`git rev-parse HEAD`]
end