Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy script #2974

Merged
merged 2 commits into from Jan 19, 2017

Conversation

@richvdh
Copy link
Member

richvdh commented Jan 17, 2017

Creates a new deploy script, hopefully suitable for deploying riot.im/app.

Currently the deploy process is:

(cd packages && wget https://github.com/vector-im/riot-web/releases/download/v$VERSION/vector-v$VERSION.tar.gz)
(cd deploys && tar xvf ../packages/vector-$VERSION.tar.gz)
ln -s `readlink -f config.json` deploys/vector-$VERSION/
ln -snf deploys/vector-v$VERSION staging # (or beta)

(where the middle of that is deploy.sh).

This will become:

./deploy.py https://github.com/vector-im/riot-web/releases/download/v$VERSION/vector-v$VERSION.tar.gz
ln -snf deploys/vector-v$VERSION staging # (or beta)
Factor some bits out of redeploy.py, so that they can be used in a deployment
script suitable for riot.im/app.
@richvdh richvdh changed the base branch from master to develop Jan 17, 2017
@richvdh richvdh force-pushed the rav/deploy_script branch from 27851a8 to 5206410 Jan 18, 2017
Copy link
Member

dbkr left a comment

Looks good, although we may want to verify the gpg signature on the downloaded tarball, which would just be a case of downloading the .asc file and running it through gpg.

@dbkr dbkr assigned richvdh and unassigned dbkr Jan 18, 2017
@richvdh

This comment has been minimized.

Copy link
Member Author

richvdh commented Jan 18, 2017

PTAL. We'll need to download the gpg key to the deploy server, something like:

gpg --keyserver pgp.mit.edu --recv-keys E019645248E8F4A1
@richvdh richvdh assigned dbkr and unassigned richvdh Jan 18, 2017
@dbkr
dbkr approved these changes Jan 19, 2017
@dbkr dbkr merged commit 6c4bf58 into develop Jan 19, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@richvdh richvdh deleted the rav/deploy_script branch Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.