Skip to content

package: docker images to match the unified release format#30895

Closed
v1v wants to merge 12 commits into
elastic:mainfrom
v1v:feature/rename-docker-tar-gz
Closed

package: docker images to match the unified release format#30895
v1v wants to merge 12 commits into
elastic:mainfrom
v1v:feature/rename-docker-tar-gz

Conversation

@v1v

@v1v v1v commented Mar 17, 2022

Copy link
Copy Markdown
Member

What does this PR do?

Rename docker images from the package system to match the expected naming by the unified release.

Therefore, the new name will end with either docker-image-linux-amd64.tar.gz or docker-image-linux-arm64.tar.gz.

Why is it important?

Simplify the Daily Release Snapshots manipulation -> elastic/apm-server#7530 (comment)

Test

If I run TYPES=docker mage package then

Generated fields.yml for metricbeat to /Users/vmartinez/work/src/github.com/elastic/beats/x-pack/metricbeat/fields.yml
>> Building metricbeat.yml for linux/amd64
>> Building metricbeat.reference.yml for linux/amd64
>> Building metricbeat.docker.yml for linux/amd64
exec: go "list" "-m"
>> buildGoDaemon: Building for linux/arm64
>> golangCrossBuild: Building for linux/arm64
>> buildGoDaemon: Building for linux/386
>> golangCrossBuild: Building for windows/amd64
>> golangCrossBuild: Building for darwin/amd64
>> golangCrossBuild: Building for darwin/arm64
>> golangCrossBuild: Building for linux/amd64
>> golangCrossBuild: Building for windows/386
...
>> Testing package contents
package ran for 6m51.279139761s

Actions

  • Fix the UTs in the packaging
  • Look for consumers if any
  • Update docs/changelog if needed?
  • Gather feedback from the teams

@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 17, 2022
@mergify mergify Bot assigned v1v Mar 17, 2022
@mergify

mergify Bot commented Mar 17, 2022

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label. Could you fix it @v1v? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 7./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@mergify mergify Bot added the backport-skip Skip notification from the automated backport with mergify label Mar 17, 2022
@elasticmachine

elasticmachine commented Mar 17, 2022

Copy link
Copy Markdown
Contributor

💚 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: 2022-07-27T07:43:23.017+0000

  • Duration: 113 min 57 sec

Test stats 🧪

Test Results
Failed 0
Passed 22533
Skipped 1937
Total 24470

💚 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.

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

@v1v

v1v commented Mar 17, 2022

Copy link
Copy Markdown
Member Author

/package

v1v added a commit to v1v/beats that referenced this pull request Mar 17, 2022
@mtojek mtojek added the Team:Automation Label for the Observability productivity team label Mar 21, 2022
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Mar 21, 2022
@rdner

rdner commented Apr 7, 2022

Copy link
Copy Markdown
Member

@v1v is this PR still relevant?

@jlind23

jlind23 commented Apr 13, 2022

Copy link
Copy Markdown
Contributor

@v1v any update on this?

@v1v

v1v commented Apr 18, 2022

Copy link
Copy Markdown
Member Author

This is still valid

v1v added 7 commits April 18, 2022 12:51
…er-tar-gz

* upstream/main: (139 commits)
  [Automation] Update elastic stack version to 8.3.0-c655cda8 for testing (elastic#31322)
  Define a queue metrics reporter interface  (elastic#31289)
  [Oracle Module] Change tablespace metricset collection period (elastic#31259)
  libbeat/reader/syslog: relax timestamp parsing to allow leading zero (elastic#31254)
  [Automation] Update elastic stack version to 8.3.0-55ba6f37 for testing (elastic#31311)
  [libbeat] Remove unused fields and functions in the memory queue (elastic#31302)
  [libbeat] Cleaning up some unneeded helper types (elastic#31290)
  Readme for kibana module (elastic#31276)
  [Automation] Update elastic stack version to 8.3.0-4be61f32 for testing (elastic#31296)
  x-pack/winlogbeat/module/routing/ingest: fix typo for channel name (elastic#31291)
  Small pipeline cleanup removing some unused data fields (elastic#31288)
  removing info log (elastic#30971)
  Simplify TLS config deserialization (elastic#31168)
  Detect new files under known paths in filestream input (elastic#31268)
  Add support for port mapping in docker hints (elastic#31243)
  Update qa-labels.yml (elastic#31260)
  libbeat: log debug for `proxy_url` and fixed docs (elastic#31130)
  [heartbeat][docs] Add note about ensuring correct index settings for uptime (elastic#31146)
  [Automation] Update elastic stack version to 8.3.0-2c8f9574 for testing (elastic#31256)
  [Filebeat] fix m365_defender pipeline bug (elastic#31227)
  ...
@v1v

v1v commented Apr 18, 2022

Copy link
Copy Markdown
Member Author

/package

@mergify

mergify Bot commented Apr 21, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
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 feature/rename-docker-tar-gz upstream/feature/rename-docker-tar-gz
git merge upstream/main
git push upstream feature/rename-docker-tar-gz

@mdelapenya

Copy link
Copy Markdown
Contributor

@mergify

mergify Bot commented May 4, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
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 feature/rename-docker-tar-gz upstream/feature/rename-docker-tar-gz
git merge upstream/main
git push upstream feature/rename-docker-tar-gz

Comment thread CHANGELOG.next.asciidoc
@v1v

v1v commented May 16, 2022

Copy link
Copy Markdown
Member Author

/package

@mergify

mergify Bot commented May 18, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
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 feature/rename-docker-tar-gz upstream/feature/rename-docker-tar-gz
git merge upstream/main
git push upstream feature/rename-docker-tar-gz

@mergify

mergify Bot commented Aug 15, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
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 feature/rename-docker-tar-gz upstream/feature/rename-docker-tar-gz
git merge upstream/main
git push upstream feature/rename-docker-tar-gz

1 similar comment
@mergify

mergify Bot commented Sep 26, 2022

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
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 feature/rename-docker-tar-gz upstream/feature/rename-docker-tar-gz
git merge upstream/main
git push upstream feature/rename-docker-tar-gz

@v1v

v1v commented Sep 26, 2022

Copy link
Copy Markdown
Member Author

I'll close this issue, and let the DC team drive this change if needed in the future

@v1v v1v closed this Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip Skip notification from the automated backport with mergify Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants