github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/.buildkite/pipeline.yml (about)

     1  common: &common
     2    timeout_in_minutes: 20
     3    agents:
     4      queue: workers
     5    retry:
     6      # Automatically retry failures one time.
     7      automatic:
     8        limit: 1
     9      # Allow manual retries.
    10      manual: true
    11  
    12  # Temporarily disable codecov while we investigate issues with uploading.
    13  env:
    14    SKIP_CODECOV: "true"
    15  
    16  steps:
    17    - name: "Codegen"
    18      command: make clean install-vendor-m3 test-all-gen
    19      env:
    20        CGO_ENABLED: 0
    21        GIMME_GO_VERSION: 1.18.x
    22      plugins:
    23          gopath-checkout#v1.0.1:
    24            import: github.com/m3db/m3
    25      <<: *common
    26    - name: "Unit %n"
    27      command: make clean install-vendor-m3 test-base
    28      parallelism: 4
    29      plugins:
    30        docker-compose#v2.5.1:
    31          run: app
    32          workdir: /go/src/github.com/m3db/m3
    33      <<: *common
    34    - name: "Big Unit %n"
    35      command: make clean install-vendor-m3 test-big-base
    36      parallelism: 2
    37      plugins:
    38        docker-compose#v2.5.1:
    39          run: app
    40          workdir: /go/src/github.com/m3db/m3
    41      <<: *common
    42    - name: "Services, Tools"
    43      command: make clean install-vendor-m3 services tools
    44      plugins:
    45        docker-compose#v2.5.1:
    46          run: app
    47          workdir: /go/src/github.com/m3db/m3
    48      <<: *common
    49    - name: "Lint"
    50      command: make clean lint
    51      env:
    52        CGO_ENABLED: 0
    53      plugins:
    54        docker-compose#v2.5.1:
    55          run: app
    56          workdir: /go/src/github.com/m3db/m3
    57      <<: *common
    58    - name: "Integration (:docker:)"
    59      command: make clean install-vendor-m3 docker-integration-test
    60      parallelism: 2
    61      env:
    62        CGO_ENABLED: 0
    63        GIMME_GO_VERSION: 1.18.x
    64      plugins:
    65          gopath-checkout#v1.0.1:
    66            import: github.com/m3db/m3
    67      <<: *common
    68    - label: "M3 Cluster Integration Tests"
    69      command: make clean test-ci-cluster-integration
    70      env:
    71        CGO_ENABLED: 0
    72        GIMME_GO_VERSION: 1.18.x
    73      plugins:
    74        gopath-checkout#v1.0.1:
    75          import: github.com/m3db/m3
    76      <<: *common
    77    - label: "M3 Cluster Integration Test Harness Tests"
    78      command: make clean test-ci-test-harness
    79      skip: "NB(nate): temporarily disabling to resolve some tests flakes"
    80      plugins:
    81        docker-compose#v2.5.1:
    82          run: app
    83          workdir: /go/src/github.com/m3db/m3
    84      <<: *common
    85    - name: "Prometheus compatibility (:docker:)"
    86      command: make clean install-vendor-m3 docker-compatibility-test
    87      parallelism: 1
    88      env:
    89        CGO_ENABLED: 0
    90        GIMME_GO_VERSION: 1.18.x
    91      plugins:
    92          gopath-checkout#v1.0.1:
    93            import: github.com/m3db/m3
    94      <<: *common
    95    - name: "Integration (dbnode Recently Read) %n"
    96      parallelism: 2
    97      command: make clean install-vendor-m3 test-ci-integration-dbnode cache_policy=recently_read
    98      plugins:
    99        docker-compose#v2.5.1:
   100          run: app
   101          workdir: /go/src/github.com/m3db/m3
   102      <<: *common
   103    - name: "Integration (dbnode LRU) %n"
   104      parallelism: 2
   105      command: make clean install-vendor-m3 test-ci-integration-dbnode cache_policy=lru
   106      plugins:
   107        docker-compose#v2.5.1:
   108          run: app
   109          workdir: /go/src/github.com/m3db/m3
   110      <<: *common
   111    - name: "Integration (aggregator TCP client) %n"
   112      parallelism: 1
   113      command: make clean install-vendor-m3 test-ci-integration-aggregator aggregator_client=tcp
   114      plugins:
   115        docker-compose#v2.5.1:
   116          run: app
   117          workdir: /go/src/github.com/m3db/m3
   118      <<: *common
   119    - name: "Integration (aggregator m3msg client) %n"
   120      parallelism: 1
   121      command: make clean install-vendor-m3 test-ci-integration-aggregator aggregator_client=m3msg
   122      plugins:
   123        docker-compose#v2.5.1:
   124          run: app
   125          workdir: /go/src/github.com/m3db/m3
   126      <<: *common
   127    - label: "Integration (m3em, cluster, msg, metrics) %n"
   128      parallelism: 4
   129      command: make clean install-vendor-m3 test-ci-integration-m3em test-ci-integration-cluster test-ci-integration-msg test-ci-integration-metrics
   130      plugins:
   131        docker-compose#v2.5.1:
   132          run: app
   133          workdir: /go/src/github.com/m3db/m3
   134      <<: *common
   135    - name: "Documentation tests"
   136      command: make clean install-vendor-m3 docs-test
   137      env:
   138        CGO_ENABLED: 0
   139        GIMME_GO_VERSION: 1.18.x
   140      plugins:
   141          gopath-checkout#v1.0.1:
   142            import: github.com/m3db/m3
   143      <<: *common
   144    - label: "FOSSA license scan"
   145      command: make clean install-vendor-m3 fossa
   146      plugins:
   147        docker-compose#v2.5.1:
   148          run: app
   149          workdir: /go/src/github.com/m3db/m3
   150          env:
   151            - FOSSA_API_KEY
   152      <<: *common
   153    - name: "Check for docker and docs builds :docker: :books:"
   154      commands:
   155      - ".ci/docker/check_do_docker.sh"
   156      - ".buildkite/scripts/check_do_docs.sh"
   157      agents:
   158        queue: init
   159      timeout_in_minutes: 10
   160      retry:
   161        automatic:
   162          limit: 1
   163        manual: true