-
Notifications
You must be signed in to change notification settings - Fork 127
[Custom Agent Deployer Fix] Fix to look for Dockerfile in integrations repo for custom agent deployer #1009
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
Conversation
…instead of elastic-package repo
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good, could you please add a test package and update the docs in docs/howto/system_testing.md?
internal/testrunner/runners/system/servicedeployer/custom_agent.go
Outdated
Show resolved
Hide resolved
internal/testrunner/runners/system/servicedeployer/custom_agent.go
Outdated
Show resolved
Hide resolved
🌐 Coverage report
|
|
Ran the below command:
Received Output as below. The pipeline will break because of the errors To fix these errors, below mentioned PRs must be merged with main |
Ok, let's wait to merge this one first. Thanks for adding tests files! |
|
It appears that elastic-package must use the latest package-spec to avoid the below mentioned error @jsoriano , is this something that you can help me with ? |
|
Hey @agithomas, yes, we need to publish a new version of package-spec and include it here. Something you can try in the meantime is to use the current main version of the package spec, with: |
|
/test |
|
@agithomas thanks for giving a try to this PR with package-spec main branch. If build goes green I will release a new version of the spec so you can continue with this. |
...kages/custom-agent-multiservice/oracle/data_stream/memory/_dev/deploy/agent/custom-agent.yml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment about the location of the test packages.
Could you update docs/howto/system_testing.md to include this scenario under the section "Agent service deployer". It would be helpful for future references.
As @jsoriano mentioned here #1009 (comment), as the latest Jenkins build was successful, I will proceed to release a new package-spec version (v2.1.0).
Once this release is done and updated in elastic-package, you could update your branch with main branch and remove the replace in go.mod file too.
|
/test |
|
@mrodm , @jsoriano , There exists a problem in elastic-package related to the cleanup of This issue is re-created while manual doing run as well The second run of the test fails. I have identified a fix and i am adding to this PR change to check if it works. It worked perfectly in local environment testing. |
|
@agithomas package-spec 2.1.0 has been merged in elastic-package #1022. |
One option to not block this PR for this fix could be (as the feature has already been tested):
WDYT ? |
…iff integration testing
Did the rollback as per the above suggestion. Will create a separate PR for the issue-fix related to policy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing all the comments!
Tested with below configuration
Fixes #997