forked from labring/laf
-
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.
ci: init e2e(check deployment and app create) (labring#1056)
Signed-off-by: Bird <aflybird0@gmail.com>
- Loading branch information
1 parent
ba1f5f9
commit 8e88d13
Showing
7 changed files
with
429 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
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
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,36 @@ | ||
name: e2e | ||
|
||
on: | ||
repository_dispatch: | ||
types: [cluster_image_build_success, dockerize_runtime_success] | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DOMAIN: 127.0.0.1.nip.io | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Remove builtin docker | ||
run: | | ||
sudo apt-get remove -y moby-engine moby-cli moby-buildx moby-compose | ||
- name: Deploy laf | ||
env: | ||
DOMAIN: ${{ env.DOMAIN }} | ||
working-directory: deploy/scripts | ||
run: sudo sh install-on-linux.sh $DOMAIN # this script will install sealos and laf | ||
|
||
- name: Run E2E Test | ||
working-directory: e2e | ||
run: | | ||
sudo sh e2e.sh | ||
Oops, something went wrong.