Skip to content

Commit

Permalink
chore: test workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Dominik Rosiek committed May 29, 2024
1 parent bd4df64 commit 726ec2c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/run_manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
build:
runs-on: ubuntu-22.04
env:
PUSH: "${{ inputs.push }} "
CHECK: "${{ inputs.check }} "
CERTIFY: "${{ inputs.certify }} "
FORCE: "${{ inputs.force }} "
NAME: "${{ inputs.NAME }} "
VERSION: "${{ inputs.VERSION }} "
PUSH: "${{ inputs.push }}"
CHECK: "${{ inputs.check }}"
CERTIFY: "${{ inputs.certify }}"
FORCE: "${{ inputs.force }}"
NAME: "${{ inputs.NAME }}"
VERSION: "${{ inputs.VERSION }}"
PYAXIS_API_TOKEN: ${{ secrets.RED_HAT_API_KEY }}
steps:
- uses: actions/checkout@v4
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/run_manually_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Manual test run

on:
pull_request:
branches:
- main

defaults:
run:
shell: bash

jobs:
build:
runs-on: ubuntu-22.04
env:
PUSH: "true"
CHECK: "true"
CERTIFY: "true"
FORCE: "true"
NAME: opentelemetry-operator
VERSION: "0.95.0"
PYAXIS_API_TOKEN: ${{ secrets.RED_HAT_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Login to Open Source ECR
run: make login
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_DEV }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }}
- name: Build push
run: |
PYAXIS_API_TOKEN="${PYAXIS_API_TOKEN=}" \
NAME="${NAME}" \
VERSION="${VERSION}" \
CHECK="${CHECK}" \
PUSH="${PUSH}" \
FORCE="${FORCE}" \
CERTIFY="${CERTIFY}" \
./scripts/build-push.sh

0 comments on commit 726ec2c

Please sign in to comment.