diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5c9187e..685144e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,10 @@ jobs: cloai_service: image: cmidair/cloai-service:main ports: - - 8000:8000 + - 8001:8001 + env: + PORT: 8001 + CONFIG_JSON: {clients: {}} env: LANGUAGE_TOOL_URL: http://localhost:8010/v2 AWS_ACCESS_KEY_ID: test @@ -26,7 +29,7 @@ jobs: AZURE_OPENAI_API_KEY: test AZURE_OPENAI_LLM_DEPLOYMENT: test AZURE_OPENAI_ENDPOINT: test - CLOAI_SERVICE_URL: http://localhost:8000/v1 + CLOAI_SERVICE_URL: http://localhost:8001/v1 CLOAI_MODEL: test runs-on: ubuntu-latest steps: diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml deleted file mode 100644 index b8c36cf..0000000 --- a/azure-pipelines.yaml +++ /dev/null @@ -1,61 +0,0 @@ -trigger: -- main - -pr: -- main - -pool: - vmImage: ubuntu-latest - - -services: - languagetool: - image: erikvl87/languagetool:6.5 - ports: - - 8010:8010 - cloai: - image: cmidair/cloai-service:main - ports: - - 8000:8000 - env: - AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID) - AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY) - CONFIG_JSON: | - { - "clients": { - "sonnet-3.5-v2": { - "type": "bedrock-anthropic", - "model": "anthropic.claude-3-5-sonnet-20241022-v2:0", - "aws_access_key": "$(AWS_ACCESS_KEY_ID)", - "aws_secret_key": "$(AWS_SECRET_ACCESS_KEY)", - "region": "us-west-2" - } - } - } - - -steps: -- task: UsePythonVersion@0 - inputs: - versionSpec: '3.11' - addToPath: true - -- script: | - python -m pip install uv - uv sync - displayName: Install dependencies - -- script: uv run python tests/integration/azure_test_intakes.py - displayName: Run test_intake.py - env: - SURVEY_IDS: $(SURVEY_IDS) - REDCAP_API_TOKEN: $(REDCAP_API_TOKEN) - AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID) - AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY) - LANGUAGE_TOOL_URL: http://localhost:8010/v2 - AZURE_BLOB_CONNECTION_STRING: unused - AZURE_OPENAI_API_KEY: unused - AZURE_OPENAI_LLM_DEPLOYMENT: unused - AZURE_OPENAI_ENDPOINT: unused - CLOAI_SERVICE_URL: http://localhost:8000/v1 - CLOAI_MODEL: sonnet-3.5-v2