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

Add e2e tests #342

Open
wants to merge 94 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
d7d6742
move kratos_ui to kratos-ui for consistency
Bdegraaf1234 Jul 8, 2024
581de49
update rest-source-authorizer
Bdegraaf1234 Jul 8, 2024
9b82693
Add hydra to k3s
Bdegraaf1234 Jul 8, 2024
c1b5548
Improve hydra chart
Bdegraaf1234 Jul 12, 2024
5f44643
Merge remote-tracking branch 'origin/dev' into ory-hydra
yatharthranjan Sep 24, 2024
0348335
enable and update hydra deployment
yatharthranjan Sep 24, 2024
06293d3
fix indent
yatharthranjan Sep 24, 2024
74bfc3f
use radar maintained Hydra helm chart
yatharthranjan Sep 24, 2024
dbfd18c
Add custom subject, researcher, admin schemas
mpgxvii Sep 24, 2024
9df2177
Add webhook jsonnet as base64 string
mpgxvii Sep 24, 2024
e0cfc03
fix typo
yatharthranjan Sep 24, 2024
a744d7c
fix kratos-ui config path
yatharthranjan Sep 24, 2024
d47e19d
fix hydra config
yatharthranjan Sep 25, 2024
7fb72a6
minor property fix
yatharthranjan Sep 25, 2024
4af6790
add jwt:scope_claim and PR suggestions
yatharthranjan Sep 30, 2024
6c4b10a
Fix hydra admin nginx configs
mpgxvii Oct 4, 2024
dc5443b
Fix kratos and kratos-ui nginx configs
mpgxvii Oct 4, 2024
9768941
Restore jwt config
mpgxvii Oct 4, 2024
e2791eb
Update to use new version of kratos-ui chart
mpgxvii Oct 4, 2024
d2bd73c
Update kratos auth provider to use hydra admin endpoint
mpgxvii Oct 6, 2024
6ffd19d
Merge pull request #280 from RADAR-base/ory-hydra
mpgxvii Oct 7, 2024
1eba66f
Update nginx config and disable liveness and readiness probe temporarily
mpgxvii Oct 8, 2024
6bfdbbe
Added nifi helm charts
Hsankesara Dec 4, 2024
62c0ad0
Added ingress default values for nifi
Hsankesara Dec 4, 2024
af02efb
updated zookeeper typo
Hsankesara Dec 4, 2024
10748a0
updated base-secrets.yaml
Hsankesara Dec 4, 2024
188d883
updated cetic/nifi to radar/nifi
Hsankesara Dec 16, 2024
93e9835
changed cert-manger to certManager
Hsankesara Dec 16, 2024
0af434f
updated ingress annotations and default values
Hsankesara Jan 6, 2025
04cfc1d
Merge pull request #336 from RADAR-base/nifi-integration
Hsankesara Jan 6, 2025
f8a5906
Merge branch 'dev' of https://github.com/RADAR-base/RADAR-Kubernetes …
mpgxvii Jan 18, 2025
b7824a9
Update hydra configs
mpgxvii Jan 18, 2025
7cc89d8
Merge branch 'main' of github.com:RADAR-base/RADAR-Kubernetes into ma…
keyvaann Jan 23, 2025
d238685
Added hydra to the postgres databases
keyvaann Jan 24, 2025
629782a
Remove unnecessary nginx annotation in schema registry
mpgxvii Jan 27, 2025
234248e
Merge pull request #331 from RADAR-base/fix-kratos-ui
keyvaann Jan 27, 2025
b7dae48
Merge pull request #345 from RADAR-base/main-to-dev
keyvaann Jan 27, 2025
832e1d8
Update chart version
keyvaann Jan 27, 2025
6a97c5c
Fixed self-enrolment-ui tls configuration
keyvaann Jan 27, 2025
60a3208
Updated data-dashboard-backend chart
keyvaann Jan 28, 2025
d447332
Merge pull request #347 from RADAR-base/chart-updates-jan
keyvaann Jan 30, 2025
88ed19f
Add files for e2e test
pvannierop Oct 25, 2024
f2ab1ab
Update test scripts
pvannierop Oct 28, 2024
36b2d66
Add MockServer service
pvannierop Oct 30, 2024
e17f40e
Add wait for Minio
pvannierop Oct 30, 2024
5a2e157
Add utils script
pvannierop Oct 30, 2024
579a7c6
Fitbit registration tests
pvannierop Nov 1, 2024
5dbb23a
WIP
pvannierop Nov 3, 2024
d523d3a
Fix output restructure index cache
pvannierop Nov 3, 2024
88ddd41
WIP add mockserver
pvannierop Nov 3, 2024
ba2f328
Use 0.6 version of ligfx/k3d-registry-dockerd
pvannierop Nov 15, 2024
fe4b879
WIP
pvannierop Nov 15, 2024
0d8f0ff
WIP2
pvannierop Nov 20, 2024
bda902a
Allow e2e test config to enable certain services
pvannierop Dec 10, 2024
f317595
Fix fitbit test
pvannierop Dec 10, 2024
27fdb82
Fix config for mockserver
ewelinagr Dec 10, 2024
ce68bb1
Fix fitbit test script
pvannierop Dec 11, 2024
bfbc58f
Fix mistake in comments for ksql_server deployment
pvannierop Dec 12, 2024
c55afee
Fix whitespace
pvannierop Dec 18, 2024
b83ec4b
Add tests for data-dashboard-backend
pvannierop Dec 18, 2024
9ef01d3
Fix start of timescaledbs
pvannierop Dec 19, 2024
c650c6a
Fix start of ksql-server
pvannierop Dec 19, 2024
6a424c4
Remove monitoring from ksql-server
pvannierop Dec 19, 2024
42cb35f
Fix test logic for check in s3 output storage
pvannierop Dec 19, 2024
53ac599
Update fitbit timings
pvannierop Dec 20, 2024
df7d3ee
Refactor fitbit test
pvannierop Dec 20, 2024
5aaf1e3
Add grafana-metrics database test
pvannierop Dec 20, 2024
056e2ff
WIP python behave tests
pvannierop Jan 3, 2025
c474608
WIP python behave tests 2
pvannierop Jan 3, 2025
69048e1
WIP python behave tests 3
pvannierop Jan 3, 2025
f6d6410
WIP python behave tests 4
pvannierop Jan 3, 2025
17f6f85
WIP python behave tests 4
pvannierop Jan 5, 2025
a0ab2cc
WIP python behave tests 5
pvannierop Jan 5, 2025
071d717
WIP python behave tests 6
pvannierop Jan 6, 2025
cf6ee35
WIP python behave tests 7
pvannierop Jan 7, 2025
1116146
Turn of deduplication on output-storage
pvannierop Jan 16, 2025
a15cee6
WIP Fitbit 2
pvannierop Jan 17, 2025
d6b5022
WIP
pvannierop Jan 17, 2025
9e4d2ad
WIP Fitbit 3
pvannierop Jan 20, 2025
9871ed8
WIP Fitbit 4
pvannierop Jan 20, 2025
05f2f2f
WIP data dashboard backend 1
pvannierop Jan 20, 2025
2316f00
WIP grafana metrics 1
pvannierop Jan 20, 2025
8ebec9b
Update requirements
pvannierop Jan 21, 2025
db86446
Clean
pvannierop Jan 21, 2025
6a18413
Add behave test to Github action
pvannierop Jan 21, 2025
5b179f1
Fix path to chart
pvannierop Jan 21, 2025
bfb2c17
Add behave test to Github action
pvannierop Jan 21, 2025
04fd152
Enable e2e-profile in installation test
pvannierop Jan 21, 2025
c6fe56e
Retrieve s3 secrets from secrets file
pvannierop Jan 21, 2025
8b520ef
Fix path to secrets file
pvannierop Jan 21, 2025
0f259f1
Fix url
pvannierop Jan 21, 2025
665a293
Try concurrency 1
pvannierop Jan 21, 2025
d27bed0
WIP
pvannierop Feb 12, 2025
904da2b
Correct path to secrets file
pvannierop Feb 12, 2025
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/ci_config/k3d-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ volumes:
- server:0
registries:
create:
image: ligfx/k3d-registry-dockerd:v0.5
image: ligfx/k3d-registry-dockerd:v0.6
proxy:
remoteURL: "*"
volumes:
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:

