-
Notifications
You must be signed in to change notification settings - Fork 26
44 lines (44 loc) · 1.21 KB
/
integration_tests.yml
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
name: Integration Tests
on:
pull_request:
branches:
- '*'
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
# NOTE: these need to be valid kindest/node image versions
k8s_version: ['1.21.2', '1.22.7', '1.23.5']
steps:
- name: Disable Swap
run: |
sudo swapoff -a
sudo rm -f /swapfile
- uses: actions/checkout@v2
with:
path: kuby-core/
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Bundler
run: gem install bundler
- name: Install Kind
run: kuby-core/scripts/install-kind.sh
- name: Run Tests
run: kuby-core/scripts/integration.sh
env:
K8S_VERSION: ${{ matrix.k8s_version }}
PREBUNDLER_ACCESS_KEY_ID: "${{ secrets.PREBUNDLER_ACCESS_KEY_ID }}"
PREBUNDLER_SECRET_ACCESS_KEY: "${{ secrets.PREBUNDLER_SECRET_ACCESS_KEY }}"
RAILS_MASTER_KEY: "${{ secrets.RAILS_MASTER_KEY }}"