This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
59 lines (46 loc) · 1.39 KB
/
Makefile
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
VERSION=$(shell git describe --tags)
buildxenial:
echo "Building ${VERSION} for Ubuntu Xenial"
vagrant up buildxenial
vagrant ssh buildxenial -c "mnt/src/build/build-xenial.sh /home/vagrant/mnt /opt/oasisqe/3.9"
vagrant ssh buildxenial -c "cd /opt/oasisqe; tar -zcvf /home/vagrant/mnt/${VERSION}-xenial.tgz 3.9"
rm -f /home/vagrant/mnt/oasisqe-xenial.tgz
ln -s /home/vagrant/mnt/${VERSION}-xenial.tgz /home/vagrant/mnt/oasisqe-xenial.tgz
testxenial:
echo "Testing on Ubuntu Xenial"
vagrant up testxenial
testbionic:
echo "Testing on Ubuntu Bionic"
vagrant up testbionic
teststretch:
echo "Testing on Ubuntu Stretch"
vagrant up teststretch
testtrusty:
echo "Testing on Ubuntu Trusty"
vagrant up testtrusty
devxenial:
echo "Building dev environment on Ubuntu Xenial"
vagrant up devxenial
vagrant ssh devxenial
devbionic:
echo "Building dev environment on Ubuntu Bionic"
vagrant up devbionic
vagrant ssh devbionic
devstretch:
echo "Building dev environment on Debian Stretch"
vagrant up devstretch
vagrant ssh devstretch
devtrusty:
echo "Building dev environment on Ubuntu Trusty"
vagrant up devtrusty
vagrant ssh devtrusty
cleanvm:
vagrant destroy buildxenial
vagrant destroy testxenial
vagrant destroy testbionic
vagrant destroy testtrusty
vagrant destroy teststretch
vagrant destroy devxenial
vagrant destroy devbionic
vagrant destroy devstretch
vagrant destroy devtrusty