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-1964 Opentdf/tests: “xtest” job fails with the “unknown “opentdf… #71

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/client-web-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
run: |-
kubectl version
cd client-web-test
tilt ci integration-test test-client-web frontend-test -- --to-edit opentdf-abacus-client-web
tilt ci
2 changes: 1 addition & 1 deletion .github/workflows/vulnerability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
run: |-
kubectl version
cd vulnerability
tilt ci integration-test -- --to-edit opentdf-abacus
tilt ci
2 changes: 1 addition & 1 deletion .github/workflows/xtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
run: |-
kubectl version
cd xtest
tilt ci integration-test -- --to-edit opentdf-abacus
tilt ci
10 changes: 5 additions & 5 deletions client-web-test/Tiltfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
include('../projects/backend/Tiltfile')
include('../projects/backend/xtest.Tiltfile')

k8s_resource("opentdf-kas", resource_deps=["opentdf-attributes"], port_forwards="8000:8000")
k8s_resource("kas", resource_deps=["attributes"], port_forwards="8000:8000")
k8s_resource("keycloak", port_forwards="8080:8080")
k8s_resource(
"opentdf-xtest",
resource_deps=["keycloak-bootstrap", "keycloak", "opentdf-kas"],
resource_deps=["keycloak-bootstrap", "keycloak", "kas"],
auto_init=False,
trigger_mode=TRIGGER_MODE_MANUAL
)

local_resource(
"test-client-web",
"npm run test",
resource_deps=["keycloak", "keycloak-bootstrap", "opentdf-kas"]
resource_deps=["keycloak", "keycloak-bootstrap", "kas"]
)

local_resource(
"frontend-test",
"CI=true npm run test:playwright",
dir="../projects/frontend",
resource_deps=["keycloak", "keycloak-bootstrap", "opentdf-kas"]
resource_deps=["keycloak", "keycloak-bootstrap", "kas"]
)
2 changes: 1 addition & 1 deletion projects/backend
Submodule backend updated from 2c4ff4 to 792668
2 changes: 1 addition & 1 deletion projects/client-web
Submodule client-web updated from 8c8be6 to 7f189f
2 changes: 1 addition & 1 deletion projects/frontend
Submodule frontend updated from 2887de to 3e6ac9
6 changes: 3 additions & 3 deletions vulnerability/Tiltfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include('../projects/backend/Tiltfile')
include('../projects/backend/xtest.Tiltfile')

k8s_resource("opentdf-kas", resource_deps=["opentdf-attributes"], port_forwards="8000:8000")
k8s_resource("kas", resource_deps=["attributes"], port_forwards="8000:8000")
k8s_resource("keycloak", port_forwards="8080:8080")
k8s_resource(
"opentdf-xtest",
resource_deps=["bootstrap-keycloak", "keycloak", "opentdf-kas"],
resource_deps=["bootstrap-keycloak", "keycloak", "kas"],
auto_init=False,
trigger_mode=TRIGGER_MODE_MANUAL
)
Expand Down
8 changes: 4 additions & 4 deletions xtest/Tiltfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include('../projects/backend/Tiltfile')
include('../projects/backend/xtest.Tiltfile')

k8s_resource("opentdf-kas", resource_deps=["opentdf-attributes"], port_forwards="8000:8000")
k8s_resource("keycloak", port_forwards="8080:8080")
#k8s_resource("kas", resource_deps=["attributes"], port_forwards="8000:8000")
#k8s_resource("keycloak", port_forwards="8080:8080")

local_resource(
"test",
"npm run test",
resource_deps=["keycloak", "opentdf-kas"]
resource_deps=["backend", "keycloak-bootstrap"]
)