forked from newrelic/newrelic-lambda-layers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'fallwith/ruby' into ruby
- Loading branch information
Showing
30 changed files
with
8,397 additions
and
378 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.