Skip to content

Commit

Permalink
Add manifest + ocb build
Browse files Browse the repository at this point in the history
  • Loading branch information
major committed Jan 26, 2024
1 parent b0ec8a1 commit c3470b5
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/blank.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/prepare_source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Prep OTEL source

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:

build:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- uses: actions/setup-go@v4
with:
go-version: '>=1.21.6'

- name: Check golang version
run: go version

- name: Clone opentelemetry-collector repository
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-collector
path: opentelemetry-collector

- name: Build ocb
run: |
cd opentelemetry-collector
make ocb
find . -executable -type f
44 changes: 44 additions & 0 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
dist:
module: github.com/os-observability/redhat-opentelemetry-collector
name: otelcol
description: OpenTelemetry Collector
version: 0.93.0
output_path: ./_build
otelcol_version: 0.93.0

receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/opencensusreceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/journaldreceiver v0.93.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.93.0
- gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.93.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.93.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.93.0
extensions:
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.93.0
- gomod: go.opentelemetry.io/collector/extension/ballastextension v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/jaegerremotesampling v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.93.0
processors:
- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.93.0
- gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.93.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.93.0
connectors:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector v0.93.0

0 comments on commit c3470b5

Please sign in to comment.