From ab6b010f8634ca777fc44b7165c296d192fd29e5 Mon Sep 17 00:00:00 2001 From: Gavrila Andrei Date: Thu, 1 Feb 2024 11:03:35 +0200 Subject: [PATCH] Remove leftover workflows (#179) --- workflows/deploy-integration.yml | 44 ------------------------------- workflows/deploy.yml | 44 ------------------------------- workflows/pre-merge-e2e-tests.yml | 25 ------------------ 3 files changed, 113 deletions(-) delete mode 100644 workflows/deploy-integration.yml delete mode 100644 workflows/deploy.yml delete mode 100644 workflows/pre-merge-e2e-tests.yml diff --git a/workflows/deploy-integration.yml b/workflows/deploy-integration.yml deleted file mode 100644 index 0d065387..00000000 --- a/workflows/deploy-integration.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: deploy-integration - -on: - push: - branches: [development] - repository_dispatch: - types: deploy-integration - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - ref: development - - name: Use Node.js - uses: actions/setup-node@v1 - with: - node-version: '16.x' - - name: Setup yarn - run: npm install -g yarn - - run: yarn install - - run: yarn build - env: - CI: false - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: 'us-east-1' - - name: Deploy to S3 bucket - run: aws s3 sync ./build/ s3://${{ secrets.AWS_S3_BUCKET_INTEGRATION }} --delete - - name: Slack Notification - uses: rtCamp/action-slack-notify@master - env: - SLACK_ICON_EMOJI: ':nerd_face:' - SLACK_USERNAME: ${{ secrets.AWS_S3_BUCKET_INTEGRATION }} - SLACK_MESSAGE: ${{ secrets.AWS_S3_BUCKET_INTEGRATION }} - SLACK_FOOTER: '' - MSG_MINIMAL: true - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} diff --git a/workflows/deploy.yml b/workflows/deploy.yml deleted file mode 100644 index fc26bb33..00000000 --- a/workflows/deploy.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: deploy - -on: - push: - branches: [main] - repository_dispatch: - types: deploy - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - ref: main - - name: Use Node.js - uses: actions/setup-node@v1 - with: - node-version: '16.x' - - name: Setup yarn - run: npm install -g yarn - - run: yarn install - - run: yarn build - env: - CI: false - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: 'us-east-1' - - name: Deploy to S3 bucket - run: aws s3 sync ./build/ s3://${{ secrets.AWS_S3_BUCKET }} --delete - - name: Slack Notification - uses: rtCamp/action-slack-notify@master - env: - SLACK_ICON_EMOJI: ':nerd_face:' - SLACK_USERNAME: ${{ secrets.AWS_S3_BUCKET }} - SLACK_MESSAGE: ${{ secrets.AWS_S3_BUCKET }} - SLACK_FOOTER: '' - MSG_MINIMAL: true - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} diff --git a/workflows/pre-merge-e2e-tests.yml b/workflows/pre-merge-e2e-tests.yml deleted file mode 100644 index be49214a..00000000 --- a/workflows/pre-merge-e2e-tests.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: pre-merge-e2e-tests - -on: - pull_request: - branches: - - main - - development - repository_dispatch: - types: e2e-tests - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.ref }} - - uses: actions/setup-node@v3 - with: - node-version: 16 - - run: npm install --only=dev - - run: npm run run-cypress - env: - CI: false