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

Update ci #45

Merged
merged 6 commits into from
Nov 27, 2024
Merged

Update ci #45

merged 6 commits into from
Nov 27, 2024

Conversation

mbtaylor
Copy link
Member

No description provided.

@mbtaylor
Copy link
Member Author

I was experimenting with @gmantele's ivoa-std/ivoatex#141 update-ci PR as an alternative to #44. It doesn't seem to work here for reasons I haven't investigated - maybe I was doing something wrong. Close this PR in favour of #44, which does work, instead.

@mbtaylor mbtaylor closed this Nov 27, 2024
@mbtaylor
Copy link
Member Author

See https://github.com/ivoa-std/DALI/actions/runs/12049700164 for CI build report.

@mbtaylor mbtaylor reopened this Nov 27, 2024
@mbtaylor
Copy link
Member Author

Tried again with the merged-to-master ivoatex, still broken.

@gmantele
Copy link

It should be fixed by ivoa-std/ivoatex#142

@mbtaylor mbtaylor reopened this Nov 27, 2024
@mbtaylor
Copy link
Member Author

Yes, successful CI using the current master branch of ivoatex. This branch can now be merged.

@pdowler pdowler merged commit e3a1d7f into ivoa-std:master Nov 27, 2024
1 check passed
@mbtaylor
Copy link
Member Author

So... it looks like my earlier optimism was premature, the CI is broken for this update, at least by the time it's been merged to master. Since it was working on the PR branch pre-merge I don't understand this - but then I don't understand lots about github CI.

I can see roughly what's wrong in the build error log, but I don't know how to fix it. @gmantele could you take another look?

name: Update PDF Preview

env:
doc_name: DALI
doc_name :

Choose a reason for hiding this comment

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

doc_name isn't set here, so later in L38 the ${{ env.doc_name }}-draft.pdf substitution becomes -draft.pdf. It "passed" (i.e. didn't run) in the PR because this workflow will only run on pushes to the main branch.

Is doc_name supposed to be set dynamically somewhere?

Choose a reason for hiding this comment

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

You're right. The update-ci target does not set this field in the CI configuration file. It was already done like that before. But sure, maybe we can do better by doing that automatically with this Makefile target.

Sorry again for this issue.

Choose a reason for hiding this comment

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

Actually, looking now at the Makefile code, we are already doing this automatically when DOCNAME is set in the Makefile. But the problem is due to the spaces I have added between doc_name and the :. What a stupid mistake...sorry, I push a new PullRequest to fix this. I hope this time it will be OK.

Choose a reason for hiding this comment

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

See PullRequest ivoa-std/ivoatex#143 for a fix

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.

4 participants