Skip to content

Commit

Permalink
Merge branch 'develop' into expert-contact-newbackend
Browse files Browse the repository at this point in the history
  • Loading branch information
nutfdt committed Jun 20, 2024
2 parents e4d44a4 + a8d1eef commit 204f221
Show file tree
Hide file tree
Showing 104 changed files with 4,887 additions and 5,851 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/dso-automatic-sync.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ jobs:
steps:
- run: cd /app && pytest

test-frontend-format:
name: Test Frontend Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Prettier check
working-directory: frontend
run: |
npm ci
npm run format-check
test-e2e:
name: Run E2E tests
needs: [build-backend, build-frontend]
Expand Down
6 changes: 3 additions & 3 deletions .gitlab-ci-dso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include:
file: vault-ci.yml
ref: main
- project: $CATALOG_PATH
file: kaniko-ci.yml
file: kaniko-ci-mirror.yml
ref: main

default:
Expand All @@ -30,7 +30,7 @@ docker-build-frontend:
BUILD_ARGS: --build-arg=VERSION=1.1.1
stage: docker-build
extends:
- .kaniko:build-push
- .kaniko-mirror:build-push

docker-build-backend:
variables:
Expand All @@ -40,4 +40,4 @@ docker-build-backend:
BUILD_ARGS: --build-arg=VERSION=1.1.1
stage: docker-build
extends:
- .kaniko:build-push
- .kaniko-mirror:build-push
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ repos:
args: ["--profile", "black"]
- repo: local
hooks:
- id: eslint
name: eslint
- id: prettier
name: prettier
entry: bash -c 'cd ./frontend && npm run format'
language: system
files: ^frontend/
4 changes: 1 addition & 3 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ user-agents==2.2.0
boto3==1.28.39
autodynatrace==2.0.0
# ML
ultralytics==8.1.2
opencv-python==4.9.0.80
onnxruntime==1.17.1
https://github.com/dnum-mi/basegun-ml/raw/MLPackages/MLpackages/basegun_ml/dist/basegunml-0.1.tar.gz
# Dev
pytest==7.4.3
coverage==7.3.2
Binary file removed backend/src/ml/measure/best_card.onnx
Binary file not shown.
Binary file removed backend/src/ml/measure/best_keypoints.pt
Binary file not shown.
Loading

0 comments on commit 204f221

Please sign in to comment.