diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml deleted file mode 100644 index 24dd8a8e..00000000 --- a/.github/workflows/blank.yml +++ /dev/null @@ -1,24 +0,0 @@ -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@v3 - - - uses: actions/setup-go@v4 - with: - go-version: '>=1.21.6' - - - name: Check golang version - run: go version diff --git a/.github/workflows/prepare_source.yml b/.github/workflows/prepare_source.yml new file mode 100644 index 00000000..cdc4264b --- /dev/null +++ b/.github/workflows/prepare_source.yml @@ -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 \ No newline at end of file diff --git a/manifest.yaml b/manifest.yaml new file mode 100644 index 00000000..8febfcc7 --- /dev/null +++ b/manifest.yaml @@ -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