diff --git a/.github/actions/install-vega-binaries/action.yml b/.github/actions/install-vega-binaries/action.yml deleted file mode 100644 index eec73d5fe..000000000 --- a/.github/actions/install-vega-binaries/action.yml +++ /dev/null @@ -1,17 +0,0 @@ -inputs: - all: - description: 'Install all binaries' - default: false - version: - description: 'Vega version' - gobin: - description: 'GOBIN path' - default: '/home/runner/go/bin' -runs: - using: 'composite' - steps: - - name: Install Vega binaries - shell: bash - run: | - wget 'https://github.com/vegaprotocol/vega/releases/download/${{ inputs.version }}/vega-linux-amd64.zip' -q - unzip vega-linux-amd64.zip -d ${{ inputs.gobin }} diff --git a/.github/actions/run-vegacapsule/action.yml b/.github/actions/run-vegacapsule/action.yml index a8e6c4eb6..4051d7d64 100644 --- a/.github/actions/run-vegacapsule/action.yml +++ b/.github/actions/run-vegacapsule/action.yml @@ -1,26 +1,6 @@ -inputs: - github-token: - description: 'github token' runs: using: 'composite' steps: - - name: Checkout capsule - uses: actions/checkout@v2 - with: - repository: vegaprotocol/vegacapsule - ref: main - token: ${{ inputs.github-token }} - path: './capsule' - - - name: Build capsule - run: go install - shell: bash - working-directory: capsule - - - name: Login to docker - shell: bash - run: echo -n ${{ inputs.github-token }} | docker login https://ghcr.io -u vega-ci-bot --password-stdin - - name: Start nomad shell: bash run: vegacapsule nomad & diff --git a/.github/workflows/capsule-cypress-manual-trigger.yml b/.github/workflows/capsule-cypress-manual-trigger.yml index 50c07126c..15e5d55e6 100644 --- a/.github/workflows/capsule-cypress-manual-trigger.yml +++ b/.github/workflows/capsule-cypress-manual-trigger.yml @@ -26,10 +26,6 @@ on: required: false type: boolean default: false -env: - GOBIN: /home/runner/go/bin - VEGA_VERSION: 'v0.63.1' - jobs: manual: name: Run Cypress tests -- manual trigger @@ -43,8 +39,6 @@ jobs: run: echo SKIP_NX_CACHE="--skip-nx-cache" >> $GITHUB_ENV outputs: - vega-version: ${{env.VEGA_VERSION}} - gobin: ${{env.GOBIN}} skip-cache: ${{env.SKIP_NX_CACHE}} tags: ${{env.TAGS}} @@ -54,7 +48,5 @@ jobs: secrets: inherit with: project: ${{ inputs.project }} - vega-version: ${{needs.manual.outputs.vega-version}} - gobin: ${{needs.manual.outputs.gobin}} skip-cache: ${{needs.manual.outputs.skip-cache}} tags: ${{needs.manual.outputs.tags}} diff --git a/.github/workflows/capsule-cypress-night-run.yml b/.github/workflows/capsule-cypress-night-run.yml index bdcf149b5..239ef9a70 100644 --- a/.github/workflows/capsule-cypress-night-run.yml +++ b/.github/workflows/capsule-cypress-night-run.yml @@ -13,7 +13,5 @@ jobs: secrets: inherit with: project: '[console-lite-e2e, explorer-e2e, liquidity-provision-dashboard-e2e, stats-e2e, token-e2e, trading-e2e]' - vega-version: 'v0.63.1' - gobin: /home/runner/go/bin tags: --env.grepTags '[ @smoke, @regression, @slow ]' night-run: true diff --git a/.github/workflows/capsule-cypress.yml b/.github/workflows/capsule-cypress.yml index 468e0361b..f95c10305 100644 --- a/.github/workflows/capsule-cypress.yml +++ b/.github/workflows/capsule-cypress.yml @@ -11,11 +11,6 @@ on: - reopened - synchronize - ready_for_review - -env: - GOBIN: /home/runner/go/bin - VEGA_VERSION: 'v0.63.1' - jobs: pr: runs-on: ubuntu-latest @@ -56,8 +51,6 @@ jobs: outputs: projects: ${{ env.AFFECTED }} - vega-version: ${{ env.VEGA_VERSION }} - gobin: ${{ env.GOBIN }} dispatch: needs: pr @@ -65,6 +58,4 @@ jobs: secrets: inherit with: project: ${{ needs.pr.outputs.projects }} - vega-version: ${{needs.pr.outputs.vega-version}} - gobin: ${{needs.pr.outputs.gobin}} tags: "--env.grepTags='[ @smoke, @regression ]'" diff --git a/.github/workflows/cypress-console-lite-e2e.yml b/.github/workflows/cypress-console-lite-e2e.yml index 4d32785a0..db6f3661d 100644 --- a/.github/workflows/cypress-console-lite-e2e.yml +++ b/.github/workflows/cypress-console-lite-e2e.yml @@ -7,13 +7,6 @@ on: required: true type: string default: 'false' - vega-version: - required: true - type: string - gobin: - required: false - type: string - default: /home/runner/go/bin skip-cache: required: false type: string @@ -26,10 +19,6 @@ jobs: if: ${{ inputs.trigger == 'true' }} runs-on: self-hosted steps: - # Add GOBIN to PATH - - name: Add GOBIN to PATH - run: echo ${{ inputs.gobin }} >> $GITHUB_PATH - # Checkout front ends - name: Checkout frontend mono repo uses: actions/checkout@v3 @@ -51,16 +40,6 @@ jobs: run: yarn install --frozen-lockfile working-directory: frontend-monorepo - ####### - ## Build and run Vegacapsule network - ####### - - - name: Install Vega binaries - uses: ./frontend-monorepo/.github/actions/install-vega-binaries - with: - version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} - ###### ## Setup a Vega wallet for our user ###### diff --git a/.github/workflows/cypress-explorer-e2e.yml b/.github/workflows/cypress-explorer-e2e.yml index 3abeebe19..60ba044c6 100644 --- a/.github/workflows/cypress-explorer-e2e.yml +++ b/.github/workflows/cypress-explorer-e2e.yml @@ -7,13 +7,6 @@ on: required: true type: string default: 'false' - vega-version: - required: true - type: string - gobin: - required: false - type: string - default: /home/runner/go/bin skip-cache: required: false type: string @@ -31,10 +24,6 @@ jobs: runs-on: self-hosted timeout-minutes: 30 steps: - # Add GOBIN to PATH - - name: Add GOBIN to PATH - run: echo ${{ inputs.gobin }} >> $GITHUB_PATH - # Checkout front ends - name: Checkout frontend mono repo uses: actions/checkout@v3 @@ -60,16 +49,8 @@ jobs: ## Build and run Vegacapsule network ####### - - name: Install Vega binaries - uses: ./frontend-monorepo/.github/actions/install-vega-binaries - with: - version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} - - name: Build and run Vegacapsule network uses: ./frontend-monorepo/.github/actions/run-vegacapsule - with: - github-token: ${{ secrets.VEGA_CI_BOT_GITHUB_TOKEN }} ###### ## Setup a Vega wallet for our user diff --git a/.github/workflows/cypress-token-e2e.yml b/.github/workflows/cypress-token-e2e.yml index 5976fed5c..b7887c101 100644 --- a/.github/workflows/cypress-token-e2e.yml +++ b/.github/workflows/cypress-token-e2e.yml @@ -7,13 +7,6 @@ on: required: true type: string default: 'false' - vega-version: - required: true - type: string - gobin: - required: false - type: string - default: /home/runner/go/bin skip-cache: required: false type: string @@ -27,10 +20,6 @@ jobs: runs-on: self-hosted timeout-minutes: 60 steps: - # Add GOBIN to PATH - - name: Add GOBIN to PATH - run: echo ${{ inputs.gobin }} >> $GITHUB_PATH - # Checkout front ends - name: Checkout frontend mono repo uses: actions/checkout@v3 @@ -56,16 +45,8 @@ jobs: ## Build and run Vegacapsule network ####### - - name: Install Vega binaries - uses: ./frontend-monorepo/.github/actions/install-vega-binaries - with: - version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} - - name: Build and run Vegacapsule network uses: ./frontend-monorepo/.github/actions/run-vegacapsule - with: - github-token: ${{ secrets.VEGA_CI_BOT_GITHUB_TOKEN }} ###### ## Setup a Vega wallet for our user diff --git a/.github/workflows/cypress-trading-e2e.yml b/.github/workflows/cypress-trading-e2e.yml index a278748c3..729176930 100644 --- a/.github/workflows/cypress-trading-e2e.yml +++ b/.github/workflows/cypress-trading-e2e.yml @@ -7,13 +7,6 @@ on: required: true type: string default: 'false' - vega-version: - required: true - type: string - gobin: - required: false - type: string - default: /home/runner/go/bin skip-cache: required: false type: string @@ -27,10 +20,6 @@ jobs: timeout-minutes: 30 runs-on: self-hosted steps: - # Add GOBIN to PATH - - name: Add GOBIN to PATH - run: echo ${{ inputs.gobin }} >> $GITHUB_PATH - # Checkout front ends - name: Checkout frontend mono repo uses: actions/checkout@v3 @@ -52,16 +41,6 @@ jobs: run: yarn install --frozen-lockfile working-directory: frontend-monorepo - ####### - ## Build and run Vegacapsule network - ####### - - - name: Install Vega binaries - uses: ./frontend-monorepo/.github/actions/install-vega-binaries - with: - version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} - ###### ## Setup a Vega wallet for our user ###### diff --git a/.github/workflows/tests-dispatcher.yml b/.github/workflows/tests-dispatcher.yml index e5dd6cb11..e902798a5 100644 --- a/.github/workflows/tests-dispatcher.yml +++ b/.github/workflows/tests-dispatcher.yml @@ -4,13 +4,6 @@ on: project: required: true type: string - vega-version: - required: true - type: string - gobin: - required: false - type: string - default: /home/runner/go/bin skip-cache: required: false type: string @@ -27,8 +20,6 @@ jobs: secrets: inherit with: trigger: ${{ contains(inputs.project, 'console-lite-e2e') || contains(inputs.project, 'console-lite') }} - vega-version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} skip-cache: ${{ inputs.skip-cache }} tags: ${{ inputs.tags }} @@ -37,8 +28,6 @@ jobs: secrets: inherit with: trigger: ${{ contains(inputs.project, 'explorer-e2e') || contains(inputs.project, 'explorer') }} - vega-version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} skip-cache: ${{ inputs.skip-cache }} tags: ${{ inputs.tags }} night-run: ${{ inputs.night-run }} @@ -60,8 +49,6 @@ jobs: secrets: inherit with: trigger: ${{ contains(inputs.project, 'token-e2e') || contains(inputs.project, 'token') }} - vega-version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} skip-cache: ${{ inputs.skip-cache }} tags: ${{ inputs.tags }} @@ -70,7 +57,5 @@ jobs: secrets: inherit with: trigger: ${{ contains(inputs.project, 'trading-e2e') || contains(inputs.project, 'trading') }} - vega-version: ${{ inputs.vega-version }} - gobin: ${{ inputs.gobin }} skip-cache: ${{ inputs.skip-cache }} tags: ${{ inputs.tags }}