Skip to content

Commit

Permalink
Update github actions and improve ci logging (#187)
Browse files Browse the repository at this point in the history
* Feature/update gh actions (#4)

* Update gh actions for nodejs16

Signed-off-by: thepetk <[email protected]>

* Further updates on gh actions versions

Signe-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]>

---------

Signed-off-by: thepetk <[email protected]>

* Add detailed logging for crashLoopBackOff cases

Signed-off-by: thepetk <[email protected]>

* Update github-action and increase memory

Signed-off-by: thepetk <[email protected]>

* Revert update in kubernetes

Signed-off-by: thepetk <[email protected]>

---------

Signed-off-by: thepetk <[email protected]>
  • Loading branch information
thepetk authored Oct 20, 2023
1 parent a95cc88 commit 086246b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .ci/run_tests_minikube_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ helm install devfile-registry ./deploy/chart/devfile-registry --set global.ingre
# Wait for the registry to become ready
kubectl wait deploy/devfile-registry --for=condition=Available --timeout=600s
if [ $? -ne 0 ]; then
kubectl get pods
# Return the logs of the 3 containers in case the condition is not met
echo "devfile-registry container logs:"
kubectl logs -l app=devfile-registry --container devfile-registry
echo "oci-registry container logs:"
kubectl logs -l app=devfile-registry --container oci-registry
echo "registry-viewer container logs:"
kubectl logs -l app=devfile-registry --container registry-viewer
# Return the description of every pod
kubectl describe pods
exit 1
fi
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ jobs:
with:
go-version: 1.18
- name: Setup Minikube
uses: manusa/actions-setup-minikube@v2.7.1
uses: manusa/actions-setup-minikube@3856c6fa039819f1c8e7e248b1fc5a8564e354c9 # v2.9.0
with:
minikube version: 'v1.21.0'
minikube version: 'v1.31.2'
kubernetes version: 'v1.21.0'
driver: 'docker'
github token: ${{ secrets.GITHUB_TOKEN }}
start args: '--addons=ingress'
start args: '--addons=ingress --memory 4096 --cpus 2'
- name: Run the devfile registry integration tests
run: |
export GOPATH=$(go env GOPATH)
Expand Down

0 comments on commit 086246b

Please sign in to comment.