mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-17 21:54:20 +01:00
refactor: repo name
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -71,13 +71,13 @@ jobs:
|
||||
with:
|
||||
filters: |
|
||||
changed:
|
||||
- src/options/generate/static_files/base_image/**
|
||||
- dev_gpt/options/generate/static_files/base_image/**
|
||||
|
||||
- name: Get base image tag
|
||||
if: steps.check.outputs.changed == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
FILE='src/constants.py'
|
||||
FILE='dev_gpt/constants.py'
|
||||
VERSION=$(sed -n '/DOCKER_BASE_IMAGE_VERSION =/p' $FILE | cut -d \' -f2)
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
include requirements.txt
|
||||
include dev-gpt.cmd
|
||||
recursive-include src/options/generate/static_files/ *
|
||||
recursive-include dev_gpt/options/generate/static_files/ *
|
||||
@@ -242,7 +242,7 @@ jcloud:
|
||||
version: 3.15.1.dev14
|
||||
labels:
|
||||
creator: microchain
|
||||
name: dev-gpt
|
||||
name: gptdeploy
|
||||
gateway:
|
||||
{f"uses: {prefix}://{get_user_name(DEMO_TOKEN)}/Gateway{executor_name}:latest" if use_custom_gateway else ""}
|
||||
{"" if use_docker else "install-requirements: True"}
|
||||
|
||||
@@ -148,7 +148,7 @@ metas:
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), 'static_files', 'microservice', 'jina_wrapper.py'), 'r', encoding='utf-8') as f:
|
||||
microservice_executor_boilerplate = f.read()
|
||||
microservice_executor_code = microservice_executor_boilerplate.replace('class Dev-GPTExecutor(Executor):',
|
||||
microservice_executor_code = microservice_executor_boilerplate.replace('class DevGPTExecutor(Executor):',
|
||||
f'class {microservice_name}(Executor):')
|
||||
persist_file(microservice_executor_code, os.path.join(MICROSERVICE_FOLDER_v1, EXECUTOR_FILE_NAME))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user