From 7ed0f011f4c10eedd6e13f72ff05bc4d52f880cb Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Mon, 23 Sep 2024 13:49:52 +0400 Subject: [PATCH] remove smoke tests --- .github/workflows/smoke-tests.yaml | 191 ----------------------------- 1 file changed, 191 deletions(-) delete mode 100644 .github/workflows/smoke-tests.yaml diff --git a/.github/workflows/smoke-tests.yaml b/.github/workflows/smoke-tests.yaml deleted file mode 100644 index c4d5f9dcd..000000000 --- a/.github/workflows/smoke-tests.yaml +++ /dev/null @@ -1,191 +0,0 @@ -name: Smoke tests - -on: - # Run every day at 20:00 UTC - schedule: - - cron: '0 20 * * *' - workflow_dispatch: {} - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-smoke-tests - cancel-in-progress: true - -jobs: - smoke-test-1: - runs-on: ubuntu-latest - - strategy: - matrix: - config-file: [ "one-chain.yaml", "osmojs.yaml", "simapp.yaml", "multi-validator.yaml" ] - fail-fast: false - max-parallel: 4 - - env: - CONFIG_FILE: "starship/tests/smoke/ci/${{ matrix.config-file }}" - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Create yarn.lock and package.json file if not exists - run: | - if [ ! -f $GITHUB_WORKSPACE/yarn.lock ]; then - echo 'Creating temporary yarn.lock file' - echo '' > $GITHUB_WORKSPACE/yarn.lock - fi - if [ ! -f $GITHUB_WORKSPACE/package.json ]; then - echo 'Creating temporary package.json file' - echo '{}' > $GITHUB_WORKSPACE/package.json - fi - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: "20.x" - cache: "yarn" - - - name: Install starship CLI - run: | - cd clients/js - yarn - yarn build - chmod +x node_modules/.bin/starship - echo "PATH=$GITHUB_WORKSPACE/clients/js/node_modules/.bin:$PATH" >> $GITHUB_ENV - - - name: Setup Test infra - id: starship-action - uses: cosmology-tech/starship-action@0.5.6 - with: - config: ${{ env.CONFIG_FILE }} - chart: ./starship/charts/devnet - cli-version: 0.0.0 - - # todo: change this to be post step of the action - - name: Cleanup cluster - if: always() - run: | - helm delete $DEVNET_NAME --debug --namespace $DEVNET_NAMESPACE --wait || true - kubectl delete namespace $DEVNET_NAMESPACE --wait=true || true - env: - DEVNET_NAME: ${{ steps.starship-action.outputs.name }} - DEVNET_NAMESPACE: ${{ steps.starship-action.outputs.namespace }} - - smoke-test-2: - needs: [smoke-test-1] - runs-on: ubuntu-latest - - strategy: - matrix: - config-file: [ "one-chain.yaml", "osmojs.yaml", "simapp.yaml", "multi-validator.yaml" ] - fail-fast: true - max-parallel: 4 - - env: - CONFIG_FILE: "starship/tests/smoke/ci/${{ matrix.config-file }}" - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Create yarn.lock and package.json file if not exists - run: | - if [ ! -f $GITHUB_WORKSPACE/yarn.lock ]; then - echo 'Creating temporary yarn.lock file' - echo '' > $GITHUB_WORKSPACE/yarn.lock - fi - if [ ! -f $GITHUB_WORKSPACE/package.json ]; then - echo 'Creating temporary package.json file' - echo '{}' > $GITHUB_WORKSPACE/package.json - fi - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: "20.x" - cache: "yarn" - - - name: Install starship CLI - run: | - cd clients/js - yarn - yarn build - chmod +x node_modules/.bin/starship - echo "PATH=$GITHUB_WORKSPACE/clients/js/node_modules/.bin:$PATH" >> $GITHUB_ENV - - - name: Setup Test infra - id: starship-action - uses: cosmology-tech/starship-action@0.5.6 - with: - config: ${{ env.CONFIG_FILE }} - chart: ./starship/charts/devnet - cli-version: 0.0.0 - - # todo: change this to be post step of the action - - name: Cleanup cluster - if: always() - run: | - helm delete $DEVNET_NAME --debug --namespace $DEVNET_NAMESPACE --wait || true - kubectl delete namespace $DEVNET_NAMESPACE --wait=true || true - env: - DEVNET_NAME: ${{ steps.starship-action.outputs.name }} - DEVNET_NAMESPACE: ${{ steps.starship-action.outputs.namespace }} - - smoke-test-3: - needs: [smoke-test-2] - runs-on: ubuntu-latest - - strategy: - matrix: - config-file: [ "one-chain.yaml", "osmojs.yaml", "simapp.yaml", "multi-validator.yaml" ] - fail-fast: true - max-parallel: 4 - - env: - CONFIG_FILE: "starship/tests/smoke/ci/${{ matrix.config-file }}" - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Create yarn.lock and package.json file if not exists - run: | - if [ ! -f $GITHUB_WORKSPACE/yarn.lock ]; then - echo 'Creating temporary yarn.lock file' - echo '' > $GITHUB_WORKSPACE/yarn.lock - fi - if [ ! -f $GITHUB_WORKSPACE/package.json ]; then - echo 'Creating temporary package.json file' - echo '{}' > $GITHUB_WORKSPACE/package.json - fi - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: "20.x" - cache: "yarn" - - - name: Install starship CLI - run: | - cd clients/js - yarn - yarn build - chmod +x node_modules/.bin/starship - echo "PATH=$GITHUB_WORKSPACE/clients/js/node_modules/.bin:$PATH" >> $GITHUB_ENV - - - name: Setup Test infra - id: starship-action - uses: cosmology-tech/starship-action@0.5.6 - with: - config: ${{ env.CONFIG_FILE }} - chart: ./starship/charts/devnet - cli-version: 0.0.0 - - # todo: change this to be post step of the action - - name: Cleanup cluster - if: always() - run: | - helm delete $DEVNET_NAME --debug --namespace $DEVNET_NAMESPACE --wait || true - kubectl delete namespace $DEVNET_NAMESPACE --wait=true || true - env: - DEVNET_NAME: ${{ steps.starship-action.outputs.name }} - DEVNET_NAMESPACE: ${{ steps.starship-action.outputs.namespace }}