github.com/pachyderm/pachyderm@v1.13.4/.circleci/config.yml (about)

     1  version: 2.1
     2  
     3  orbs:
     4    go: circleci/go@1.6.0
     5  
     6  parameters:
     7    run_flaky_tests:
     8      type: string
     9      default: ""
    10    retain_slots:
    11      type: string
    12      default: "0"
    13  
    14  jobs:
    15    circleci:
    16      parameters:
    17        bucket:
    18          type: string
    19      resource_class: large
    20      machine:
    21        image: ubuntu-2004:202101-01
    22      environment:
    23        PPS_BUCKETS: "6"
    24        AUTH_BUCKETS: "2"
    25        RUN_BAD_TESTS: "1"
    26        GOPROXY: https://proxy.golang.org
    27        BUCKET: << parameters.bucket >>
    28        BIGQUERY_PROJECT: alysha-dev-006
    29        BIGQUERY_DATASET: pach_test
    30        BIGQUERY_TABLE: test_runs
    31        TEST_RESULTS_BUCKET: pach-test-data
    32      steps:
    33        - checkout
    34        - restore_cache:
    35           keys:
    36           - pach-build-dependencies-{{ checksum "etc/testing/circle/install.sh" }}
    37           - pach-build-dependencies-
    38        - run: etc/testing/circle/install.sh 
    39        - save_cache:
    40           key: pach-build-dependencies-{{ checksum "etc/testing/circle/install.sh" }}
    41           paths:
    42           - cached-deps/
    43        - run: etc/testing/circle/start-minikube.sh 
    44        - restore_cache:
    45           keys:
    46           - pach-go-cache-1.13-{{ .Branch }}
    47           - pach-go-cache-1.13-
    48        - run: etc/testing/circle/build.sh 
    49        - run: etc/testing/circle/launch.sh 
    50        - run: etc/testing/circle/run_tests.sh 
    51        - save_cache:
    52           key: pach-go-cache-1-13.{{ .Branch }}
    53           paths:
    54           - /home/circleci/.go_workspace/pkg/mod
    55           - /home/circleci/.gocache
    56        - run: etc/testing/circle/upload_stats.sh 
    57        - run:
    58            name: Dump debugging info in case of failure
    59            when: on_fail
    60            command: etc/testing/circle/kube_debug.sh
    61        - store_test_results:
    62            path: /tmp/test-results
    63        - store_artifacts:
    64            path: /tmp/test-results
    65  
    66  workflows:
    67    circleci:
    68      jobs:
    69        - circleci:
    70            matrix:
    71              parameters:
    72                bucket:
    73                - MISC
    74                # If you want to update the number of PPS or auth buckets, you'll neet to
    75                # update the value of PPS_BUCKETS or AUTH_BUCKETS above
    76                - ADMIN
    77                - AUTH1
    78                - AUTH2
    79                - PFS
    80                - PPS1
    81                - PPS2
    82                - PPS3
    83                - PPS4
    84                - PPS5
    85                - PPS6
    86                - EXAMPLES
    87                - OBJECT