Update the instructions for deploying prod to pull from staging.
This commit is contained in:
parent
9070ead4eb
commit
b493168a8b
1 changed files with 3 additions and 4 deletions
|
@ -3,7 +3,7 @@ to build and upload quay to quay:
|
||||||
```
|
```
|
||||||
curl -s https://get.docker.io/ubuntu/ | sudo sh
|
curl -s https://get.docker.io/ubuntu/ | sudo sh
|
||||||
sudo apt-get update && sudo apt-get install -y git
|
sudo apt-get update && sudo apt-get install -y git
|
||||||
git clone git clone https://bitbucket.org/yackob03/quay.git
|
git clone https://bitbucket.org/yackob03/quay.git
|
||||||
cd quay
|
cd quay
|
||||||
rm Dockerfile
|
rm Dockerfile
|
||||||
ln -s Dockerfile.web Dockerfile
|
ln -s Dockerfile.web Dockerfile
|
||||||
|
@ -21,7 +21,7 @@ cd gantryd
|
||||||
cat requirements.system | xargs sudo apt-get install -y
|
cat requirements.system | xargs sudo apt-get install -y
|
||||||
virtualenv --distribute venv
|
virtualenv --distribute venv
|
||||||
venv/bin/pip install -r requirements.txt
|
venv/bin/pip install -r requirements.txt
|
||||||
sudo docker login -p 9Y1PX7D3IE4KPSGCIALH17EM5V3ZTMP8CNNHJNXAQ2NJGAS48BDH8J1PUOZ869ML -u 'quay+deploy' -e notused quay.io
|
sudo docker login -p 9Y1PX7D3IE4KPSGCIALH17EM5V3ZTMP8CNNHJNXAQ2NJGAS48BDH8J1PUOZ869ML -u 'quay+deploy' -e notused staging.quay.io
|
||||||
```
|
```
|
||||||
|
|
||||||
start the quay processes:
|
start the quay processes:
|
||||||
|
@ -29,8 +29,7 @@ start the quay processes:
|
||||||
```
|
```
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://bitbucket.org/yackob03/quayconfig.git
|
git clone https://bitbucket.org/yackob03/quayconfig.git
|
||||||
sudo docker pull quay.io/quay/quay
|
sudo docker pull staging.quay.io/quay/quay
|
||||||
sudo mkdir -p /mnt/logs/
|
|
||||||
cd ~/gantryd
|
cd ~/gantryd
|
||||||
sudo venv/bin/python gantry.py ../quayconfig/production/gantry.json update quay
|
sudo venv/bin/python gantry.py ../quayconfig/production/gantry.json update quay
|
||||||
```
|
```
|
||||||
|
|
Reference in a new issue