-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
522 changed files
with
3,966 additions
and
846 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 |
---|---|---|
|
@@ -2,7 +2,10 @@ name: Fixturenet-Eth-Plugeth-Test | |
|
||
on: | ||
push: | ||
branches: 'ci-test' | ||
branches: '*' | ||
paths: | ||
- '!**' | ||
- '.gitea/workflows/triggers/fixturenet-eth-plugeth-test' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
|
@@ -16,8 +19,16 @@ jobs: | |
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
- name: "Install Python" | ||
uses: cerc-io/setup-python@v4 | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: "Print Python version" | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,10 @@ name: Fixturenet-Eth-Test | |
|
||
on: | ||
push: | ||
branches: 'ci-test' | ||
branches: '*' | ||
paths: | ||
- '!**' | ||
- '.gitea/workflows/triggers/fixturenet-eth-test' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
|
@@ -16,7 +19,15 @@ jobs: | |
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
- name: "Install Python" | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
|
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,55 @@ | ||
name: Fixturenet-Laconicd-Test | ||
|
||
on: | ||
push: | ||
branches: '*' | ||
paths: | ||
- '!**' | ||
- '.gitea/workflows/triggers/fixturenet-laconicd-test' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
DOCKER_HOST: unix:///var/run/dind.sock | ||
|
||
|
||
jobs: | ||
test: | ||
name: "Run an Laconicd fixturenet test" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Update' | ||
run: apt-get update | ||
- name: 'Setup jq' | ||
run: apt-get install jq -y | ||
- name: 'Check jq' | ||
run: | | ||
which jq | ||
jq --version | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: "Print Python version" | ||
run: python3 --version | ||
- name: "Install shiv" | ||
run: pip install shiv | ||
- name: "Generate build version file" | ||
run: ./scripts/create_build_tag_file.sh | ||
- name: "Build local shiv package" | ||
run: ./scripts/build_shiv_package.sh | ||
- name: Start dockerd # Also needed until we can incorporate into the executor | ||
run: | | ||
dockerd -H $DOCKER_HOST --userland-proxy=false & | ||
sleep 5 | ||
- name: "Run fixturenet-laconicd tests" | ||
run: ./tests/fixturenet-laconicd/run-test.sh |
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 |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
branches: | ||
- main | ||
- publish-test | ||
paths-ignore: | ||
- '.gitea/workflows/triggers/*' | ||
|
||
jobs: | ||
publish: | ||
|
@@ -18,7 +20,15 @@ jobs: | |
run: | | ||
build_tag=$(./scripts/create_build_tag_file.sh) | ||
echo "build-tag=v${build_tag}" >> $GITHUB_OUTPUT | ||
- name: "Install Python" | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,8 @@ on: | |
branches: | ||
- main | ||
- ci-test | ||
paths-ignore: | ||
- '.gitea/workflows/triggers/*' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
|
@@ -19,7 +21,15 @@ jobs: | |
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
- name: "Install Python" | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
|
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,55 @@ | ||
name: K8s Deploy Test | ||
|
||
on: | ||
pull_request: | ||
branches: '*' | ||
push: | ||
branches: | ||
- main | ||
- ci-test | ||
paths-ignore: | ||
- '.gitea/workflows/triggers/*' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
DOCKER_HOST: unix:///var/run/dind.sock | ||
|
||
jobs: | ||
test: | ||
name: "Run deploy test suite" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: "Print Python version" | ||
run: python3 --version | ||
- name: "Install shiv" | ||
run: pip install shiv | ||
- name: "Generate build version file" | ||
run: ./scripts/create_build_tag_file.sh | ||
- name: "Build local shiv package" | ||
run: ./scripts/build_shiv_package.sh | ||
- name: Start dockerd # Also needed until we can incorporate into the executor | ||
run: | | ||
dockerd -H $DOCKER_HOST --userland-proxy=false & | ||
sleep 5 | ||
- name: "Install Go" | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' | ||
- name: "Install Kind" | ||
run: go install sigs.k8s.io/[email protected] | ||
- name: "Debug Kind" | ||
run: kind create cluster --retain && docker logs kind-control-plane |
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,49 @@ | ||
name: Webapp Test | ||
|
||
on: | ||
pull_request: | ||
branches: '*' | ||
push: | ||
branches: | ||
- main | ||
- ci-test | ||
paths-ignore: | ||
- '.gitea/workflows/triggers/*' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
DOCKER_HOST: unix:///var/run/dind.sock | ||
|
||
jobs: | ||
test: | ||
name: "Run webapp test suite" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: "Print Python version" | ||
run: python3 --version | ||
- name: "Install shiv" | ||
run: pip install shiv | ||
- name: "Generate build version file" | ||
run: ./scripts/create_build_tag_file.sh | ||
- name: "Build local shiv package" | ||
run: ./scripts/build_shiv_package.sh | ||
- name: Start dockerd # Also needed until we can incorporate into the executor | ||
run: | | ||
dockerd -H $DOCKER_HOST --userland-proxy=false & | ||
sleep 5 | ||
- name: "Run webapp tests" | ||
run: ./tests/webapp-test/run-webapp-test.sh |
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 |
---|---|---|
|
@@ -7,6 +7,8 @@ on: | |
branches: | ||
- main | ||
- ci-test | ||
paths-ignore: | ||
- '.gitea/workflows/triggers/*' | ||
|
||
# Needed until we can incorporate docker startup into the executor container | ||
env: | ||
|
@@ -19,7 +21,15 @@ jobs: | |
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
- name: "Install Python" | ||
# At present the stock setup-python action fails on Linux/aarch64 | ||
# Conditional steps below workaroud this by using deadsnakes for that case only | ||
- name: "Install Python for ARM on Linux" | ||
if: ${{ runner.arch == 'arm64' && runner.os == 'Linux' }} | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: "Install Python cases other than ARM on Linux" | ||
if: ${{ ! (runner.arch == 'arm64' && runner.os == 'Linux') }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
|
@@ -38,3 +48,4 @@ jobs: | |
- name: "Run smoke tests" | ||
run: ./tests/smoke-test/run-smoke-test.sh | ||
|
||
|
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,2 @@ | ||
Change this file to trigger running the fixturenet-eth-plugeth-test CI job | ||
trigger |
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,2 @@ | ||
Change this file to trigger running the fixturenet-eth-test CI job | ||
|
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,2 @@ | ||
Change this file to trigger running the fixturenet-laconicd-test CI job | ||
|
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,30 @@ | ||
name: Fixturenet-Eth Test | ||
|
||
on: | ||
push: | ||
branches: '*' | ||
paths: | ||
- '!**' | ||
- '.github/workflows/triggers/fixturenet-eth-test' | ||
|
||
jobs: | ||
test: | ||
name: "Run fixturenet-eth test suite" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
- name: "Install Python" | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: "Print Python version" | ||
run: python3 --version | ||
- name: "Install shiv" | ||
run: pip install shiv | ||
- name: "Generate build version file" | ||
run: ./scripts/create_build_tag_file.sh | ||
- name: "Build local shiv package" | ||
run: ./scripts/build_shiv_package.sh | ||
- name: "Run fixturenet-eth tests" | ||
run: ./tests/fixturenet-eth/run-test.sh |
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,30 @@ | ||
name: Fixturenet-Laconicd Test | ||
|
||
on: | ||
push: | ||
branches: '*' | ||
paths: | ||
- '!**' | ||
- '.github/workflows/triggers/fixturenet-laconicd-test' | ||
|
||
jobs: | ||
test: | ||
name: "Run fixturenet-laconicd test suite" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Clone project repository" | ||
uses: actions/checkout@v3 | ||
- name: "Install Python" | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: "Print Python version" | ||
run: python3 --version | ||
- name: "Install shiv" | ||
run: pip install shiv | ||
- name: "Generate build version file" | ||
run: ./scripts/create_build_tag_file.sh | ||
- name: "Build local shiv package" | ||
run: ./scripts/build_shiv_package.sh | ||
- name: "Run fixturenet-laconicd tests" | ||
run: ./tests/fixturenet-laconicd/run-test.sh |
Oops, something went wrong.