Skip to content

Order nightly before docs generation #2411

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

Merged
merged 1 commit into from
May 11, 2017

Conversation

felixmulder
Copy link
Contributor

Generated docs check out a different branch and removes everything in
the CWD

Generated docs check out a different branch and removes everything in
the CWD
@felixmulder felixmulder force-pushed the topic/ordered-nightly branch from 9f309ef to ba58cc1 Compare May 11, 2017 15:08
@felixmulder
Copy link
Contributor Author

felixmulder commented May 11, 2017

@smarter: going to leave for now, this is the script used from the server to deploy:

#!/usr/bin/env python2

from urllib2 import urlopen
import json
import os

endpoint = "http://dotty-ci.epfl.ch/api/repos/" + \
           "lampepfl/dotty/builds/latest?branch=master"
res = urlopen(endpoint)
data = res.read()
build = json.loads(data)

print "Deploying build number: ", build['number']

# execute deployment: drone deploy {org}/{project} {buildNumber} {target}
os.execvp('drone', [ 'drone'
                   , 'deploy'
                   , 'lampepfl/dotty'
                   , str(build['number'])
                   , 'nightly'
                   ])

@felixmulder felixmulder merged commit cc4533d into scala:master May 11, 2017
@allanrenucci allanrenucci deleted the topic/ordered-nightly branch December 14, 2017 19:25
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.

1 participant