Skip to content

Commit

Permalink
Merge remote-tracking branch 'fallwith/ruby' into ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed May 7, 2024
2 parents 3099be8 + dcb2ff1 commit 8da4e54
Show file tree
Hide file tree
Showing 30 changed files with 8,397 additions and 378 deletions.
282 changes: 0 additions & 282 deletions .circleci/config.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
node-version: [lts/*]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
Expand All @@ -39,9 +39,9 @@ jobs:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
Expand All @@ -51,7 +51,7 @@ jobs:
run: npm run test:unit
working-directory: nodejs
- name: Archive Unit Test Coverage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit-tests-${{ matrix.node-version }}
path: ./nodejs/coverage/unit/lcov.info
Expand All @@ -64,9 +64,9 @@ jobs:
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Extension Layer

on:
push:
tags:
- v**_extension

jobs:
publish-extension:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.12 ]
steps:
- uses: actions/checkout@v4
- name: Check Tag
id: extension-check-tag
run: |
if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+(\.[0-9]+)*_extension$ ]]; then
echo "match=true" >> $GITHUB_OUTPUT
fi
- name: Install publish dependencies
if: steps.extension-check-tag.outputs.match == 'true'
run: pip install -U awscli
- name: Publish extension layer
if: steps.extension-check-tag.outputs.match == 'true'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cd extension
./publish-layer.sh
28 changes: 28 additions & 0 deletions .github/workflows/publish-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish Java Layers

on:
push:
tags:
- v**_java

jobs:
publish-java:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ java8al2, java11, java17, java21 ]

steps:
- uses: actions/checkout@v4
- name: Check Tag
id: java-check-tag
run: |
if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+(\.[0-9]+)*_java$ ]]; then
echo "match=true" >> $GITHUB_OUTPUT
fi
- name: Publish ${{ matrix.java-version }} layer
if: steps.java-check-tag.outputs.match == 'true'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: make publish-${{ matrix.java-version }}-ci
Loading

0 comments on commit 8da4e54

Please sign in to comment.