Skip to content

Commit

Permalink
Workflow and UID fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ladatz committed Mar 11, 2024
1 parent ad58e6c commit b61cd80
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/containerize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
paths:
- "intent_brokering/src/**"
- "intent_brokering/proto/**"
- "Dockerfile.intent_brokering"
- "Dockerfile.intent_brokering.amd64"
- ".github/workflows/containerize.yaml"
- "rust-toolchain.toml"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.intent_brokering
file: ./Dockerfile.intent_brokering.amd64
load: true
tags: intent_brokering:1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile.intent_brokering
file: Dockerfile.intent_brokering.amd64
load: true
tags: intent_brokering:1

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.service_discovery.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ WORKDIR /sdv

COPY ./ .

# Check that UID argument is valid.
# Check that CHARIOTT_UID argument is valid.
RUN /sdv/container/scripts/argument_sanitizer.sh \
--arg-value "${UID}" \
--arg-value "${CHARIOTT_UID}" \
--regex "^[0-9]+$" || \
( echo "Argument sanitizer failed for ARG 'UID'"; exit 1 )
( echo "Argument sanitizer failed for ARG 'CHARIOTT_UID'"; exit 1 )

# unprivileged identity to run Chariott Service Discovery as
RUN adduser \
Expand Down

1 comment on commit b61cd80

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intent Brokering Benchmark

Benchmark suite Current: b61cd80 Previous: 8b3789b Ratio
Invoke Throughput 3030 1/Second 3030 1/Second 1
Latency 2 Millisecond (p95=7) 2 Millisecond (p95=8) 1
Definitely Lost Bytes 0 bytes 0 bytes -∞
Definitely Lost Blocks 0 blocks 0 blocks -∞
Indirectly Lost Bytes 0 bytes 0 bytes -∞
Indirectly Lost Blocks 0 blocks 0 blocks -∞
Possibly Lost Bytes 2620 bytes 2620 bytes 1
Possibly Lost Blocks 8 blocks 8 blocks 1
CPU Usage 45 Percent (p95=46) 44 Percent (p95=45) 1.02
Memory Usage 2855 Bytes (p95=3231) 2658 Bytes (p95=2978) 1.07

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.