Skip to content

Commit

Permalink
update: update print style
Browse files Browse the repository at this point in the history
  • Loading branch information
WGrape committed Mar 2, 2024
1 parent 9e99b27 commit b9b6db6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,23 @@ jobs:
CIManager:
runs-on: ubuntu-latest
env:
# ========================= CI =========================
# [stage] = pre
CI_STAGE_PRE_JOB_PRE_CHECK_SWITCH: "ON"
CI_STAGE_PRE_JOB_PRE_INSTALL_SWITCH: "ON"
CI_STAGE_TEST_JOB_CHECK_CODE_SWITCH: "ON"
# [stage] = test
CI_STAGE_TEST_JOB_UNIT_TEST_SWITCH: "ON"
CI_STAGE_BUILD_JOB_APIDOC_GEN_SWITCH: "ON"
CI_STAGE_TEST_JOB_UNIT_TEST_TRIGGER_CMD: "cd tests && bash test.sh"
CI_STAGE_TEST_JOB_CHECK_CODE_SWITCH: "ON"
# [stage] = build
CI_STAGE_BUILD_JOB_LOCAL_BUILD_SWITCH: "ON"
CI_STAGE_BUILD_JOB_APIDOC_GEN_SWITCH: "ON"
# ========================= CD =========================
# [stage] = deploy
CD_STAGE_DEPLOY_JOB_SSH_SWITCH: "ON"
# [stage] = monitor
CD_STAGE_MONITOR_JOB_API_TEST_SWITCH: "ON"
CD_STAGE_MONITOR_JOB_HEALTH_CHECK_SWITCH: "ON"


# variable configuration for [check code]
CHECK_CODE_SWITCH: "on"

# variable configuration for [unit test]
UNIT_TEST_SWITCH: "on"
UNIT_TEST_TRIGGER_CMD: "cd mock && go test -v . && cd .. && \
cd service && go test -v . && cd .."
steps:
- uses: actions/checkout@v1
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .pipeline/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ job_queue=(
"ci.stage_test.job_unit_test"

# [stage] = build
"ci.stage_build.job_apidoc_gen"
"ci.stage_build.job_local_build"
"ci.stage_build.job_apidoc_gen"
# ========================= CD =========================
# [stage] = deploy
# "cd.stage_deploy.job_pull_artifact"
Expand Down

0 comments on commit b9b6db6

Please sign in to comment.