Skip to content

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

Merged
jbudz merged 2 commits intoelastic:mainfrom
jbudz:build/docker-context-local-artifact
Apr 4, 2022
Merged

[build] Add flag for using a local Kibana artifact in the Docker context#129375
jbudz merged 2 commits intoelastic:mainfrom
jbudz:build/docker-context-local-artifact

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@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 Kibana-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
Copy Markdown
Contributor

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

@kibana-ci
Copy link
Copy Markdown

💚 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
Copy Markdown
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 <jon@elastic.co>
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
Copy Markdown
Contributor 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 Kibana-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