Skip to content

Commit

Permalink
chore: remove test halo on k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook committed Sep 29, 2024
1 parent 51c9365 commit 602c79d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/kbcli-test-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
description: 'test type (e.g. apecloud-mysql|postgresql|redis|mongodb|kafka|pulsar|mysqlscale|weaviate|qdrant|smartengine|
greptimedb|nebula|risingwave|starrocks|etcd|oceanbase|foxlake|orioledb|official-pg|asmysql|openldap|
polardbx|opensearch|elasticsearch|vllm|tdengine|milvus|clickhouse|pika|ggml|zookeeper|mariadb|tidb|xinference|
oracle|opengauss|influxdb|flink|solr|halo|mogdb|oceanbase-ent|starrocks-ent|apecloud-postgresql|yashandb|
oracle|opengauss|influxdb|flink|solr|mogdb|oceanbase-ent|starrocks-ent|apecloud-postgresql|yashandb|
redis-cluster|camellia-redis-proxy|dmdb|minio|orchestrator)'
type: string
required: false
Expand Down Expand Up @@ -855,23 +855,23 @@ jobs:
random-suffix: ${{ needs.test-kubeblocks.outputs.random-suffix }}
secrets: inherit

test-halo:
if: ${{ needs.terraform-init-k8s.result == 'success' && always() && (inputs.TEST_TYPE == '' || contains(inputs.TEST_TYPE, 'halo')) && ! contains(inputs.KB_VERSION, 'v0.5.') && ! contains(inputs.KB_VERSION, 'v0.6.') && ! contains(inputs.KB_VERSION, 'v0.7.') && ! contains(inputs.KB_VERSION, 'v0.8.') && ! contains(inputs.KB_VERSION, 'v1.0.') }}
needs: [ terraform-init-k8s, test-kubeblocks ]
uses: ./.github/workflows/test-kbcli.yml
with:
cloud-provider: ${{ inputs.CLOUD_PROVIDER }}
region: ${{ inputs.REGION }}
release-version: "${{ inputs.KB_VERSION }}"
previous-version: "${{ inputs.KB_PRE_VERSION }}"
test-type: "42"
test-type-name: "halo"
test-args: "${{ inputs.ARGS }}"
k8s-cluster-name: ${{ needs.terraform-init-k8s.outputs.k8s-cluster-name }}
artifact-name: cicd-${{ inputs.CLOUD_PROVIDER }}-${{ github.sha }}
branch-name: ${{ inputs.BRANCH_NAME }}
random-suffix: ${{ needs.test-kubeblocks.outputs.random-suffix }}
secrets: inherit
# test-halo:
# if: ${{ needs.terraform-init-k8s.result == 'success' && always() && (inputs.TEST_TYPE == '' || contains(inputs.TEST_TYPE, 'halo')) && ! contains(inputs.KB_VERSION, 'v0.5.') && ! contains(inputs.KB_VERSION, 'v0.6.') && ! contains(inputs.KB_VERSION, 'v0.7.') && ! contains(inputs.KB_VERSION, 'v0.8.') && ! contains(inputs.KB_VERSION, 'v1.0.') }}
# needs: [ terraform-init-k8s, test-kubeblocks ]
# uses: ./.github/workflows/test-kbcli.yml
# with:
# cloud-provider: ${{ inputs.CLOUD_PROVIDER }}
# region: ${{ inputs.REGION }}
# release-version: "${{ inputs.KB_VERSION }}"
# previous-version: "${{ inputs.KB_PRE_VERSION }}"
# test-type: "42"
# test-type-name: "halo"
# test-args: "${{ inputs.ARGS }}"
# k8s-cluster-name: ${{ needs.terraform-init-k8s.outputs.k8s-cluster-name }}
# artifact-name: cicd-${{ inputs.CLOUD_PROVIDER }}-${{ github.sha }}
# branch-name: ${{ inputs.BRANCH_NAME }}
# random-suffix: ${{ needs.test-kubeblocks.outputs.random-suffix }}
# secrets: inherit

test-mogdb:
if: ${{ needs.terraform-init-k8s.result == 'success' && always() && (inputs.TEST_TYPE == '' || contains(inputs.TEST_TYPE, 'mogdb')) && ! contains(inputs.KB_VERSION, 'v0.5.') && ! contains(inputs.KB_VERSION, 'v0.6.') && ! contains(inputs.KB_VERSION, 'v0.7.') }}
Expand Down Expand Up @@ -1064,7 +1064,7 @@ jobs:
test-pika, test-opensearch, test-elasticsearch, test-vllm, test-orioledb,
test-official-pg, test-ggml, test-zookeeper, test-mariadb , test-tidb,
test-xinference, test-oracle , test-opengauss, test-influxdb, test-flink,
test-solr, test-halo, test-mogdb, test-oceanbase-ent, test-starrocks-ent,
test-solr, test-mogdb, test-oceanbase-ent, test-starrocks-ent,
test-apecloud-postgresql, test-yashandb, test-redis-cluster, test-camellia-redis-proxy,
test-dmdb, test-minio, test-orchestrator ]
steps:
Expand Down Expand Up @@ -1254,9 +1254,9 @@ jobs:
TEST_RESULT="${TEST_RESULT}##solr|${{ needs.test-solr.outputs.test-result }}"
fi
if [[ "${{ inputs.TEST_TYPE }}" == '' || "${{ inputs.TEST_TYPE }}" == *"halo"* ]]; then
TEST_RESULT="${TEST_RESULT}##halo|${{ needs.test-halo.outputs.test-result }}"
fi
# if [[ "${{ inputs.TEST_TYPE }}" == '' || "${{ inputs.TEST_TYPE }}" == *"halo"* ]]; then
# TEST_RESULT="${TEST_RESULT}##halo|${{ needs.test-halo.outputs.test-result }}"
# fi

if [[ "${{ inputs.TEST_TYPE }}" == '' || "${{ inputs.TEST_TYPE }}" == *"oceanbase-ent"* ]]; then
TEST_RESULT="${TEST_RESULT}##oceanbase-ent|${{ needs.test-oceanbase-ent.outputs.test-result }}"
Expand Down

0 comments on commit 602c79d

Please sign in to comment.