-
Notifications
You must be signed in to change notification settings - Fork 35
34 lines (32 loc) · 1.08 KB
/
test-addons.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
name: Test Addons
on:
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
jobs:
test-addons:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start minikube
uses: konveyor/tackle2-operator/.github/actions/start-minikube@main
- name: Build image in minikube
run: |
export SHELL=/bin/bash
eval $(minikube -p minikube docker-env)
make docker-build
- name: Install Tackle
uses: konveyor/tackle2-operator/.github/actions/install-tackle@main
with:
tackle-hub-image: tackle2-hub:latest
tackle-image-pull-policy: IfNotPresent
- name: Set host and namespace
run: |
echo "host=$(minikube ip)/hub" >> $GITHUB_ENV
echo "namespace=$(kubectl get tackles.tackle.konveyor.io --all-namespaces --no-headers | awk '{print $1}')" >> $GITHUB_ENV
- name: Test windup
uses: konveyor/tackle2-addon-windup/.github/actions/test-e2e-windup@main
with:
host: ${{ env.host }}
namespace: ${{ env.namespace }}