-
Notifications
You must be signed in to change notification settings - Fork 12
50 lines (47 loc) · 1.21 KB
/
pull-request.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
45
46
47
48
49
50
name: Pull-request
on:
pull_request:
branches:
- master
env:
DOCKER_HOSTNAME: ghcr.io
DOCKER_NAMESPACE: fybrik
DOCKER_USERNAME: ${{ github.actor }}
AWS_PAGER: ""
AWS_EC2_METADATA_DISABLED: true
GO_VERSION: 1.19
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
kubectlVersion: 'kind25'
fybrikVersion: 'master'
moduleVersion: 'master'
certManagerVersion: '1.6.2'
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install pipenv
- name: Install tools
run: make install-tools
- name: Install AWS cli
uses: unfor19/install-aws-cli-action@v1
with:
version: 2 # default
verbose: false # default
- name: run-test
run: pushd hack && ./test_module.sh $kubectlVersion $fybrikVersion $moduleVersion $certManagerVersion
- name: Build docker image
run: make build