- uses: actions/checkout@v3

- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'

- name: Install dependencies
env:
HELM_VERSION: "v3.16.3"
Expand All @@ -38,6 +43,9 @@ jobs:
run: |
./.github/ci_config/bin/install-dependencies

- name: Install Python dependencies
run: pip install -r test/features/requirements.txt

- name: Prepare the environment (add secrets and enable installation of all components)
run: |
DNAME='CN=CI,O=TheHyve,L=Utrecht,C=NL' ./bin/init
Expand All @@ -46,6 +54,7 @@ jobs:
sed -i "/secrets.yaml/a $helmfile_mods" environments.yaml
sed -i '/_install: /s/false/true/' etc/production.yaml
sed -i '/enable_logging_monitoring: /s/false/true/' etc/production.yaml
sed -i '/e2e_test: /s/false/true/' etc/production.yaml

- name: Run helmfile template
env:
Expand All @@ -68,9 +77,13 @@ jobs:
run: |
echo "kubeconfig: $KUBECONFIG"
kubectl get pods --all-namespaces

helmfile sync --concurrency 1

- name: Run end-to-end tests
run: |
cd test/features
behave -D secrets_file=$GITHUB_WORKSPACE/etc/secrets.yaml -D url=https://example.com

# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Manually triggered tmate session
uses: mxschmitt/action-tmate@v3
Expand Down
3 changes: 3 additions & 0 deletions environments.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ environments:
- ../mods/minimal_kafka.yaml.gotmpl
- ../mods/fast_deploy.yaml
{{ end }}
{{ if .Values.e2e_test }}
- ../mods/e2e.yaml
{{ end }}

---

Expand Down
10 changes: 10 additions & 0 deletions etc/base-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,13 @@ velero:
[default]
aws_access_key_id=change_me
aws_secret_access_key=change_me

nifi:
properties:
sensitiveKey: secret
auth:
singleUser:
username: username
password: change_me
certManager:
keystorePasswd: secret
Loading
Loading