-
Notifications
You must be signed in to change notification settings - Fork 509
53 lines (50 loc) · 1.25 KB
/
hbase.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
47
48
49
50
51
52
53
#
# Author: Hari Sekhon
# Date: Tue Feb 4 09:53:28 2020 +0000
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/HariSekhon/Nagios-Plugins
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
#
# https://www.linkedin.com/in/HariSekhon
#
---
name: CI HBase
on:
push:
branches:
- master
- main
paths:
- '**/*hbase*'
schedule:
- cron: '0 10 * * *'
jobs:
build:
#name: build
timeout-minutes: 180
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-nagios-plugins # ${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-nagios-plugins
- uses: actions/cache@v1
with:
path: ~/.cpanm
key: ${{ runner.os }}-cpanm-nagios-plugins-${{ hashFiles('**/cpan-requirements.txt') }}
restore-keys: |
${{ runner.os }}-cpanm-nagios-plugins
- name: build
run: make
- name: zookeeper
run: make zookeeper
- name: test hbase
run: HBASE_IMAGE=hbase tests/test_hbase.sh
- name: test hbase dev
run: tests/test_hbase.sh