From 6f063555500ddb4b5752c2f9a47e5447756a02b2 Mon Sep 17 00:00:00 2001 From: vivekpatani <9080894+vivekpatani@users.noreply.github.com> Date: Thu, 15 Feb 2024 20:13:01 -0800 Subject: [PATCH] *: add test-smoke to the pipeline and update test-smoke - add test-smoke to the tests.yaml pipeline - add bom and dep to the test-smoke definition - https://github.com/etcd-io/etcd/issues/17400 - https://github.com/etcd-io/etcd/issues/17401 - wait for https://github.com/etcd-io/etcd/pull/17433 to merge - wait for https://github.com/etcd-io/etcd/pull/17434 to merge Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com> --- .github/workflows/tests-template.yaml | 3 +++ .github/workflows/tests.yaml | 6 ++++-- Makefile | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests-template.yaml b/.github/workflows/tests-template.yaml index 6c54979b0c53..d0caacfec43b 100644 --- a/.github/workflows/tests-template.yaml +++ b/.github/workflows/tests-template.yaml @@ -37,6 +37,9 @@ jobs: echo "${TARGET}" case "${TARGET}" in + linux-test-smoke) + GOARCH=${{ inputs.arch }} CPU=4 RACE='false' make test-smoke + ;; linux-integration-1-cpu) GOARCH=${{ inputs.arch }} CPU=1 RACE='false' make test-integration ;; diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 01bccb64348b..1340e1851eda 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -6,7 +6,8 @@ jobs: with: arch: amd64 runs-on: ubuntu-latest - targets: "['linux-integration-1-cpu', + targets: "['linux-test-smoke', + 'linux-integration-1-cpu', 'linux-integration-2-cpu', 'linux-integration-4-cpu', 'linux-unit-4-cpu-race', @@ -17,7 +18,8 @@ jobs: with: arch: arm64 runs-on: actuated-arm64-8cpu-32gb - targets: "['linux-integration-1-cpu', + targets: "['linux-test-smoke', + 'linux-integration-1-cpu', 'linux-integration-2-cpu', 'linux-integration-4-cpu', 'linux-unit-4-cpu-race']" diff --git a/Makefile b/Makefile index 66b4aba9e81b..ef532f29a118 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,7 @@ test: test-smoke: $(info log-file: test-$(TEST_SUFFIX).log) - PASSES="fmt build unit" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log + PASSES="fmt bom dep build unit" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log test-full: $(info log-file: test-$(TEST_SUFFIX).log)