Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAT-1679 roundtrip test with backend #43

Merged
merged 16 commits into from
Apr 29, 2022
Merged
61 changes: 61 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,67 @@ jobs:
repo: context.repo.repo,
body,
});

backend-roundtrip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
cache-dependency-path: './lib/package-lock.json'
# - uses: actions/download-artifact@v2
# with:
# name: opentdf-client-lib
- name: Git clone backend
run: |
git clone https://github.com/opentdf/documentation.git
- uses: actions/setup-python@v3
with:
python-version: '3.9'
cache: 'pip'
- run: pip install opentdf
- uses: yokawasa/[email protected]
with:
setup-tools: |
kubectl
helm
tilt
# This should be in sync with the minikube-deployed kube version below
kubectl: "1.23.1"
helm: "3.8.0"
tilt: "0.26.2"
- run: |
kubectl version --client
kustomize version
tilt version
- name: start minikube
id: minikube
uses: medyagh/setup-minikube@master
with:
minikube-version: 1.25.1
# This should be in sync with the setup-tools version above
kubernetes-version: 1.23.1
- name: Run tilt up
run: |-
kubectl version
pwd
cd documentation/quickstart
pwd
(tilt up &) 2> /dev/null
tilt wait --for=condition=Ready "uiresource/abacus" --for=condition=Ready "uiresource/kas" --timeout 600s
- name: Run RT test
run: |-
pwd
python3 tests/oidc-auth.py
elizabethhealy marked this conversation as resolved.
Show resolved Hide resolved
cd ../..
cd ${{ github.workspace }}
- name: Run tilt down
run: |-
pid=$(tilt get session Tiltfile -o jsonpath --template '{.status.pid}')
kill $pid
tilt down

deliver-ghp:
runs-on: ubuntu-latest
Expand Down