From 6d0ac887de72f7d142be9913d59958a0fad1ce57 Mon Sep 17 00:00:00 2001 From: zengk Date: Sat, 22 Jun 2024 13:03:41 -0700 Subject: [PATCH] Add kubernetes plugin to Codegen step --- .buildkite/pipeline.yml | 44 +++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 43be5df6dc..617558fb91 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -50,21 +50,19 @@ env: SKIP_CODECOV: "true" steps: -# - name: "Codegen" -# command: make clean install-vendor-m3 test-all-gen -# env: -# CGO_ENABLED: 0 -# GIMME_GO_VERSION: 1.18.x -# plugins: -# gopath-checkout#v1.0.1: -# import: github.com/m3db/m3 -# <<: *common - - name: "Unit %n" - parallelism: 4 + - name: "Codegen" + env: + CGO_ENABLED: 0 + GIMME_GO_VERSION: 1.18.x plugins: - docker-compose#v2.5.1: - run: app - workdir: /go/src/github.com/m3db/m3 + gopath-checkout#v1.0.1: + import: github.com/m3db/m3 + docker#v3.0.1: + image: us-west1-docker.pkg.dev/ci-compute/buildkite-images/buildkite-dind:v1 + always-pull: true + volumes: + - .:/go/src/github.com/m3db/m3 + - /var/run/docker.sock:/var/run/docker.sock kubernetes: <<: *kubernetes podSpec: @@ -73,8 +71,24 @@ steps: - <<: *commandContainer command: - |- - make clean install-vendor-m3 test-base + make clean install-vendor-m3 test-all-gen <<: *common +# - name: "Unit %n" +# parallelism: 4 +# plugins: +# docker-compose#v2.5.1: +# run: app +# workdir: /go/src/github.com/m3db/m3 +# kubernetes: +# <<: *kubernetes +# podSpec: +# <<: *podSpec +# containers: +# - <<: *commandContainer +# command: +# - |- +# make clean install-vendor-m3 test-base +# <<: *common # - name: "Big Unit %n" # command: make clean install-vendor-m3 test-big-base # parallelism: 2