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

Set up a Github Action to build this repository with Maven and jenkins.webtide.net. #45

Open
Tracked by #23
jmcc0nn3ll opened this issue Jun 2, 2024 · 8 comments
Assignees

Comments

@jmcc0nn3ll
Copy link
Contributor

jmcc0nn3ll commented Jun 2, 2024

@olamy can you setup a jenkins job that does a full build?

I think you can probably just setup env and run 'jetty-website.sh stage' and that ought to do it all.

bonus points it if is triggered on changes in the documentation subdir of the jetty project since I think that will be the primary source of errors that we want to suss out early.

@jmcc0nn3ll jmcc0nn3ll mentioned this issue Jun 2, 2024
9 tasks
@olamy
Copy link
Member

olamy commented Jun 2, 2024

where do we want to stage? https://stage.jetty.org/?
this means we need to put some keys somewhere to be able to scp/rsync from the staged location (github action or jenkins). I'm a bit cautious to put some keys which need to have sudo access to such location.
Maybe better to have jenkins copying to a local directory and then rsync/scp from this directory.

@jmcc0nn3ll
Copy link
Contributor Author

jmcc0nn3ll commented Jun 3, 2024 via email

@olamy
Copy link
Member

olamy commented Jun 3, 2024

I was trying something to integrate pushing the generated content to a git repo.
PR draft here #47
The result is a bit surprising with gh-pages https://olamy.github.io/jetty.website/
weird because the content in the gh-pages branch looks correct.
hard to know the cause. some issues with directory starting _/?

@olamy
Copy link
Member

olamy commented Jun 3, 2024

ah right. I need a .nojekyll file at root directory

@olamy
Copy link
Member

olamy commented Jun 3, 2024

some POC PR created here #47

@jmcc0nn3ll
Copy link
Contributor Author

I am still leery of having a Jenkins job publishing anything. At this point, we really just need a website build that raises red flags if the site can't be built because of bad documentation compilation.

@mojavelinux
Copy link
Contributor

Now that the site is published somewhere other than GitHub Pages, perhaps GitHub Pages should be disabled on this repository. Also, I see no reason why GitHub Actions has to be publishing to GitHub Pages when the files aren't being served from there anymore. It seems like we are in a between state right now regarding what CI job is running.

@jmcc0nn3ll
Copy link
Contributor Author

I still use the github pages build as a sanity check. We could still do the build but not actually deploy to Pages I suppose.

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

No branches or pull requests

3 participants