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

Add CI for PRs to QuickStarts #138

Open
vorburger opened this issue Apr 8, 2019 · 8 comments
Open

Add CI for PRs to QuickStarts #138

vorburger opened this issue Apr 8, 2019 · 8 comments

Comments

@vorburger
Copy link
Contributor

Perhaps it would be useful to validate all PRs proposed to this repo (Quick Starts) by CI?

May be that would caught quarkusio/quarkus#1918 if 8af8b36 was run through a PR with CI.

Such a CI job could also run the Gradle Getting Started (see #136).

Just a thought.

@gsmet
Copy link
Member

gsmet commented Apr 8, 2019

So, I'm all for getting back CI on quickstarts.

The issue is that we don't publish the snapshots right now so it's not as easy as it looks.

We run a full quickstart testing before releasing but the bootstrap issue apparently needs some special circumstances to happen (I still can't reproduce it).

For now, the version bump is directly pushed by a script so it's not dealt with as a PR but tests are run before pushing it.

So +1 but that needs work.

@vorburger
Copy link
Contributor Author

The issue is that we don't publish the snapshots right now so it's not as easy as it looks.

@gsmet but we don't have to, or at least not just to enable CI, right? What I'm suggesting is really "just" CI for all PRs, nothing per se specific to version bump release processes, and without SNAPSHOT support...

Because the POMs in this repo (quickstarts) do NOT actually use 999-SNAPSHOT (may be they used to, but at least on current master they do not). So a future release version bump is "just another PR", which bumps from a (again, non-SNAPSHOT) say 0.13.0 to a 0.14.0 or whatever - which CI can verify - like any other change.

We run a full quickstart testing before releasing

That's probably also a Good Idea, but kind of separate and just a parallel pre-req to this suggestion? (I'm assuming that the script used to do this changes all versions to 999-SNAPSHOT; but that's temporary and not committed to this repo, or not anymore - it seems.)

@cescoffier
Copy link
Member

I've started working on it.

@rsvoboda
Copy link
Member

@cescoffier what's the status and overall plan ?

Will we publish snapshots or CI pipeline will build Quarkus latest bits ?
mvn clean install -DskipTests -DskipITs on Quarkus is quite fast

@cescoffier
Copy link
Member

cescoffier commented Apr 26, 2019 via email

@cescoffier
Copy link
Member

cescoffier commented Apr 26, 2019 via email

@rsvoboda
Copy link
Member

Aside infrastructure challenges I think CI should cover (in the end) these combinations:

  • QS run in JVM mode on Linux using GraalVM
  • QS run in JVM mode on Windows using OpenJDK LATEST
  • QS run in Native mode on Linux using GraalVM
  • QS run in JVM mode on Windows using OpenJDK 11
  • QS run in Native mode on Windows using GraalVM (once supported)

@rsvoboda
Copy link
Member

@cescoffier / @gsmet ... any plans to have at least QS run in JVM mode on Windows

There is just ubuntu one - https://github.com/quarkusio/quarkus-quickstarts/blob/main/.github/workflows/build-pr-development.yml#L10

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

4 participants