-
Notifications
You must be signed in to change notification settings - Fork 14
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
Build the PDF docs on Buildkite #199
Conversation
419fe80
to
223a816
Compare
@mortenpi After I run |
98962c6
to
e480d33
Compare
I think the However, I am not sure that it makes sense to borrow the
in the YAML and then pass the PDF on to the The latter would also have to be modified a little of course. The PDFs get deployed onto the Also, cc @fredrikekre since he's more familiar with the PDF deployment. |
@staticfloat It's failing to load the rootfs. Maybe it's running out of disk space? |
What are the possible values for |
I guess as you figured out, the Here is the Dockerfile that sets up the Docker image: https://github.com/JuliaDocs/DocumenterLaTeX.jl/blob/master/docker/Dockerfile |
We should have everything we need in the existing rootfs image, but we can make a new one if need be. Right now the build is failing, but I'm not sure what the cause is. |
Oh maybe it's because I set the |
bce4ca5
to
1ff4769
Compare
Alright, it looks like it complains about Pygments being missing:
|
We'll likely need to make a separate rootfs image just for this job. |
Hmm.. is |
c52fc60
to
6716314
Compare
Okay, it looks like the PDF was built successfully. And it built in 27 minutes, which is faster than GitHub Actions (probably because our CI machines are newer). @mortenpi Would you mind looking at the PDF (which was uploaded as a Buildkite artifact) and making sure it looks correct? |
@staticfloat In this PR, we build Julia in the In a follow-up PR, we can switch the |
It should be identical to the |
This was intentional. It seems to me that the PDF build currently breaks a lot. And I didn't want a broken PDF build to prevent the regular (i.e. HTML) docs from being deployed. So I figured we'd keep them separate, at least initially, so that we can monitor the stability of the PDF build for a while. |
The PDF looks fine to me! I think we just now need a variant of the
I think this is a fair concern. I suppose they could be in the same builder if it is somehow possible to split things into independent-ish steps on Buildkite? |
b24db7e
to
5113b6e
Compare
This is looking good to me, next up is actual uploading. |
The core functionality is here. We use a pre-built Julia, build the PDF, and upload it as a Buildkite artifact. I'm going to merge this now so that we can start running it on Base Julia (and thus catch any regressions). The signed pipeline to upload the PDF to the correct GitHub repo can be done in a follow-up PR. |
Ref #198