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

[7.16](backport #28526) fix: use declarative style for complete variant of the elastic-agent #28635

Merged
merged 2 commits into from
Nov 2, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 26, 2021

This is an automatic backport of pull request #28526 done by Mergify.
Cherry-pick of 554399a has failed:

On branch mergify/bp/7.16/pr-28526
Your branch is up to date with 'origin/7.16'.

You are currently cherry-picking commit 554399aa1e.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   dev-tools/mage/dockerbuilder.go
	modified:   dev-tools/mage/pkgtypes.go
	modified:   dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl
	modified:   x-pack/elastic-agent/README.md

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   dev-tools/packaging/packages.yml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

…28526)

* Revert "[elastic-agent] Fix docker tar.gz generation for complete image (#27621)"

This reverts commit 89e415d.

* Revert "[elastic-agent] Use -complete in docker image name, not tag (#27399)"

This reverts commit 954a250.

* chore: use declarative variant for complete

* fix: pass agent dockerfile to complete spec

* fix: do not append variant to the artifact name

* docs: update reference to complete variant

* chore: remove unused param

* chore: remove Variants from PacakgeSpec struct

As we prefer using the declarative way over the programmatic way, we do
not need the variable. Instead, we'll use the YAML file for declaring the
new variants

* fix: align comment

Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>

Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
(cherry picked from commit 554399a)

# Conflicts:
#	dev-tools/packaging/packages.yml
@mergify mergify bot requested a review from a team as a code owner October 26, 2021 05:51
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Oct 26, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 26, 2021
@mdelapenya mdelapenya added build-system Issue or change affecting Mage, Make, or build scripts. Team:Automation Label for the Observability productivity team and removed conflicts There is a conflict in the backported pull request labels Oct 26, 2021
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 26, 2021
@mdelapenya
Copy link
Contributor

@Mergifyio refresh

@mergify
Copy link
Contributor Author

mergify bot commented Oct 26, 2021

refresh

✅ Pull request refreshed

@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 26, 2021

💚 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: 2021-10-26T06:05:54.592+0000

  • Duration: 253 min 57 sec

  • Commit: 922a4d4

Test stats 🧪

Test Results
Failed 0
Passed 54576
Skipped 5307
Total 59883

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

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

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

@mdelapenya mdelapenya merged commit 3523728 into 7.16 Nov 2, 2021
@mergify mergify bot deleted the mergify/bp/7.16/pr-28526 branch November 2, 2021 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport build-system Issue or change affecting Mage, Make, or build scripts. Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants