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

2.16.6 backports 1 #32132

Merged
merged 27 commits into from
Apr 3, 2023
Merged

2.16.6 backports 1 #32132

merged 27 commits into from
Apr 3, 2023

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Mar 25, 2023

Please don't merge, I will merge it myself.

@gsmet gsmet added the area/infra internal and infrastructure related issues label Mar 25, 2023
@gsmet gsmet self-assigned this Mar 25, 2023
@quarkus-bot

This comment has been minimized.

@gsmet gsmet force-pushed the 2.16.6-backports-1 branch from 9d75f3c to abdbc29 Compare March 25, 2023 14:51
@quarkus-bot

This comment has been minimized.

Karm and others added 16 commits April 2, 2023 18:22
Enables enforcing podman on systems where both podman and docker are available
e.g.
Before:

```
WARN  [io.qua.run.uti.ContainerRuntimeUtil] (main) Command "docker" exited with error code 1. Rootless container runtime detection might not be reliable.
```

after:

```
WARN  [io.qua.run.uti.ContainerRuntimeUtil] (main) Command "docker info" exited with error code 1. Rootless container runtime detection might not be reliable or the container service is not running at all.
```
plus with `-Dquarkus.log.level=DEBUG` it logs:

```
DEBUG [io.qua.run.uti.ContainerRuntimeUtil] (main) Command "docker info" output: Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.10.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.16.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose
  scan: Docker Scan (Docker Inc.)
    Version:  v0.23.0
    Path:     /usr/libexec/docker/cli-plugins/docker-scan

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
```
With this change, the detected container runtime is cached per JVM run
so as it is not checked again regardless of the classloader
loading the ContainerRuntimeUtil class.
The rootless attribute of such runtime is lazily fetched once as needed.

(cherry picked from commit 5c58a03)
…uation\nwhere there is no container runtime working and none is needed.

(cherry picked from commit 781eb53)
Under certain configurations (e.g. in
quarkusio#31930) the substitution
fails with:

```
Error: Substitution target for io.quarkus.smallrye.jwt.build.runtime.graalvm.Target_org_jose4j_jwk_OctetKeyPairJsonWebKey is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
com.oracle.svm.core.util.UserError$UserException: Substitution target for io.quarkus.smallrye.jwt.build.runtime.graalvm.Target_org_jose4j_jwk_OctetKeyPairJsonWebKey is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
```

which indicates that the class being substituted cannot be located on the classpath.

(cherry picked from commit 1b143e9)
… Hibernate ORM codestart

1. It's not necessary: if you're using dev services, this will be set
   implicitly in dev mode and test mode.
2. It's incorrect and dangerous: this setting should be applied to
   the dev and test profile explicitly, otherwise it will lead to
   dropping the whole database content in production...

(cherry picked from commit 94029e3)
- Assign the bean as unremovable
- Kafka serde discovery

Fixes quarkusio#32002

(cherry picked from commit ab62972)
sberyozkin and others added 11 commits April 2, 2023 18:33
(cherry picked from commit 6d46c2e)
old registry k8s.grc.io will be phased out use registry.k8s.io instead

fixes quarkusio#32041

(cherry picked from commit 07d2639)
Fixes quarkusio#32106

(cherry picked from commit 82e62c7)
…ndencies when bootstrapping for CT

(cherry picked from commit 18e4136)
(cherry picked from commit 551fd86)
- if a bean that has iterable in its set of bean types is used as an
iterable in a loop section then the hints are not processed correctly

(cherry picked from commit ed7e3c5)
@github-actions
Copy link

github-actions bot commented Apr 2, 2023

🎊 PR Preview 95e97b0 has been successfully built and deployed to https://quarkus-pr-main-32132-preview.surge.sh/version/main/guides/

@quarkus-bot
Copy link

quarkus-bot bot commented Apr 2, 2023

Failing Jobs - Building 9dbfe9c

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 17
✔️ JVM Tests - JDK 18
✔️ Maven Tests - JDK 11
Maven Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs

@gsmet gsmet merged commit 6e95bcf into quarkusio:2.16 Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/amazon-lambda area/core area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation area/graphics area/infra internal and infrastructure related issues area/keycloak area/kubernetes area/oidc area/qute The template engine area/reactive-messaging area/rest area/smallrye area/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.