Skip to content

Nightly Smoketest

Nightly Smoketest #63

# 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