-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into proxy-processor
Signed-off-by: Haishi2016 <hbai@microsoft.com>
- Loading branch information
Showing
471 changed files
with
46,549 additions
and
3,218 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 |
---|---|---|
@@ -1 +1 @@ | ||
0.48.28 | ||
0.48.32 |
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,111 @@ | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: fault | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- 'release/**' | ||
pull_request: | ||
branches: | ||
- main | ||
- 'release/**' | ||
workflow_dispatch: | ||
env: | ||
ContainerRegistry: "ghcr.io" | ||
ContainerRegistryRepo: "ghcr.io/eclipse-symphony" | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.22.4 | ||
|
||
- name: Set up custom GOPATH | ||
run: | | ||
mkdir -p /home/runner/go | ||
echo "export GOPATH=/home/runner/go" >> $HOME/.bashrc | ||
echo "export PATH=\$PATH:\$GOPATH/bin" >> $HOME/.bashrc | ||
source $HOME/.bashrc | ||
- name: Install make | ||
run: sudo apt-get update && sudo apt-get install -y build-essential | ||
|
||
- name: Check docker version and images | ||
run: docker --version && docker images | ||
|
||
- name: Install kubectl | ||
run: | | ||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | ||
chmod +x kubectl | ||
sudo mv ./kubectl /usr/local/bin/kubectl | ||
kubectl version --client | ||
kubectl config view | ||
- name: Install Helm | ||
run: | | ||
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | ||
chmod 700 get_helm.sh | ||
./get_helm.sh | ||
- name: Install minikube | ||
run: | | ||
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | ||
chmod +x minikube | ||
sudo mv minikube /usr/local/bin/ | ||
minikube start | ||
kubectl config view | ||
- name: Install Mage | ||
run: | | ||
cd .. | ||
git clone https://github.com/magefile/mage | ||
cd mage | ||
go run bootstrap.go | ||
cd .. | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.ContainerRegistry }} | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build docker images | ||
run: | | ||
cd test/localenv/ | ||
mage build:apifault | ||
mage build:k8sfault | ||
mage cluster:up | ||
- name: Go work init | ||
run: | | ||
mv go.work.bk go.work | ||
- name: Run fault tests | ||
run: | | ||
cd test/integration/scenarios/faultTests/ && mage faulttests | ||
- name: Collect and upload symphony logs | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: symphony-logs | ||
path: | | ||
/tmp/symphony-integration-test-logs/**/*.log | ||
continue-on-error: true | ||
if: always() | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
|
@@ -18,4 +18,7 @@ | |
piccolo/target | ||
|
||
go.work | ||
*.log | ||
*.log | ||
|
||
docs-site/node_modules | ||
docs-site/.hugo_build.lock |
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,10 @@ | ||
[submodule "landing/public"] | ||
path = landing/public | ||
url = git@github.com:eclipse-symphony/symphony-website.git | ||
branch = main | ||
[submodule "docs-site/public"] | ||
path = docs-site/public | ||
url = git@github.com:eclipse-symphony/docs.git | ||
[submodule "docs-site/themes/docsy"] | ||
path = docs-site/themes/docsy | ||
url = https://github.com/google/docsy.git |
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
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
Oops, something went wrong.