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

[packaging] support centOS smoke testing #99

Merged
merged 6 commits into from
Jul 23, 2020

Conversation

v1v
Copy link
Member

@v1v v1v commented Jul 22, 2020

What

Let's support centOS for testing the rpm package in different PHP versions:

  • 7.2
  • 7.3
  • 7.4

Tests

$ rm -rf build ; PHP_VERSION=7.3 make -C packaging  rpm rpm-install
...
{:timestamp=>"2020-07-23T10:40:39.382287+0000", :message=>"Package version '0.1-preview' includes dashes, converting to underscores", :level=>:warn}
{:timestamp=>"2020-07-23T10:40:40.268219+0000", :message=>"Created package", :path=>"build/packages/apm-agent-php-0.1_preview-1.noarch.rpm"}
Creating sha512sum ...
...
+ composer run-script run_component_tests_standalone_envs
> ELASTIC_APM_TESTS_APP_CODE_HOST_KIND=CLI_script phpunit -c phpunit_component_tests.xml
PHPUnit 8.5.8 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.3.20
Configuration: /src/phpunit_component_tests.xml

...                                                                 3 / 3 (100%)

Time: 5.4 seconds, Memory: 10.00 MB

OK (3 tests, 65 assertions)
> ELASTIC_APM_TESTS_APP_CODE_HOST_KIND=CLI_builtin_HTTP_server phpunit -c phpunit_component_tests.xml
PHPUnit 8.5.8 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.3.20
Configuration: /src/phpunit_component_tests.xml

...                                                                 3 / 3 (100%)

Time: 5.49 seconds, Memory: 10.00 MB

OK (3 tests, 65 assertions)

@v1v v1v self-assigned this Jul 22, 2020
@v1v v1v added the automation label Jul 22, 2020
@apmmachine
Copy link
Contributor

apmmachine commented Jul 22, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #99 updated]

  • Start Time: 2020-07-23T11:24:35.014+0000

  • Duration: 9 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 78
Skipped 0
Total 78

@v1v v1v marked this pull request as ready for review July 23, 2020 11:26
@v1v v1v requested review from a team and SergeyKleyman July 23, 2020 11:27
Copy link
Contributor

@SergeyKleyman SergeyKleyman left a comment

Choose a reason for hiding this comment

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

LGTM

@v1v v1v merged commit 345964c into elastic:master Jul 23, 2020
@v1v v1v deleted the feature/centos-support-packaging branch July 23, 2020 15:03
v1v added a commit to v1v/apm-agent-php that referenced this pull request Jul 23, 2020
…php-version-pipeline

* upstream/master:
  [packaging] support centOS smoke testing (elastic#99)
v1v added a commit to v1v/apm-agent-php that referenced this pull request Jul 23, 2020
* upstream/master:
  [packaging] support centOS smoke testing (elastic#99)
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.

5 participants