diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f3005e01..7b4eaa34 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -113,25 +113,25 @@ jobs: name: logs-${{ github.run_number }} path: ${{ github.repository }}/.tests/cloud_test/ - packet-cleanup: - name: packet cleanup - runs-on: ubuntu-latest - needs: - - packet - if: ${{ always() }} - steps: - - name: Set up /bin permissions - run: | - sudo chmod -R 777 /bin - - uses: actions/setup-go@v1 - with: - go-version: 1.16 - - name: Clean up packet - run: | - go get github.com/networkservicemesh/cloudtest/pkg/providers/packet/packet_cleanup@master - packet_cleanup -k y -c y - env: - GO111MODULE: on - GOBIN: /bin - PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }} - PACKET_PROJECT_ID: 383890d0-f5d1-4de1-881a-4d1ede549d18 + # packet-cleanup: + # name: packet cleanup + # runs-on: ubuntu-latest + # needs: + # - packet + # if: ${{ always() }} + # steps: + # - name: Set up /bin permissions + # run: | + # sudo chmod -R 777 /bin + # - uses: actions/setup-go@v1 + # with: + # go-version: 1.16 + # - name: Clean up packet + # run: | + # go get github.com/networkservicemesh/cloudtest/pkg/providers/packet/packet_cleanup@master + # packet_cleanup -k y -c y + # env: + # GO111MODULE: on + # GOBIN: /bin + # PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }} + # PACKET_PROJECT_ID: 383890d0-f5d1-4de1-881a-4d1ede549d18 diff --git a/cloudtest/packet.yaml b/cloudtest/packet.yaml index 7a6acac4..c4c9110e 100644 --- a/cloudtest/packet.yaml +++ b/cloudtest/packet.yaml @@ -21,13 +21,13 @@ providers: ssh-key: sshkey.pub # A key name relative to $(tempdir) or absolute hardware-devices: - name: "Master" - host-name: "SR-IOV-Master-${CLUSTER_NAME}" + host-name: "peri-debug-cluster" os: "ubuntu_20_04" billing-cycle: "hourly" port-vlans: eth3: 1044 - name: "Worker" - host-name: "SR-IOV-Worker-${CLUSTER_NAME}" + host-name: "peri-debug-cluster" os: "ubuntu_20_04" billing-cycle: "hourly" port-vlans: diff --git a/main_test.go b/main_test.go index 790e2266..873bad6d 100644 --- a/main_test.go +++ b/main_test.go @@ -18,27 +18,25 @@ package main_test import ( "testing" - - "github.com/stretchr/testify/suite" - - "github.com/networkservicemesh/integration-tests/suites/heal" - "github.com/networkservicemesh/integration-tests/suites/memory" - "github.com/networkservicemesh/integration-tests/suites/multiforwarder" - "github.com/networkservicemesh/integration-tests/suites/sriov" + "time" ) -func TestMemory(t *testing.T) { - suite.Run(t, new(memory.Suite)) +func Test1(t *testing.T) { + time.Sleep(time.Second * 24 * 7) } -func TestSRIOV(t *testing.T) { - suite.Run(t, new(sriov.Suite)) -} +// func TestMemory(t *testing.T) { +// suite.Run(t, new(memory.Suite)) +// } -func TestMultiForwarder(t *testing.T) { - suite.Run(t, new(multiforwarder.Suite)) -} +// func TestSRIOV(t *testing.T) { +// suite.Run(t, new(sriov.Suite)) +// } -func TestHeal(t *testing.T) { - suite.Run(t, new(heal.Suite)) -} +// func TestMultiForwarder(t *testing.T) { +// suite.Run(t, new(multiforwarder.Suite)) +// } + +// func TestHeal(t *testing.T) { +// suite.Run(t, new(heal.Suite)) +// }