Skip to content

Commit

Permalink
Easy2Use builds & test via GitHub Actions (eiffel-community#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
pef-ericsson committed Nov 10, 2023
1 parent c367da0 commit 23a2c8f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: easy2use-ci

on:
push:
pull_request:
branches: [ issue-4 ]

jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3

- name: Kubernetes Version
run: |
kubectl version
- name: Install Easy2Use on cluster
run: |
kubectl create ns ci-eiffel
./easy2use start -t Kubernetes -d cluster.local -e ./bundles -n ci-eiffel Eiffel -y
sleep 10
- name: List the Eiffel pods
run: |
kubectl get pods -n ci-eiffel
- name: Remove Easy2Use from cluster
run: |
./easy2use remove -t Kubernetes -d cluster.local -e ./bundles -n ci-eiffel Eiffel -y
kubectl delete ns ci-eiffel

0 comments on commit 23a2c8f

Please sign in to comment.