Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate github actions to use container images #7603

Merged
merged 5 commits into from
Jul 23, 2020

Conversation

aahmed-se
Copy link
Contributor

@aahmed-se aahmed-se commented Jul 20, 2020

  • Github actions are not consistent in runtime behavior
  • We now standardize to use container images for executing unit tests

As part of the transition we are adding additional commits to this pr fix test issues.

  • Removing doc check , the current github actions is logically incorrect it missies changes to github workflows and pom files.
  • Allow "surefire reuseForks and forkCount configs" this is need to allow custom configs for flaky tests
  • Force executor shutdown in mocks : We improve the logic for test teardown and resource cleanup to allow for cleaner test runs.
  • Fix ProxyTest#testRegexSubscription : This is specific fix for a broken test.

@aahmed-se aahmed-se self-assigned this Jul 20, 2020
@aahmed-se aahmed-se changed the title Gihub CI EXP (WIP) Gihub CI EXP Jul 20, 2020
@aahmed-se aahmed-se force-pushed the github_ci_exp branch 25 times, most recently from 714f2d5 to 206b3bd Compare July 21, 2020 10:47
@aahmed-se aahmed-se force-pushed the github_ci_exp branch 4 times, most recently from 7235917 to 532e69b Compare July 22, 2020 11:44
run: mvn test -DfailIfNoTests=false -pl pulsar-broker-auth-sasl
- name: run unit tests for pulsar-broker
run: |
mvn -B -q -ntp install -pl pulsar-broker -am -DskipTests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be fetching snapshot dependencies for other modules and it will fail to compile whenever a commit is also touching more than just pulsar-broker. Rather why not just do install with -Pcore-modules

@aahmed-se aahmed-se force-pushed the github_ci_exp branch 3 times, most recently from de0ccbf to 5dfa910 Compare July 22, 2020 22:56
@aahmed-se aahmed-se changed the title Migrate github actions to use container images (WIP) Migrate github actions to use container images Jul 22, 2020
@aahmed-se aahmed-se force-pushed the github_ci_exp branch 2 times, most recently from e0a68d7 to 36aea9d Compare July 23, 2020 00:28
@aahmed-se aahmed-se force-pushed the github_ci_exp branch 3 times, most recently from e9b2e0d to bce79bb Compare July 23, 2020 01:33
* Unit test and go function tests are not consistent in runtime behavior
@aahmed-se aahmed-se changed the title (WIP) Migrate github actions to use container images Migrate github actions to use container images Jul 23, 2020
@merlimat merlimat added this to the 2.7.0 milestone Jul 23, 2020
@merlimat merlimat merged commit 67bd345 into apache:master Jul 23, 2020
@aahmed-se aahmed-se deleted the github_ci_exp branch July 24, 2020 18:41
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Jul 25, 2020
* Add server bind address to proxy webserver

* Force executor shutdown in mocks

* Add config for surefire reuseForks and forkCount

* Fix ProxyTest#testRegexSubscription

* Migrate github actions to use container images

* Unit test and go function tests are not consistent in runtime behavior

Co-authored-by: Ali Ahmed <alia@splunk.com>
(cherry picked from commit 67bd345)
jerrypeng pushed a commit to jerrypeng/incubator-pulsar that referenced this pull request Aug 14, 2020
* Add server bind address to proxy webserver

* Force executor shutdown in mocks

* Add config for surefire reuseForks and forkCount

* Fix ProxyTest#testRegexSubscription

* Migrate github actions to use container images

* Unit test and go function tests are not consistent in runtime behavior

Co-authored-by: Ali Ahmed <alia@splunk.com>
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
* Add server bind address to proxy webserver

* Force executor shutdown in mocks

* Add config for surefire reuseForks and forkCount

* Fix ProxyTest#testRegexSubscription

* Migrate github actions to use container images

* Unit test and go function tests are not consistent in runtime behavior

Co-authored-by: Ali Ahmed <alia@splunk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants