Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: decomission GitHub actions #466

Merged
merged 4 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 0 additions & 69 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install dependencies
run: yarn install

Expand Down Expand Up @@ -67,7 +66,6 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install NodeGYP
if: matrix.node-version == '20.9'
run: yarn global add node-gyp
Expand All @@ -83,70 +81,3 @@ jobs:

- name: Upload code coverage report
run: bash <(curl -s https://codecov.io/bash)

integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
runtime-param: [14, 16, 18, 20]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node 14
uses: actions/setup-node@v3
with:
node-version: 14

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Complete Buildx Setup
run: docker run --privileged --rm tonistiigi/binfmt --install all

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Restore node modules from cache
id: cache-node-modules
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install Serverless Framework
run: sudo yarn global add serverless --prefix /usr/local

- name: Install dependencies
working-directory: integration_tests
run: yarn install

- name: Run tests
env:
BUILD_LAYERS: true
DD_API_KEY: ${{ secrets.DD_API_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
RUNTIME_PARAM: ${{ matrix.runtime-param }}
run: ./scripts/run_integration_tests.sh

- name: Send success metric
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
run: ./scripts/send_status_metric.sh 0 $DD_API_KEY

integration-test-failure:
runs-on: ubuntu-latest
needs: [integration-test]
if: always() && (needs.integration-test.result == 'failure')
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Send a failure metric
env:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
run: ./scripts/send_status_metric.sh 1 $DD_API_KEY
51 changes: 0 additions & 51 deletions .github/workflows/check-size.yml

This file was deleted.

29 changes: 0 additions & 29 deletions scripts/send_status_metric.sh

This file was deleted.

Loading