Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: sallyom <[email protected]>
  • Loading branch information
sallyom committed Jun 21, 2024
1 parent dc012ed commit fc1bcf3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 22 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/chatbot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,22 @@ jobs:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
http:
endpoint: "0.0.0.0:4318"
exporters:
otlphttp:
endpoint: https://apps.platform-sts.pcbk.p1.openshiftapps.com
endpoint: https://otc.apps.platform-sts.pcbk.p1.openshiftapps.com
tls:
insecure: false
cert_pem: ${{ secrets.CLIENT_CERT_ROSA_OTEL }}
key_pem: ${{ secrets.CLIENT_KEY_ROSA_OTEL }}
ca_pem: ${{ secrets.SERVER_CERT_ROSA_OTEL }}
logging:
cert_pem: ${{ secrets.OTEL_CLIENT_CERT }}
key_pem: ${{ secrets.OTEL_CLIENT_KEY }}
ca_pem: ${{ secrets.OTEL_CA_CERT }}
debug:
verbosity: detailed
service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging,otlphttp]
exporters: [debug,otlphttp]
' > otel-collector-config.yaml
- name: Run OpenTelemetry Collector
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/test-trace-steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest

if: "!contains(github.event.pull_request.labels.*.name, 'hold-tests')"
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
Expand All @@ -35,25 +33,23 @@ jobs:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
http:
endpoint: "0.0.0.0:4318"
exporters:
otlphttp:
endpoint: https://apps.platform-sts.pcbk.p1.openshiftapps.com
endpoint: https://otc.apps.platform-sts.pcbk.p1.openshiftapps.com
tls:
insecure: false
cert_pem: ${{ secrets.CLIENT_CERT_ROSA_OTEL }}
key_pem: ${{ secrets.CLIENT_KEY_ROSA_OTEL }}
ca_pem: ${{ secrets.SERVER_CERT_ROSA_OTEL }}
logging:
cert_pem: ${{ secrets.OTEL_CLIENT_CERT }}
key_pem: ${{ secrets.OTEL_CLIENT_KEY }}
ca_pem: ${{ secrets.OTEL_CA_CERT }}
debug:
verbosity: detailed
service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging,otlphttp]
' > otel-collector-config.yaml
exporters: [debug,otlphttp]
' > otel-collector-config.yaml
- name: Run OpenTelemetry Collector
run: |
Expand Down

0 comments on commit fc1bcf3

Please sign in to comment.