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

[build] Add flag for using a local Kibana artifact in the Docker context #129375

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Apr 4, 2022

Currently Docker contexts always install a Kibana distribution from an
http endpoint. These endpoints are only available after a release has
been published, making pre-release testing difficult.

This adds a flag to use a local Kibana artifact, with the intention of
verifying the Docker contexts with release artifacts prior to publishing
the release.

Testing

node scripts/build --skip-initialize --skip-generic-folders --skip-platform-folders --skip-archives --skip-docker-ubi --skip-docker-ubuntu --skip-docker-cloud --docker-context-use-local-artifact

mkdir target/tmp  && cp target/kibana-8.3.0-SNAPSHOT-docker-build-context.tar.gz target/tmp
cd target/tmp
tar -xvf target/kibana-8.3.0-SNAPSHOT-docker-build-context.tar.gz target/tmp
cat Dockerfile | grep COPY

Currently Docker contexts always install a Kibana distribution from  an
http endpoint.  These endpoints are only available after a release has
been published, making pre-release testing difficult.

This adds a flag to use a local Kibana artifact, with the intention of
verifying the Docker contexts with release artifacts prior to publishing
the release.
@jbudz jbudz added Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v8.2.0 v8.3.0 v7.17.3 labels Apr 4, 2022
@jbudz jbudz requested a review from a team as a code owner April 4, 2022 15:58
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz merged commit 4182523 into elastic:main Apr 4, 2022
kibanamachine pushed a commit that referenced this pull request Apr 4, 2022
…ext (#129375)

* [build] Add flag for using a local Kibana artifact in the Docker context

Currently Docker contexts always install a Kibana distribution from  an
http endpoint.  These endpoints are only available after a release has
been published, making pre-release testing difficult.

This adds a flag to use a local Kibana artifact, with the intention of
verifying the Docker contexts with release artifacts prior to publishing
the release.

* fix types

(cherry picked from commit 4182523)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.2
7.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 7.17:
- [build] Cross compile docker images (#128272)

Manual backport

To create the backport manually run:

node scripts/backport --pr 129375

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 4, 2022
…ext (#129375) (#129393)

* [build] Add flag for using a local Kibana artifact in the Docker context

Currently Docker contexts always install a Kibana distribution from  an
http endpoint.  These endpoints are only available after a release has
been published, making pre-release testing difficult.

This adds a flag to use a local Kibana artifact, with the intention of
verifying the Docker contexts with release artifacts prior to publishing
the release.

* fix types

(cherry picked from commit 4182523)

Co-authored-by: Jonathan Budzenski <[email protected]>
jbudz added a commit to jbudz/kibana that referenced this pull request Apr 4, 2022
…ext (elastic#129375)

* [build] Add flag for using a local Kibana artifact in the Docker context

Currently Docker contexts always install a Kibana distribution from  an
http endpoint.  These endpoints are only available after a release has
been published, making pre-release testing difficult.

This adds a flag to use a local Kibana artifact, with the intention of
verifying the Docker contexts with release artifacts prior to publishing
the release.

* fix types
jbudz added a commit that referenced this pull request Apr 4, 2022
…ext (#129375) (#129409)

* [build] Add flag for using a local Kibana artifact in the Docker context

Currently Docker contexts always install a Kibana distribution from  an
http endpoint.  These endpoints are only available after a release has
been published, making pre-release testing difficult.

This adds a flag to use a local Kibana artifact, with the intention of
verifying the Docker contexts with release artifacts prior to publishing
the release.

* fix types
@jbudz
Copy link
Member Author

jbudz commented Apr 4, 2022

7.17: fc7127d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed backported release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.17.3 v8.2.0 v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants