diff --git a/.github/workflows/release-ocb-components.yml b/.github/workflows/release-ocb-components.yml new file mode 100644 index 000000000000..c8a695809d5e --- /dev/null +++ b/.github/workflows/release-ocb-components.yml @@ -0,0 +1,32 @@ +name: Automation - Release OLTP components + +on: + push: + workflow_dispatch: + inputs: + candidate-version: + required: true + description: Release candidate version (beta, like 0.70.0) + +jobs: + prepare-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + path: opentelemetry-collector-contrib + ref: aws-ocb-dev + - name: get hash + working-directory: opentelemetry-collector-contrib + run: | + echo RELEASE_HASH=$(git rev-parse HEAD) >> $GITHUB_ENV + + - name: build OCB + + - name: upload OCB to staging repo with hash as tag + + - name: trigger test in other repo + + - name: if test passed, create tags PR + + - name: if test passed, upload OCB to staging repo with latest as tag \ No newline at end of file