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

Refactor agent version pinning in integration test script #3469

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

pchila
Copy link
Member

@pchila pchila commented Sep 25, 2023

What does this PR do?

Remove override on agent and stack version

Why is it important?

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

@elasticmachine
Copy link
Contributor

elasticmachine commented Sep 25, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-09-26T06:00:46.657+0000

  • Duration: 26 min 47 sec

Test stats 🧪

Test Results
Failed 0
Passed 6277
Skipped 55
Total 6332

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Sep 25, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 98.765% (80/81) 👍
Files 67.832% (194/286) 👍
Classes 66.48% (357/537) 👍
Methods 53.112% (1118/2105) 👍
Lines 38.564% (12701/32935) 👍 0.018
Conditionals 100.0% (0/0) 💚

@pchila pchila marked this pull request as ready for review September 25, 2023 18:01
@pchila pchila requested a review from a team as a code owner September 25, 2023 18:01
@pchila pchila requested review from michalpristas and blakerouse and removed request for a team September 25, 2023 18:01
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@pchila
Copy link
Member Author

pchila commented Sep 25, 2023

buildkite test this


# Run integration tests
set +e
# Use 8.10.2-SNAPSHOT until the first 8.10.3-SNAPSHOT is produced.
AGENT_VERSION="8.10.2-SNAPSHOT" TEST_INTEG_AUTH_ESS_REGION=azure-eastus2 TEST_INTEG_CLEAN_ON_EXIT=true SNAPSHOT=true mage integration:test
AGENT_VERSION="${OVERRIDE_TEST_AGENT_VERSION}" TEST_INTEG_AUTH_ESS_REGION=azure-eastus2 TEST_INTEG_CLEAN_ON_EXIT=true SNAPSHOT=true mage integration:test
Copy link
Member

Choose a reason for hiding this comment

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

The comment above this can be removed since it references 8.10.2 and 8.10.3 where that isn't relevant anymore.

@pchila pchila requested a review from cmacknz September 26, 2023 13:51
@pchila pchila merged commit a7b2514 into elastic:8.10 Sep 26, 2023
10 checks passed
mergify bot pushed a commit that referenced this pull request Sep 26, 2023
* Refactor agent version pinning in integration test script

* remove 8.10.2 version pinning

(cherry picked from commit a7b2514)

# Conflicts:
#	.buildkite/scripts/steps/integration_tests.sh
@pchila pchila deleted the fix-agent-pinning branch September 26, 2023 15:52
pchila added a commit that referenced this pull request Sep 27, 2023
…test script (#3476)

* Refactor agent version pinning in integration test script

* remove 8.10.2 version pinning

(cherry picked from commit a7b2514)

# Conflicts:
#	.buildkite/scripts/steps/integration_tests.sh

* resolve cherry-pick conflicts

---------

Co-authored-by: Paolo Chilà <[email protected]>
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.

4 participants