Commit 9bcf4f18 authored by 胡凯旋's avatar 胡凯旋

test ci

parent 318b42df
Pipeline #2 failed
stages: stages:
- test - test
- build - build
- deploy_integration
- deploy_staging
- deploy_production
variables: variables:
MYSQL_DATABASE: test # MYSQL_DATABASE: test
MYSQL_ALLOW_EMPTY_PASSWORD: yes # MYSQL_ALLOW_EMPTY_PASSWORD: yes
SEA_ENV: testing # SEA_ENV: testing
DOCKER_HOST: tcp://dockerd:2375 # DOCKER_HOST: tcp://dockerd:2375
IMAGE: registry.mydocker.com/devops/${CI_PROJECT_NAMESPACE}-${CI_PROJECT_NAME} IMAGE: harbor.test.gengmei/backend/${CI_PROJECT_NAMESPACE}-${CI_PROJECT_NAME}
before_script: before_script:
- IMAGE_TAG=${IMAGE}:${CI_COMMIT_SHA:0:8} - IMAGE_TAG=${IMAGE}:${CI_COMMIT_SHA:0:8}
...@@ -27,8 +24,9 @@ test_all: ...@@ -27,8 +24,9 @@ test_all:
before_script: before_script:
- pip install -U -r requirements.txt - pip install -U -r requirements.txt
script: script:
- flake8 app jobs # - flake8 app jobs
- sea test # - sea test
- pwd
#========================================== Build Image ================================================= #========================================== Build Image =================================================
build_image: build_image:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment