-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup better failure logs, remove skaffold since we don't want to bui…
…ld anything
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,6 @@ jobs: | |
- name: Install Task | ||
uses: arduino/setup-task@v2 | ||
- run: task setup-local-env | ||
- name: Install Skaffold | ||
run: | | ||
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 | ||
sudo install skaffold /usr/local/bin/ | ||
- name: setup k8s | ||
uses: helm/[email protected] | ||
- name: Verify k8s | ||
|
@@ -29,10 +25,14 @@ jobs: | |
- name: deploy | ||
run: | | ||
kubectl create namespace languagedepot | ||
task up | ||
kubectl apply -k ./deployment/local-dev | ||
kubectl wait --for=condition=Ready --timeout=60s pod -l 'app in (lexbox, ui, hg, db)' -n languagedepot | ||
- name: status | ||
if: always() | ||
run: kubectl get deployment/lexbox -n languagedepot | ||
if: failure() | ||
run: | | ||
kubectl describe pods -l 'app in (lexbox, ui, hg, db)' -n languagedepot | ||
echo "========== LOGS ==========" | ||
kubectl logs -l 'app in (lexbox, ui, hg, db)' -n languagedepot --prefix --all-containers | ||
- name: test | ||
env: | ||
TEST_SERVER_HOSTNAME: 'localhost' | ||
|