mirror of
https://github.com/joohoi/acme-dns.git
synced 2024-12-22 22:53:55 +07:00
Finetuning
This commit is contained in:
parent
9a45664b4b
commit
31eff45765
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
acme-dns
|
acme-dns
|
||||||
acme-dns.db
|
acme-dns.db
|
||||||
acme-dns.log
|
acme-dns.log
|
||||||
|
.vagrant
|
||||||
|
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@ -8,7 +8,8 @@ VAGRANTFILE_API_VERSION = "2"
|
|||||||
$ubuntu_setup_script = <<SETUP_SCRIPT
|
$ubuntu_setup_script = <<SETUP_SCRIPT
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y vim build-essential postgresql postgresql-contrib git
|
apt-get install -y vim build-essential postgresql postgresql-contrib git
|
||||||
curl -o /tmp/go.tar.gz https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
|
echo "Downloading and installing Go 1.7.3"
|
||||||
|
curl -s -o /tmp/go.tar.gz https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
|
||||||
tar -C /usr/local -xzf /tmp/go.tar.gz
|
tar -C /usr/local -xzf /tmp/go.tar.gz
|
||||||
echo "export PATH=$PATH:/usr/local/go/bin" >> /home/vagrant/.profile
|
echo "export PATH=$PATH:/usr/local/go/bin" >> /home/vagrant/.profile
|
||||||
echo "export GOPATH=/home/vagrant" >> /home/vagrant/.profile
|
echo "export GOPATH=/home/vagrant" >> /home/vagrant/.profile
|
||||||
@ -16,7 +17,8 @@ mkdir -p /home/vagrant/src/acme-dns
|
|||||||
chown -R vagrant /home/vagrant/src
|
chown -R vagrant /home/vagrant/src
|
||||||
cp /vagrant/test/run_integration.sh /home/vagrant
|
cp /vagrant/test/run_integration.sh /home/vagrant
|
||||||
bash /vagrant/test/pgsql.sh
|
bash /vagrant/test/pgsql.sh
|
||||||
echo "To run integration tests run /home/vagrant/run_integration.sh"
|
echo "\n-------------------------------------------------------------"
|
||||||
|
echo "To run integration tests run, /home/vagrant/run_integration.sh"
|
||||||
SETUP_SCRIPT
|
SETUP_SCRIPT
|
||||||
|
|
||||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
|
Loading…
Reference in New Issue
Block a user