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.x] apmpackage: remove version directory (backport #5414) #5418

Merged
merged 3 commits into from
Jun 8, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 8, 2021

This is an automatic backport of pull request #5414 done by Mergify.
Cherry-pick of 1876181 has failed:

On branch mergify/bp/7.x/pr-5414
Your branch is up to date with 'origin/7.x'.

You are currently cherry-picking commit 18761816.
  (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:   Makefile
	modified:   apmpackage/README.md
	deleted:    apmpackage/apm/0.3.0/changelog.yml
	renamed:    apmpackage/apm/0.3.0/README.template.md -> apmpackage/apm/README.template.md
	renamed:    apmpackage/apm/0.3.0/agent/input/template.yml.hbs -> apmpackage/apm/agent/input/template.yml.hbs
	new file:   apmpackage/apm/changelog.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ilm/default_policy.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ilm/default_policy.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/elasticsearch/ingest_pipeline/default.json -> apmpackage/apm/data_stream/app_metrics/elasticsearch/ingest_pipeline/default.json
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/fields/base-fields.yml -> apmpackage/apm/data_stream/app_metrics/fields/base-fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/fields/ecs.yml -> apmpackage/apm/data_stream/app_metrics/fields/ecs.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/fields/fields.yml -> apmpackage/apm/data_stream/app_metrics/fields/fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/app_metrics/manifest.yml -> apmpackage/apm/data_stream/app_metrics/manifest.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ilm/default_policy.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ilm/default_policy.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_error_grouping_name.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_error_grouping_name.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_agent.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_agent.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_geo.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/apm_user_geo.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/elasticsearch/ingest_pipeline/default.json -> apmpackage/apm/data_stream/error_logs/elasticsearch/ingest_pipeline/default.json
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/fields/base-fields.yml -> apmpackage/apm/data_stream/error_logs/fields/base-fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/fields/ecs.yml -> apmpackage/apm/data_stream/error_logs/fields/ecs.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/fields/fields.yml -> apmpackage/apm/data_stream/error_logs/fields/fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/error_logs/manifest.yml -> apmpackage/apm/data_stream/error_logs/manifest.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ilm/default_policy.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ilm/default_policy.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/elasticsearch/ingest_pipeline/default.json -> apmpackage/apm/data_stream/internal_metrics/elasticsearch/ingest_pipeline/default.json
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/fields/base-fields.yml -> apmpackage/apm/data_stream/internal_metrics/fields/base-fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/fields/ecs.yml -> apmpackage/apm/data_stream/internal_metrics/fields/ecs.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/fields/fields.yml -> apmpackage/apm/data_stream/internal_metrics/fields/fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/internal_metrics/manifest.yml -> apmpackage/apm/data_stream/internal_metrics/manifest.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ilm/default_policy.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ilm/default_policy.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_error_grouping_name.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_agent.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/apm_user_geo.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/elasticsearch/ingest_pipeline/default.json -> apmpackage/apm/data_stream/profile_metrics/elasticsearch/ingest_pipeline/default.json
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/fields/base-fields.yml -> apmpackage/apm/data_stream/profile_metrics/fields/base-fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/fields/ecs.yml -> apmpackage/apm/data_stream/profile_metrics/fields/ecs.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/fields/fields.yml -> apmpackage/apm/data_stream/profile_metrics/fields/fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/profile_metrics/manifest.yml -> apmpackage/apm/data_stream/profile_metrics/manifest.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/sampled_traces/elasticsearch/ilm/default_policy.json -> apmpackage/apm/data_stream/sampled_traces/elasticsearch/ilm/default_policy.json
	renamed:    apmpackage/apm/0.3.0/data_stream/sampled_traces/elasticsearch/ingest_pipeline/default.json -> apmpackage/apm/data_stream/sampled_traces/elasticsearch/ingest_pipeline/default.json
	renamed:    apmpackage/apm/0.3.0/data_stream/sampled_traces/fields/base-fields.yml -> apmpackage/apm/data_stream/sampled_traces/fields/base-fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/sampled_traces/fields/ecs.yml -> apmpackage/apm/data_stream/sampled_traces/fields/ecs.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/sampled_traces/fields/fields.yml -> apmpackage/apm/data_stream/sampled_traces/fields/fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/sampled_traces/manifest.yml -> apmpackage/apm/data_stream/sampled_traces/manifest.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ilm/default_policy.json -> apmpackage/apm/data_stream/traces/elasticsearch/ilm/default_policy.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_error_grouping_name.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/apm_error_grouping_name.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/apm_ingest_timestamp.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/apm_metrics_dynamic_template.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/apm_remove_span_metadata.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_agent.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_agent.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_geo.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/apm_user_geo.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/elasticsearch/ingest_pipeline/default.json -> apmpackage/apm/data_stream/traces/elasticsearch/ingest_pipeline/default.json
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/fields/base-fields.yml -> apmpackage/apm/data_stream/traces/fields/base-fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/fields/ecs.yml -> apmpackage/apm/data_stream/traces/fields/ecs.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/fields/fields.yml -> apmpackage/apm/data_stream/traces/fields/fields.yml
	renamed:    apmpackage/apm/0.3.0/data_stream/traces/manifest.yml -> apmpackage/apm/data_stream/traces/manifest.yml
	renamed:    apmpackage/apm/0.3.0/docs/README.md -> apmpackage/apm/docs/README.md
	renamed:    apmpackage/apm/0.3.0/img/apm-01-service-inventory.png -> apmpackage/apm/img/apm-01-service-inventory.png
	renamed:    apmpackage/apm/0.3.0/img/apm-02-service-overview.png -> apmpackage/apm/img/apm-02-service-overview.png
	renamed:    apmpackage/apm/0.3.0/img/apm-03-trace.png -> apmpackage/apm/img/apm-03-trace.png
	renamed:    apmpackage/apm/0.3.0/img/apm-04-service-map.png -> apmpackage/apm/img/apm-04-service-map.png
	renamed:    apmpackage/apm/0.3.0/img/logo_apm.svg -> apmpackage/apm/img/logo_apm.svg
	renamed:    apmpackage/apm/0.3.0/manifest.yml -> apmpackage/apm/manifest.yml
	modified:   apmpackage/cmd/gen-package/gendocs.go
	modified:   apmpackage/cmd/gen-package/genfields.go
	modified:   apmpackage/cmd/gen-package/genpipelines.go
	modified:   apmpackage/cmd/gen-package/paths.go
	modified:   docker-compose.yml
	modified:   script/copy_package.py
	new file:   testing/docker/package-registry/entrypoint.sh

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   apmpackage/cmd/gen-package/main.go

To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/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/

* apmpackage: remove version directory

The version directory should be added when copying
to package-storage, but it is not needed in this repo.
The version is maintained in manifest.yml.

* apmpackage: update package version to 0.3.0

* Update apmpackage instructions and script

* Makefile: update *-package targets

* add docker entrypoint to copy package to am/n.n.n

* apmpackage/cmd/gen-package: no version in path

* make fmt

(cherry picked from commit 1876181)

# Conflicts:
#	apmpackage/cmd/gen-package/main.go
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Jun 8, 2021
@mergify mergify bot assigned axw Jun 8, 2021
@apmmachine
Copy link
Contributor

apmmachine commented Jun 8, 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

Expand to view the summary

Build stats

  • Build Cause: Pull request #5418 updated

  • Start Time: 2021-06-08T04:17:08.243+0000

  • Duration: 42 min 13 sec

  • Commit: 2105649

Test stats 🧪

Test Results
Failed 0
Passed 4697
Skipped 121
Total 4818

Trends 🧪

Image of Build Times

Image of Tests

@mergify
Copy link
Contributor Author

mergify bot commented Jun 8, 2021

This pull request is now in conflicts. Could you fix it @mergify[bot]? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-5414 upstream/mergify/bp/7.x/pr-5414
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-5414

@axw axw removed the conflicts There is a conflict in the backported pull request label Jun 8, 2021
@axw axw merged commit 3ed771f into 7.x Jun 8, 2021
@axw axw deleted the mergify/bp/7.x/pr-5414 branch June 8, 2021 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants