forked from k8s-operatorhub/community-operators
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (53 loc) · 1.94 KB
/
operator_ci_index_sha.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Operator index sha sync
on:
workflow_dispatch:
inputs:
kubernetes:
description: 'Sync index sha for kuberentes'
required: true
default: '0'
openshift:
description: 'Sync index sha for openshift'
required: true
default: '0'
env:
OPP_CONTAINER_OPT: "-t"
OPP_SCRIPT_ISS_URL: "https://raw.githubusercontent.com/redhat-openshift-ecosystem/community-operators-pipeline/ci/latest/ci/scripts/opp-iss.sh"
GODEBUG: x509ignoreCN=0
OPP_INDEX_MIRROR: 1
OPP_MIRROR_LATEST_TAG: ""
OPP_PRODUCTION_TYPE: "k8s"
OPP_MIRROR_INDEX_MULTIARCH_BASE: "quay.io/operator-framework/opm"
OPP_MULTIARCH_SUPPORTED_VERSIONS: "latest"
OPP_MIRROR_INDEX_MULTIARCH_POSTFIX: "s"
OPP_MIRROR_INDEX_REGISTRY: "quay.io"
OPP_MIRROR_INDEX_ORGANIZATION: "operatorhubio"
OPP_MIRROR_INDEX_NAME: "catalog"
IIB_INPUT_REGISTRY_USER: "framework_automation"
OPP_REGISTRY_MIRROR_USER: "framework_automation"
#QUAY_API_TOKEN_OPENSHIFT_COMMUNITY_OP: ${{ secrets.QUAY_API_TOKEN_OPENSHIFT_COMMUNITY_OP }}
#QUAY_API_TOKEN_OPERATORHUBIO: ${{ secrets.QUAY_API_TOKEN_OPERATORHUBIO }}
#QUAY_RH_INDEX_PW: ${{ secrets.QUAY_RH_INDEX_PW }}
REGISTRY_MIRROR_PW: ${{ secrets.REGISTRY_MIRROR_PW }}
IIB_INPUT_REGISTRY_TOKEN: ${{ secrets.IIB_INPUT_REGISTRY_TOKEN }}
jobs:
k8s-index-sha:
if: github.event.inputs.kubernetes == '1'
runs-on: ubuntu-latest
timeout-minutes: 3600
steps:
- run: |
echo "kubernetes: ${{ github.event.inputs.kubernetes }} latest"
bash <(curl -sL $OPP_SCRIPT_ISS_URL) kubernetes latest
o7t-index-sha:
if: github.event.inputs.openshift == '1'
runs-on: ubuntu-latest
timeout-minutes: 3600
strategy:
matrix:
index-tag: [ latest ]
fail-fast: false
steps:
- run: |
echo "openshift: ${{ github.event.inputs.openshift }} ${{ matrix.index-tag }}"
bash <(curl -sL $OPP_SCRIPT_ISS_URL) openshift ${{ matrix.index-tag }}