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

chore: bump epam/ai-dial-ci from 1.10.2 to 1.11.0 #173

Merged
Merged
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/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
gitlab-dev-deploy:
if: ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'development' }}
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.10.2
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.11.0
with:
gitlab-project-id: "1823"
gitlab-project-ref: "master"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
e2e-tests:
if: ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'development' }}
uses: epam/ai-dial-ci/.github/workflows/e2e-test.yml@1.10.2
uses: epam/ai-dial-ci/.github/workflows/e2e-test.yml@1.11.0
with:
gitlab-project-id: "1843"
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:

jobs:
pr-title-check:
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.10.2
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.11.0
secrets:
ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ on:

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@1.10.2
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@1.11.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ on:

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@1.10.2
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@1.11.0
secrets: inherit
28 changes: 14 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ IMAGE_NAME ?= ai-dial-adapter-vertexai
PLATFORM ?= linux/amd64
DEV_PYTHON ?= 3.11
DOCKER ?= docker
VENV ?= .venv
POETRY ?= ${VENV}/bin/poetry
VENV_DIR ?= .venv
POETRY ?= $(VENV_DIR)/bin/poetry
POETRY_VERSION ?= 1.8.5
ARGS=

Expand All @@ -13,36 +13,36 @@ ARGS=
all: build

init_env:
python -m venv ${VENV}
${VENV}/bin/pip install poetry==${POETRY_VERSION} --quiet
python -m venv $(VENV_DIR)
$(VENV_DIR)/bin/pip install poetry==$(POETRY_VERSION) --quiet

install: init_env
${POETRY} env use python$(DEV_PYTHON)
${POETRY} install
$(POETRY) env use python$(DEV_PYTHON)
$(POETRY) install

build: install
${POETRY} build
$(POETRY) build

serve: install
${POETRY} run uvicorn "aidial_adapter_vertexai.app:app" \
$(POETRY) run uvicorn "aidial_adapter_vertexai.app:app" \
--reload --host "0.0.0.0" --port $(PORT) \
--workers=1 --env-file ./.env

clean:
${POETRY} run python -m scripts.clean
${POETRY} env remove --all
$(POETRY) run python -m scripts.clean
$(POETRY) env remove --all

lint: install
${POETRY} run nox -s lint
$(POETRY) run nox -s lint

format: install
${POETRY} run nox -s format
$(POETRY) run nox -s format

test: install
${POETRY} run nox -s test
$(POETRY) run nox -s test

integration_tests: install
${POETRY} run nox -s integration_tests
$(POETRY) run nox -s integration_tests

docker_test:
$(DOCKER) build --platform $(PLATFORM) -f Dockerfile.test -t $(IMAGE_NAME):test .
Expand Down
Loading