Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
enabled scheduled runs

Signed-off-by: Birol Bilgin <birol@cilium.io>
  • Loading branch information
brlbil committed Feb 15, 2024
1 parent 06989c7 commit b7409d7
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/conformance-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ jobs:
# Use complete matrix in case of scheduled run
# main -> event_name = schedule
# other stable branches -> PR-number starting with v (e.g. v1.14)
if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
jq '{ "include": [ .include[] | select(.disabled==null) ] }' azure.json > /tmp/matrix.json
else
jq '{ "include": [ .include[] | select(.default) ] }' azure.json > /tmp/matrix.json
fi
# if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
jq '{ "include": [ .include[] | select(.disabled==null) ] }' azure.json > /tmp/matrix.json
# else
# jq '{ "include": [ .include[] | select(.default) ] }' azure.json > /tmp/matrix.json
# fi
echo "Generated matrix:"
cat /tmp/matrix.json
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/conformance-aws-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ jobs:
# Use complete matrix in case of scheduled run
# main -> event_name = schedule
# other stable branches -> PR-number starting with v (e.g. v1.14)
if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
cp aws.json /tmp/matrix.json
else
jq '{ "include": [ .include[] | select(.default) ] }' aws.json > /tmp/matrix.json
fi
# if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
cp aws.json /tmp/matrix.json
# else
# jq '{ "include": [ .include[] | select(.default) ] }' aws.json > /tmp/matrix.json
# fi
echo "Generated matrix:"
cat /tmp/matrix.json
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/conformance-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ jobs:
# Use complete matrix in case of scheduled run
# main -> event_name = schedule
# other stable branches -> PR-number starting with v (e.g. v1.14)
if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
cp aws.json /tmp/matrix.json
else
jq '{ "include": [ .include[] | select(.default) ] }' aws.json > /tmp/matrix.json
fi
# if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
cp aws.json /tmp/matrix.json
# else
# jq '{ "include": [ .include[] | select(.default) ] }' aws.json > /tmp/matrix.json
# fi
echo "Generated matrix:"
cat /tmp/matrix.json
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/conformance-externalworkloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ jobs:
# Use complete matrix in case of scheduled run
# main -> event_name = schedule
# other stable branches -> PR-number starting with v (e.g. v1.14)
if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
jq '{ "include": [ .k8s[] ] }' gke.json > /tmp/matrix.json
else
jq '{ "include": [ .k8s[] | select(.default) ] }' gke.json > /tmp/matrix.json
fi
# if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
jq '{ "include": [ .k8s[] ] }' gke.json > /tmp/matrix.json
# else
# jq '{ "include": [ .k8s[] | select(.default) ] }' gke.json > /tmp/matrix.json
# fi
echo "Generated matrix:"
cat /tmp/matrix.json
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/conformance-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ jobs:
# Use complete matrix in case of scheduled run
# main -> event_name = schedule
# other stable branches -> PR-number starting with v (e.g. v1.14)
if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
cp gke.json /tmp/matrix.json
else
jq '{ "k8s": [ .k8s[] | select(.default) ], "config": .config}' gke.json > /tmp/matrix.json
fi
# if [[ "${{ github.event_name }}" == "schedule" || "${{ inputs.PR-number }}" == v* ]];then
cp gke.json /tmp/matrix.json
# else
# jq '{ "k8s": [ .k8s[] | select(.default) ], "config": .config}' gke.json > /tmp/matrix.json
# fi
echo "Generated matrix:"
cat /tmp/matrix.json
Expand Down

0 comments on commit b7409d7

Please sign in to comment.