Skip to content

Commit

Permalink
workflows WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Nov 29, 2024
1 parent 499afb1 commit 0d70118
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-ocb-components.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0d70118

Please sign in to comment.