Skip to content
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
14 changes: 7 additions & 7 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/setup-node@v4
if: env.LANGUAGE == 'nodejs'
with:
node-version: '14'
node-version: '20'
- name: Cache (NodeJS)
if: env.LANGUAGE == 'nodejs'
uses: actions/cache@v3
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
run: ${{ env.BUILD_COMMAND }}
- name: Upload artifacts - java
if: env.LANGUAGE == 'java' && success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: ${{ env.LANGUAGE }}/${{ env.ARTIFACT_ARCHIVE_BASE_NAME }}-${{ matrix.architecture }}.zip
Expand All @@ -97,14 +97,14 @@ jobs:
opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/libs/java-sample-app.jar
- name: Upload artifacts - java sample-app
if: env.LANGUAGE == 'java' && success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/libs/java-sample-app.jar
if-no-files-found: error
- name: Upload artifacts - nodejs
if: env.LANGUAGE == 'nodejs' && success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: ${{ env.LANGUAGE }}/${{ env.ARTIFACT_ARCHIVE_BASE_NAME }}-${{ matrix.architecture }}.zip
Expand All @@ -116,14 +116,14 @@ jobs:
opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/nodejs-sample-app.zip
- name: Upload artifacts - nodejs sample-app
if: env.LANGUAGE == 'nodejs' && success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/aws-sdk/build/nodejs-sample-app.zip
if-no-files-found: error
- name: Upload artifacts - python layer
if: env.LANGUAGE == 'python' && success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: ${{ env.LANGUAGE }}/${{ env.ARTIFACT_ARCHIVE_BASE_NAME }}-${{ matrix.architecture }}.zip
Expand All @@ -135,7 +135,7 @@ jobs:
opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/build/python-sample-app.zip
- name: Upload artifacts - python sample-app
if: env.LANGUAGE == 'python' && success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: opentelemetry-lambda/${{ env.LANGUAGE }}/sample-apps/build/python-sample-app.zip
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- 'java/**'
- 'opentelemetry-lambda/**'
- '.github/workflows/*-java.yml'
- '.github/workflows/tests.yml'
- '!java/sample-apps/template.yaml'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- 'nodejs/**'
- 'opentelemetry-lambda/**'
- '.github/workflows/*-nodejs.yml'
- '.github/workflows/tests.yml'
- '!nodejs/sample-apps/template.yaml'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- 'python/**'
- 'opentelemetry-lambda/**'
- '.github/workflows/*-python.yml'
- '.github/workflows/tests.yml'
- '!python/sample-apps/template.yaml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-dev-layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
python-version: '3.9'
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: ~/artifact
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release-layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
with:
python-version: '3.9'
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: ~/artifact
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
echo "| ${{ matrix.aws_region }} | $LAYER_ARN |" > layer-arn-${{ matrix.architecture }}-${{ matrix.aws_region }}
- name: Upload Layer ARN
if: success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}-${{ env.LANGUAGE }}-${{ matrix.architecture }}-layer-arns-artifact
path: layer-arn-${{ matrix.architecture }}-${{ matrix.aws_region }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-build-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ jobs:
id: extract_tag
run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/java-v})"
- name: Download amd64 layer artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-java-amd64-artifacts
path: artifacts/
- name: Download arm64 layer artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-java-arm64-artifacts
path: artifacts/
- name: Download sample-app artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sample-app-java-amd64-artifacts
path: artifacts/
- name: Download amd64 Layer ARNs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-java-amd64-layer-arns-artifact
path: amd64layerarns/
- name: Download arm64 Layer ARNs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-java-arm64-layer-arns-artifact
path: arm64layerarns/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-build-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ jobs:
id: extract_tag
run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/nodejs-v})"
- name: Download amd64 layer artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-nodejs-amd64-artifacts
path: artifacts/
- name: Download arm 64 layer artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-nodejs-arm64-artifacts
path: artifacts/
- name: Download sample-app artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sample-app-nodejs-amd64-artifacts
path: artifacts/
- name: Download amd64 Layer ARNs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-nodejs-amd64-layer-arns-artifact
path: amd64layerarns/
- name: Download arm64 Layer ARNs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-nodejs-arm64-layer-arns-artifact
path: arm64layerarns/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ jobs:
id: extract_tag
run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/python-v})"
- name: Download amd64 layer artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-python-amd64-artifacts
path: artifacts/
- name: Download arm64 layer artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-python-arm64-artifacts
path: artifacts/
- name: Download sample-app artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sample-app-python-amd64-artifacts
path: artifacts/
- name: Download amd64 Layer ARNs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-python-amd64-layer-arns-artifact
path: amd64layerarns/
- name: Download arm64 Layer ARNs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.ref_name }}-python-arm64-layer-arns-artifact
path: arm64layerarns/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
with:
python-version: '3.9'
- name: Download sample-app artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sample-app-${{ env.LANGUAGE }}-${{ matrix.architecture }}-artifacts
path: ~/artifact
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-lambda
2 changes: 1 addition & 1 deletion utils/receiver-mock/deploy/task_definition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "aws_ecs_task_definition" "aws-ecs-task" {
container_definitions = jsonencode([
{
name = "${var.app_name}-container"
image = "public.ecr.aws/sumologic/kubernetes-tools:2.19.0"
image = "public.ecr.aws/sumologic/kubernetes-tools:2.24.0"
cpu = 1024
memory = 2048
essential = true
Expand Down
Loading