Skip to content

Commit

Permalink
update github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor committed Sep 29, 2023
1 parent b980aa1 commit 0515230
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/smoke-test-pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Build plugin registry image
run: |
# eval $(minikube docker-env)
BUILDER=docker SKIP_FORMAT=true SKIP_LINT=true SKIP_TEST=true ./build.sh --tag next
docker save -o /tmp/che-plugin-registry-next.tar quay.io/eclipse/che-plugin-registry:next
- name: Display docker images
run: |
docker images
- name: Cleanup docker images
run: |
docker system prune -af
- name: Disk free
run: |
df -h
- name: Start minikube
id: run-minikube
uses: che-incubator/setup-minikube-action@next
Expand All @@ -38,16 +56,17 @@ jobs:
- name: Install chectl
run: bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=next

- name: Build plugin registry image
run: |
eval $(minikube docker-env)
BUILDER=docker SKIP_FORMAT=true SKIP_LINT=true SKIP_TEST=true ./build.sh --tag next
- name: Check that plugin registry image is present in the image list
run: minikube image list --format table

- name: Deploy Che
run: |
#
# load che-code images from /tmp/che-code-latest.tar
#
eval $(minikube docker-env) && docker load -i /tmp/che-plugin-registry-next.tar && rm /tmp/che-plugin-registry-next.tar
minikube image list --format table
#
# deploy Che
#
Expand All @@ -58,7 +77,7 @@ jobs:
--k8spodreadytimeout=140000 \
--che-operator-cr-patch-yaml "${GITHUB_WORKSPACE}/build/dev/github-minikube-checluster-patch.yaml"
- name: Run Smoke test
- name: Run smoke test
run: |
docker run \
--shm-size=2048m \
Expand Down

0 comments on commit 0515230

Please sign in to comment.