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

ci: backend-sdk-testing #564

Open
wants to merge 80 commits into
base: 0.29
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
2af0ac3
feat: uses containerised core in tests
namsnath Feb 13, 2025
648f854
update: runs docker compose in background
namsnath Feb 13, 2025
4a2c8a0
debugging test step
namsnath Feb 13, 2025
4aa77c8
ci: try running core as service
namsnath Feb 14, 2025
34e416e
ci: add explicit shells
namsnath Feb 14, 2025
75ea250
ci: add step to install make
namsnath Feb 14, 2025
fd0278d
ci: remove sudo
namsnath Feb 14, 2025
cbd40ee
ci: only install `make` with `-y`
namsnath Feb 14, 2025
45c8322
ci: don't use container for steps
namsnath Feb 14, 2025
cf5b04a
ci: add test results, disable fail-fast
namsnath Feb 14, 2025
d94ec10
ci: add args to Makefile
namsnath Feb 14, 2025
7725551
ci: test using custom action to fetch CDI/FDI data
namsnath Feb 14, 2025
c41f6a9
ci: test using custom action to fetch version data
namsnath Feb 14, 2025
a40d7a7
ci: add api key
namsnath Feb 14, 2025
cd3da5b
update: adds healthcheck to core container
namsnath Feb 17, 2025
ceb662e
update: test target defaults to setting up a container
namsnath Feb 17, 2025
4e90381
update: remove unit-test targets from Circle and GHA
namsnath Feb 17, 2025
d54104f
feat: adds option to pull specific image to docker compose
namsnath Feb 17, 2025
b8fb673
update: splits workflows, tries using docker locally in tests
namsnath Feb 17, 2025
3d17ea5
update: removes test-local target
namsnath Feb 17, 2025
8113d8e
update: removes `services` from GHA
namsnath Feb 17, 2025
3bb0b1b
doc: adds changelog
namsnath Feb 17, 2025
e6d1313
update: removes `st_init_common_args` constant
namsnath Feb 17, 2025
1dbb005
ci: test new API keys
namsnath Feb 17, 2025
f163ef5
update: use correct core version for docker
namsnath Feb 17, 2025
fa417d2
update: step names
namsnath Feb 17, 2025
6a3a9fd
update: step name
namsnath Feb 17, 2025
858b671
fix: core version access
namsnath Feb 17, 2025
df035ed
update: action variable names
namsnath Feb 17, 2025
98917c8
update: remove unit test shell scripts
namsnath Feb 17, 2025
016fd86
update: supported versions variable names
namsnath Feb 17, 2025
687b95e
update: output variable names
namsnath Feb 17, 2025
761db7f
update: use dev core image
namsnath Feb 18, 2025
dbd4887
update: uses core host and port variables for tests
namsnath Feb 20, 2025
f1bc5e3
update: adds core image platform to Docker compose
namsnath Feb 20, 2025
d1742df
update: simplify healthcheck command
namsnath Feb 20, 2025
6090672
update: workflow/job naming for consistency
namsnath Feb 24, 2025
52aa0e3
bump: version to 0.29.0
namsnath Feb 24, 2025
1a8351c
update: core image
namsnath Feb 24, 2025
d12d39d
fix: setuptools issue with `pdoc3`
namsnath Feb 24, 2025
9292827
update: add build-system to `pyproject`
namsnath Feb 24, 2025
4efcfcf
update: move upgrades inside venv
namsnath Feb 24, 2025
ea56b12
Revert "update: add build-system to `pyproject`"
namsnath Feb 24, 2025
96897b1
ci: backend-sdk-testing
namsnath Feb 17, 2025
ba45c68
ci: hard-code versions
namsnath Feb 17, 2025
d71000f
update: server paths
namsnath Feb 17, 2025
a741298
update: test paths
namsnath Feb 17, 2025
fe35f9b
ci: use junit reporter
namsnath Feb 17, 2025
3ed9d63
feat: add oauth container, use hard-coded branch
namsnath Feb 19, 2025
fe725af
update: report paths
namsnath Feb 19, 2025
e6a6b14
ci: test out reporting options
namsnath Feb 19, 2025
310067e
ci: test out reporting options
namsnath Feb 19, 2025
5d85e56
ci: test out reporting options
namsnath Feb 19, 2025
0f79e97
ci: remove prefix from test file names
namsnath Feb 19, 2025
cf9f26a
ci: remove prefix from test file names
namsnath Feb 19, 2025
0c82224
ci: remove prefix from test file names
namsnath Feb 19, 2025
fbd17b2
ci: remove prefix from test file names
namsnath Feb 19, 2025
6073d78
ci: remove prefix from test file names
namsnath Feb 19, 2025
bd24b83
ci: remove prefix from test file names
namsnath Feb 19, 2025
d83265c
ci: test new reporter
namsnath Feb 19, 2025
92f0e4c
ci: test new reporter
namsnath Feb 19, 2025
15bf131
ci: test new reporter
namsnath Feb 19, 2025
3e2f548
ci: test new reporter
namsnath Feb 19, 2025
0eaf345
ci: test new reporter
namsnath Feb 19, 2025
339d977
ci: test reporter 3
namsnath Feb 19, 2025
f49847b
ci: finalize reporter
namsnath Feb 19, 2025
004da08
update: workflow name
namsnath Feb 20, 2025
782199f
update: add core version to docker cmd
namsnath Feb 20, 2025
993ea0a
ci: try using composite action for tests
namsnath Feb 20, 2025
c781f1d
feat: add missing handling for tests
namsnath Feb 21, 2025
0929c25
fix: `removeDevice` API allowed removing TOTP devices without the use…
namsnath Feb 21, 2025
65c79e1
ci: use backend-sdk action, add FDI version
namsnath Feb 21, 2025
a6b723d
ci: fix backend-sdk-testing repo version
namsnath Feb 21, 2025
1dacd69
update: use all versions
namsnath Feb 24, 2025
4cf4abf
update: use rishab's oauth server image
namsnath Feb 24, 2025
df4d0ff
update: adds upgrades inside venv
namsnath Feb 24, 2025
5b55b07
update: remove circle CI files/refs
namsnath Feb 24, 2025
a787e2b
update: oauth image
namsnath Feb 26, 2025
ac76076
update: add ST envs, check name suffix
namsnath Feb 26, 2025
863a924
update: oauth platform
namsnath Feb 26, 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
72 changes: 0 additions & 72 deletions .circleci/config_continue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,6 @@ jobs:
steps:
- checkout
- run: (cd .circleci/ && ./markDevTagAsTestNotPassed.sh)
test-unit:
docker:
- image: python:<< parameters.python-version >>
resource_class: large
parameters:
cdi-version:
type: string
python-version:
type: string
parallelism: 4
steps:
- checkout
- run: apt update && apt install -y bc jq lsof
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
- run: (cd .circleci/ && ./installJava.sh)
- run: make dev-install
- run: (cd .circleci/ && ./doUnitTests.sh << parameters.cdi-version >>)
- store_test_results:
path: test-results/junit.xml
- slack/status
test-backend-sdk-testing:
docker:
- image: python:<< parameters.python-version >>
- image: rishabhpoddar/oauth-server-cicd
resource_class: large
parameters:
cdi-version:
type: string
fdi-version:
type: string
python-version:
type: string
steps:
- checkout
- run: apt update && apt install -y bc jq lsof
- run: (cd .circleci/ && ./installJava.sh)
- run: (cd .circleci/ && ./installNode.sh 20)
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
- run: python3 -m pip install -r dev-requirements.txt
- run: (cd .circleci/ && ./doBackendSDKTests.sh << parameters.cdi-version >> << parameters.fdi-version >>)
- slack/status
test-website-fastapi:
docker:
- image: python:<< parameters.python-version >>
Expand Down Expand Up @@ -315,35 +274,6 @@ workflows:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
only: /test-cicd\/.*/
- test-unit:
requires:
- test-dev-tag-as-not-passed
context:
- slack-notification
filters:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
only: /test-cicd\/.*/
matrix:
parameters:
cdi-version: placeholder
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
- test-backend-sdk-testing:
requires:
- test-dev-tag-as-not-passed
context:
- slack-notification
filters:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
only: /test-cicd\/.*/
matrix:
parameters:
cdi-version: placeholder
fdi-version: placeholder
python-version: ['3.8', '3.13']
- test-website-fastapi:
requires:
- test-dev-tag-as-not-passed
Expand Down Expand Up @@ -472,8 +402,6 @@ workflows:
python-version: ['3.8', '3.13']
- test-success:
requires:
- test-unit
- test-backend-sdk-testing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can only remove these after we completely switch over to GHA

- test-website-fastapi
- test-website-flask
- test-website-django
Expand Down
29 changes: 0 additions & 29 deletions .circleci/doBackendSDKTests.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .circleci/doUnitTests.sh

This file was deleted.

85 changes: 0 additions & 85 deletions .circleci/setupAndTestBackendSDKWithFreeCore.sh

This file was deleted.

63 changes: 0 additions & 63 deletions .circleci/setupAndTestWithFreeCore.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .github/helpers/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions .github/helpers/package.json

This file was deleted.

Loading
Loading