Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/wildfly-pull-request-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,16 @@ jobs:

echo "CLIENT_PAYLOAD: $CLIENT_PAYLOAD"

set -x

resp=$(curl -X POST -s "https://api.github.com/repos/${TRIGGER_REPOSITORY}/dispatches" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${TOKEN}" \
-d "{\"event_type\": \"${REPORTER_EVENT_TYPE}\", \"client_payload\": ${CLIENT_PAYLOAD} }")

set +x

if [ -z "$resp" ]
then
sleep 2
Expand Down
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,40 @@ As mentioned in the [run the tests](#run-the-tests) section, we have two sets of
minikube addons enable registry
````
* In order to push to the minikube registry and expose it on localhost:5000:
````shell
# On Mac:
````shell
docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:$(minikube ip):5000"

# On Linux:
````
On Linux:
````shell
kubectl port-forward --namespace kube-system service/registry 5000:80 &

# On Windows:
````
On Windows:
````shell
kubectl port-forward --namespace kube-system service/registry 5000:80
docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:host.docker.internal:5000"
````

**NOTE:** If you are using Podman instead of Docker, you need to create a symlink from `docker` to your installed version of `podman`.
This is because the underlying [dekorate](http://dekorate.io/) library is not aware of `podman`, and looks for an executable called `docker`.



On linux you might need to add this registry as an insecure one by editing the file **/etc/containers/registries.conf** and adding the following lines:
````
[[registry]]
location="localhost:5000"
insecure=true
````
On Mac, you may need to do the same, but this file is not on the file system of the Podman machine. See the Podman
[Registries documentation](https://podman-desktop.io/docs/containers/registries#setting-up-a-registry-with-an-insecure-certificate)
for more details. But essentially you:
* ssh into the podman machine with `podman machine ssh --username root <optional VM name>`.
* Note that GPU enabled Podman machines set up with LibKrunb don't seem to be accessible this way at the moment
* then modify the above file as shown
* restart the podman VM


##### Fedora 37+ Set Up

Expand Down
2 changes: 1 addition & 1 deletion common/bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<version.org.jboss.jboss-dmr>1.7.0.Final</version.org.jboss.jboss-dmr>
<version.org.jboss.shrinkwrap.shrinkwrap>1.2.6</version.org.jboss.shrinkwrap.shrinkwrap>
<version.org.jsoup.jsoup>1.16.1</version.org.jsoup.jsoup>
<version.org.junit.jupiter.jupiter>5.13.2</version.org.junit.jupiter.jupiter>
<version.org.junit.jupiter.jupiter>5.13.3</version.org.junit.jupiter.jupiter>

<!-- Lock down the jackson fasterxml versions. Fabric8 and dekorate bring in different version -->
<version.com.fasterxml.jackson>2.15.4</version.com.fasterxml.jackson>
Expand Down