-
Notifications
You must be signed in to change notification settings - Fork 60
31 lines (30 loc) · 1.1 KB
/
push.yaml
File metadata and controls
31 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: push
on:
push:
branches:
- main
- master
tags:
- v*
workflow_dispatch:
inputs:
kubectl-wait-timeout:
description: "kubectl wait timeout used for integration and helmchart-test targets in the Makefile (e.g. 5m)"
required: false
default: "20m"
jobs:
shared-operator-workflow:
name: shared-operator-workflow
uses: redhat-cop/github-workflows-operators/.github/workflows/release-operator.yml@5b0493408637600ef9c71d2321337adac65153a3 # v1.1.6
secrets:
COMMUNITY_OPERATOR_PAT: ${{ secrets.COMMUNITY_OPERATOR_PAT }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
with:
PR_ACTOR: "raffaele.spazzoli@gmail.com"
RUN_UNIT_TESTS: true
RUN_INTEGRATION_TESTS: true
RUN_HELMCHART_TEST: true
GO_VERSION: ~1.22
OPERATOR_SDK_VERSION: v1.31.0
KUBECTL_WAIT_TIMEOUT: ${{ github.event.inputs['kubectl-wait-timeout'] != '' && github.event.inputs['kubectl-wait-timeout'] || vars.KUBECTL_WAIT_TIMEOUT != '' && vars.KUBECTL_WAIT_TIMEOUT || '20m' }}