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 37c2eac
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/release-ocb-components.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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: |
RELEASE_HASH=$(git rev-parse HEAD)
echo RELEASE_HASH="$RELEASE_HASH" >> $GITHUB_ENV
echo "$RELEASE_HASH"
- name: build OCB
run: |
echo "hi"
- name: upload OCB to staging repo with hash as tag
run: |
echo "hi"
- name: trigger test in other repo
run: |
echo "hi"
- name: if test passed, create tags PR
run: |
echo "hi"
- name: if test passed, upload OCB to staging repo with latest as tag
run: |
echo "hi"

0 comments on commit 37c2eac

Please sign in to comment.