-
Notifications
You must be signed in to change notification settings - Fork 95
46 lines (42 loc) · 1.48 KB
/
nightly-smoketest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 2024 The Cockroach Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This workflow tests that we can stand up a CRDB cluster with the operator and execute SQL in the cluster. It uses the
# steps that are outlined in our public docs to ensure that the flow we're recommending always works.
name: Nightly Smoketest
on:
schedule:
# runs at 3am UTC Mon-Fri
# ref: <min> <hr> <month-day> <month> <weekday>
- cron: '0 3 * * 1-5'
# allows running from the actions tab in GitHub
workflow_dispatch: ~
jobs:
smoketest:
runs-on: ubuntu-latest
strategy:
matrix:
# supported Kubenetes versions
NODE_VERSION: [1.19.16, 1.20.15, 1.21.9, 1.22.6, 1.23.3]
steps:
- uses: actions/checkout@v3
- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "~/.cache/bazel"
key: bazel
- name: Bank Workload
env:
NODE_VERSION: ${{ matrix.NODE_VERSION }}
run: make test/smoketest