Skip to content

Commit

Permalink
Sync with prod branch
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Crown <[email protected]>
Co-authored-by: Bruno Silva <[email protected]>
Co-authored-by: Eduardo Rodrigues <[email protected]>
Co-authored-by: Jessica Wolk <[email protected]>
Co-authored-by: Leonardo Nunes <[email protected]>
Co-authored-by: Mahesh Pun (Sophus It Solutions LLC) <[email protected]>
Co-authored-by: Naga Bilwanth Gangarapu <[email protected]>
Co-authored-by: Rafael Padilha <[email protected]>
Co-authored-by: Renato Luiz de Freitas Cunha <[email protected]>
Co-authored-by: Rick Gutierrez <[email protected]>
Co-authored-by: Roberto Santos <[email protected]>
Co-authored-by: Roberto de Moura Estevão Filho <[email protected]>
Co-authored-by: Sara Malvar <[email protected]>
  • Loading branch information
14 people committed Sep 6, 2023
1 parent 3f96508 commit 36b488c
Show file tree
Hide file tree
Showing 178 changed files with 13,966 additions and 7,465 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/cluster-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Python requirements
shell: bash
run: pip install --user ./src/vibe_core

- name: Actually build cluster
shell: bash
run: ./farmvibes-ai.sh setup
run: farmvibes-ai local setup

- name: Cluster status
shell: bash
run: |
echo "Deployments:"
~/.config/farmvibes-ai/kubectl get deployments
~/.config/farmvibes-ai/kubectl describe deployments
kubectl get deployments
kubectl describe deployments
echo "Pods:"
~/.config/farmvibes-ai/kubectl get pods
kubectl get pods
echo "Events:"
~/.config/farmvibes-ai/kubectl get events
kubectl get events
- name: Free space after cluster creation
shell: bash
Expand All @@ -65,10 +69,6 @@ jobs:
df -h
echo
- name: Install Python requirements
shell: bash
run: pip install --user ./src/vibe_core

- name: Run Hello World workflow
shell: bash
run: python -m vibe_core.farmvibes_ai_hello_world 300
Expand All @@ -83,19 +83,13 @@ jobs:

- name: Restart cluster
shell: bash
run: ./farmvibes-ai.sh restart
run: farmvibes-ai local restart

- name: Run Hello World workflow again
- name: Wait a bit before submitting a new run (as documented)
shell: bash
run: |
rm -fr ~/.cache/farmvibes-ai/data/{assets,stac}
python -m vibe_core.farmvibes_ai_hello_world 300
run: sleep 90

- name: Try to update cluster and vibe-core
shell: bash
run: ./farmvibes-ai.sh update

- name: Re-run Hello World
- name: Run Hello World workflow again
shell: bash
run: |
rm -fr ~/.cache/farmvibes-ai/data/{assets,stac}
Expand Down
292 changes: 0 additions & 292 deletions cli/cli-functions.sh

This file was deleted.

Loading

0 comments on commit 36b488c

Please sign in to comment.