Skip to content

No nightly build since 12/7/2019 #6878

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

Closed
milessabin opened this issue Jul 17, 2019 · 13 comments
Closed

No nightly build since 12/7/2019 #6878

milessabin opened this issue Jul 17, 2019 · 13 comments

Comments

@milessabin
Copy link
Contributor

The last available nightly build was published on 12/7/2019,

http://repo1.maven.org/maven2/ch/epfl/lamp/dotty-compiler_0.17/

which I think coincides with the CI upgrade ... did the nightly build job disappear during the switchover?

@smarter
Copy link
Member

smarter commented Jul 17, 2019

@Fnux can you investigate ?

@Fnux
Copy link
Contributor

Fnux commented Jul 18, 2019

I'll take a look, I do not know how they where triggered earlier but there is a built-in cron-like system in Drone 1.x which should do the job.

@allanrenucci
Copy link
Contributor

It used to be a cron job that lives on of the LAMP machine (ask @fsalvi). The cron job used to run the drone CLI. Something along the line of drone deploy nightly ....

there is a built-in cron-like system in Drone 1.x which should do the job.

Yes, I believe you should migrate to that and disable the old cron job.

@fsalvi
Copy link

fsalvi commented Jul 18, 2019

There is a cron job on lampsrv43 (drone user) which was used for the nightly builds at 3am, using drone deploy.

@liufengyun
Copy link
Contributor

We should make the bot create an issue when the nightly failed. ghi is convenient for the purpose.

@milessabin
Copy link
Contributor Author

Is there anything I can do to help move this along?

@smarter
Copy link
Member

smarter commented Jul 23, 2019

Meanwhile, I've started a nightly build manually: https://dotty-ci.epfl.ch/lampepfl/dotty/266 FYI, the syntax to do that has changed, using the binary from https://github.com/drone/drone-cli/releases, one needs to run:

drone build promote lampepfl/dotty 263 nightly

where "263" is the id of a successful build (EDIT: actually it doesn't need to be a successful build anymore).

smarter added a commit to dotty-staging/dotty that referenced this issue Jul 23, 2019
Automatically running the nightly build is still broken (scala#6878), but
manually running it using:

    drone build promote lampepfl/dotty 263 nightly

Should now work, following the apparent renaming of the event used for
deployment in drone 1.0: https://docs.drone.io/user-guide/pipeline/promotion/
@smarter
Copy link
Member

smarter commented Jul 23, 2019

...actually that didn't work, but I think I have a fix: #6921

@Fnux
Copy link
Contributor

Fnux commented Jul 24, 2019

I patched the cronjob on lampsrv43 a few days ago but did not take/find the time to update the drone-ci.yml file earlier as I am traveling. A build should be promoted every day at 3 AM (I suspect it happened for https://dotty-ci.epfl.ch/lampepfl/dotty/272/1/8).

@nicolasstucki
Copy link
Contributor

nicolasstucki commented Jul 24, 2019

It looks like we had a nightly build published for 0.18 http://repo1.maven.org/maven2/ch/epfl/lamp/dotty-compiler_0.18

@milessabin
Copy link
Contributor Author

Is that the one that @smarter triggered by hand but apparently failed?

@smarter
Copy link
Member

smarter commented Jul 24, 2019

It's a different one i triggered by hand that worked.

@nicolasstucki
Copy link
Contributor

Nightlies have been published every day since 2019-07-25

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

No branches or pull requests

7 participants