File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,30 @@ blocks:
70
70
-
git clone --branch master --single-branch [email protected] :confluentinc/connect-releases.git
71
71
- ./connect-releases/tasks/release-connect-plugins/generate-connect-changelogs.sh
72
72
73
+ # This is auto-managed by connect-ci-cd-pipelines semaphore task, to disable please reach out on slack #connect-testability
74
+ - name : Connector Kafka Docker Playground Test
75
+ dependencies : []
76
+ run :
77
+ # Run this block only for pull requests
78
+ when : " pull_request =~ '.*'"
79
+ task :
80
+ jobs :
81
+ - name : Trigger Kafka Docker Playground Test
82
+ commands :
83
+ # Don't run this block if target branch for PR is not a nightly branch or master branch
84
+ - |
85
+ if [[ "$SEMAPHORE_GIT_BRANCH" =~ ^[0-9]+\.[0-9]+\.x$ ]] || [[ "$SEMAPHORE_GIT_BRANCH" == "master" ]] ; then \
86
+ echo "PR is targeted to ${SEMAPHORE_GIT_BRANCH} branch which is feature or master branch. Triggering run-kdp-matrix-on-pr-builds task."; \
87
+ sem-trigger -p connect-ci-cd-pipelines \
88
+ -t run-kdp-matrix-on-pr-builds \
89
+ -b master \
90
+ -i "REPO_NAME:$(basename $SEMAPHORE_GIT_REPO_SLUG)" \
91
+ -i "BRANCH_NAME:${SEMAPHORE_GIT_PR_BRANCH}" \
92
+ -w
93
+ else \
94
+ echo "PR is targeted to ${SEMAPHORE_GIT_BRANCH} branch which is not feature or master branch. Skipping Kafka Docker Playground Test Task."; \
95
+ fi;
96
+
73
97
after_pipeline :
74
98
task :
75
99
agent :
You can’t perform that action at this time.
0 commit comments