Skip to content

Commit

Permalink
chore: simplify build for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Henrique Pegoraro committed Jan 30, 2024
1 parent 6f36487 commit 3302d85
Showing 1 changed file with 22 additions and 26 deletions.
48 changes: 22 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,34 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install dependencies and tools
run: |
go mod tidy
go install github.com/open-telemetry/opentelemetry-collector-builder@latest
make install-tools
- name: Build Otelcol Orb Agent
run: make otelcol-orb-agent
- name: Debug built version
run: ./cmd/otelcol-orb-agent/dist/otelcol-orb --version
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: 1.21.x
# - name: Install dependencies and tools
# run: make install-tools
# - name: Build Otelcol Orb Agent
# run: make otelcol-orb-agent
# - name: Debug built version
# run: ./cmd/otelcol-orb-agent/dist/otelcol-orb --version
- name: Build Otelcol Orb Agent Docker
run: make docker-otelcolagent

build-otelcol-orb-maestro:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install dependencies and tools
run: |
go mod tidy
go install github.com/open-telemetry/opentelemetry-collector-builder@latest
make install-tools
- name: Build Otelcol Orb Maestro
run: make otelcol-orb-maestro
- name: Debug built version
run: ./cmd/otelcol-orb-maestro/dist/otelcol-orb --version
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: 1.21.x
# - name: Install dependencies and tools
# run: |
# go install github.com/open-telemetry/opentelemetry-collector-builder@latest
# make install-tools
# - name: Build Otelcol Orb Maestro
# run: make otelcol-orb-maestro
# - name: Debug built version
# run: ./cmd/otelcol-orb-maestro/dist/otelcol-orb --version
- name: Build Otelcol Orb Maestro Docker
run: make docker-otelcolmaestro

0 comments on commit 3302d85

Please sign in to comment.