-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #958 from threefoldtech/development
update master branch with latest
- Loading branch information
Showing
73 changed files
with
1,292 additions
and
1,199 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
with: | ||
terraform_version: 1.0.11 | ||
terraform-version: 1.8.5 | ||
- name: install wg and yggdrasil and add peers | ||
run: | | ||
sudo apt-get update | ||
|
@@ -38,9 +38,9 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install yggdrasil | ||
sudo systemctl enable yggdrasil | ||
PEERS=$(curl https://raw.githubusercontent.com/threefoldtech/zos-config/main/development.json | jq '.yggdrasil.peers[]' -r | sed 's/\//\\\//g' | sed -z 's/\n/\\n/g') | ||
sudo sed -i -- 's/Peers\: \[\]/Peers: [\n'"$PEERS"']/g' /etc/yggdrasil/yggdrasil.conf | ||
sudo systemctl start yggdrasil | ||
PEERS=$(curl https://raw.githubusercontent.com/AhmedHanafy725/yggdrasil-config/main/config.json | jq '.yggdrasil.peers[]' -r | sed 's/\//\\\//g' | sed -z 's/\n/\\n/g') | ||
sudo sed -i -- 's/Peers\: \[\]/Peers: [\n'"$PEERS"']/g' /etc/yggdrasil/yggdrasil.conf | ||
sudo systemctl restart yggdrasil | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
@@ -50,9 +50,89 @@ jobs: | |
mkdir -p ~/.terraform.d/plugins/threefoldtechdev.com/providers/grid/0.2/linux_amd64/ | ||
go build -o terraform-provider-grid | ||
mv terraform-provider-grid ~/.terraform.d/plugins/threefoldtechdev.com/providers/grid/0.2/linux_amd64/ | ||
- name: Run Go Tests | ||
- name: Test virtual machines | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -timeout 3600s | ||
run: go test -v ./... --tags=integration -run TestVM | ||
|
||
- name: Test kubernetes | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: | | ||
go test -v ./... --tags=integration -run TestK8s | ||
go test -v ./... --tags=integration -run TestModuleK8s | ||
- name: Test Gateways | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestGatewayDeployments | ||
|
||
- name: Test private gateways | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestGatewayPrivate | ||
|
||
- name: Test wireguard | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestWireguard | ||
|
||
- name: Test ZDBs | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestZdbs | ||
|
||
- name: Test QSFS | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestQSFS | ||
|
||
- name: Test peertube | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestPeertube | ||
|
||
- name: Test presearch | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestPresearch | ||
|
||
- name: Test taiga | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestTaiga | ||
|
||
- name: Test mattermost | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestMattermost | ||
|
||
- name: Test nomad | ||
env: | ||
MNEMONICS: ${{ secrets.MNEMONICS }} | ||
NETWORK: ${{ matrix.network }} | ||
working-directory: integrationtests | ||
run: go test -v ./... --tags=integration -run TestNomad | ||
|
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
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.