Skip to content

Commit ce269cc

Browse files
chmouelvdemeester
authored andcommitted
test: split more gitea e2e tests
The continuous integration workflow was updated to include three split configurations for Gitea testing. This allows for more granular testing of different Gitea setups. The `gitea_others` configuration has been marked as deprecated in favor of the new specific configurations. Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
1 parent 5f515b9 commit ce269cc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
provider: [github, github_second_controller, gitlab_bitbucket, gitea_others, concurrency]
44+
provider: [github, github_second_controller, gitlab_bitbucket, gitea_1, gitea_2, gitea_3, concurrency]
4545

4646
env:
4747
CONTROLLER_DOMAIN_URL: paac.paac-127-0-0-1.nip.io

hack/gh-workflow-ci.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,22 @@ get_tests() {
9090
gitlab_bitbucket)
9191
printf '%s\n' "${all_tests}" | grep -iP 'Gitlab|Bitbucket' | grep -ivP 'Concurrency'
9292
;;
93+
gitea_1)
94+
printf '%s\n' "${all_tests}" | grep -iP 'Gitea[A-G]' | grep -ivP 'Concurrency'
95+
;;
96+
gitea_2)
97+
printf '%s\n' "${all_tests}" | grep -iP 'Gitea[H-P]' | grep -ivP 'Concurrency'
98+
;;
99+
gitea_3)
100+
printf '%s\n' "${all_tests}" | grep -iP 'Gitea[Q-Z]' | grep -ivP 'Concurrency'
101+
;;
93102
gitea_others)
103+
# Deprecated: Use gitea_1, gitea_2, gitea_3 instead
94104
printf '%s\n' "${all_tests}" | grep -ivP 'Github|Gitlab|Bitbucket|Concurrency'
95105
;;
96106
*)
97107
echo "Invalid target: ${target}"
98-
echo "supported targets: github, github_second_controller, gitlab_bitbucket, gitea_others, concurrency"
108+
echo "supported targets: github, github_second_controller, gitlab_bitbucket, gitea_1, gitea_2, gitea_3, concurrency"
99109
;;
100110
esac
101111
}

0 commit comments

Comments
 (0)