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

first attempt at automated travis upload to launchpad #1064

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@maqifrnswa
Contributor

maqifrnswa commented Sep 16, 2016

see https://forum.openmw.org/viewtopic.php?f=20&t=3792

This will have to be merged with master to even begin testing if it works since all secrets are signed with OpenMW/openmw's public key and pull requests skip the deploy step. Good news is that if deploy fails, the build testing won't.

If it works, then our daily build PPA will automatically be tied to travis, and not be dependent on other systems

EDIT: this uses bzr, but launchpad supports git now. I won't have time for a while, but it's probably easier to use this script to just mirror github to launchpad

@@ -15,6 +15,9 @@ env:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "jybGzAdUbqt9vWR/GEnRd96BgAi/7Zd1+2HK68j/i/8+/1YH2XxLOy4Jv/DUBhBlJIkxs/Xv8dRcUlFOclZDHX1d/9Qnsqd3oUVkD7k1y7cTOWy9TBQaE/v/kZo3LpzA3xPwwthrb0BvqIbOfIELi5fS5s8ba85WFRg3AX70wWE="
# Next the DEPLOY_PASS and BZR_LOGIN tokens

This comment has been minimized.

@kpp

kpp Oct 12, 2016

Contributor

BZR?

This comment has been minimized.

@psi29a

psi29a Oct 12, 2016

Member

yes... launchpad uses bazaar but it is slowly being deprecated for git.

@kpp

kpp approved these changes Oct 12, 2016

chmod 600 $TRAVIS_BUILD_DIR/CI/deploy_rsa
ssh-add $TRAVIS_BUILD_DIR/CI/deploy_rsa
git push git+ssh://${BZR_LOGIN}@git.launchpad.net/openmw -f

This comment has been minimized.

@kpp

kpp Oct 12, 2016

Contributor

BZR?

This comment has been minimized.

@psi29a

psi29a Oct 12, 2016

Member

Yes, isn't it? :)

@maqifrnswa

This comment has been minimized.

Contributor

maqifrnswa commented Mar 8, 2017

can close this request! launchpad allows git imports directly, it's up and running at:
https://code.launchpad.net/~openmw/+recipe/openmw-daily-git
@psi29a can commit to the debian repo to update the packaging, and is an owner of the project and branches on launchpad

@maqifrnswa maqifrnswa closed this Mar 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment