Skip to content

Commit 2aa7f63

Browse files
author
Anuraag Agrawal
committed
Fixes for workflows
1 parent 1ed4c72 commit 2aa7f63

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.github/collector/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ services:
99
AWS_ACCESS_KEY_ID: ${ACCESS_KEY}
1010
AWS_SECRET_ACCESS_KEY: ${SECRET_ACCESS_KEY}
1111
ports:
12-
- '55680:55680'
12+
- '4317:4317'

.github/collector/otel/collector-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ receivers:
22
otlp:
33
protocols:
44
grpc:
5+
endpoint: 0.0.0.0:4317
56

67
exporters:
78
logging:

.github/workflows/docker-build-corretto-slim.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- name: Build docker image
3434
uses: docker/build-push-action@v2
3535
with:
36+
push: true
3637
context: scripts/docker/corretto-slim
3738
tags: |
3839
public.ecr.aws/u0d6r4y4/amazoncorretto-distroless:alpha

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Run Springboot App with Java agent
8181
run: |
82-
docker run -e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} -e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} -e AWS_REGION=us-west-2 -e INSTANCE_ID=${{ github.run_id }}-${{ github.run_number }} -e LISTEN_ADDRESS=0.0.0.0:8080 -e OTEL_EXPORTER_OTLP_ENDPOINT=172.17.0.1:55680 -p 8080:8080 public.ecr.aws/u0d6r4y4/aws-otel-java-test-springboot:${{ github.sha }} &
82+
docker run -e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} -e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} -e AWS_REGION=us-west-2 -e INSTANCE_ID=${{ github.run_id }}-${{ github.run_number }} -e LISTEN_ADDRESS=0.0.0.0:8080 -e OTEL_RESOURCE_ATTRIBUTES="service.name=aws-otel-integ-test" -e OTEL_EXPORTER_OTLP_ENDPOINT=172.17.0.1:55680 -p 8080:8080 public.ecr.aws/u0d6r4y4/aws-otel-java-test-springboot:${{ github.sha }} &
8383
8484
- name: Directory to checkout test framework
8585
run: mkdir test-framework

0 commit comments

Comments
 (0)