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
Merged

Deploy script #2974

merged 2 commits into from
Jan 19, 2017

Conversation

richvdh
Copy link
Member

@richvdh 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 January 17, 2017 22:44
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
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 merged commit 6c4bf58 into develop Jan 19, 2017
@richvdh richvdh deleted the rav/deploy_script branch February 2, 2017 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants