forked from eiffel-community/eiffel-easy2use
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Easy2Use builds & test via GitHub Actions (eiffel-community#4)
- Loading branch information
1 parent
c367da0
commit 23a2c8f
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |