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

[DOCS] Display feature flag docs on master, 7.x only #52082

Closed
wants to merge 1 commit into from
Closed

[DOCS] Display feature flag docs on master, 7.x only #52082

wants to merge 1 commit into from

Conversation

jrodewig
Copy link
Contributor

@jrodewig jrodewig commented Feb 7, 2020

This is a reattempt at #51743. I added some additional logic to target only non-release docs.


Adds the ability to display docs on permanently unreleased branches,
such as master and 7.x.

Also updates how the autoscaling and EQL docs are included. Currently,
these feature-flag docs would display on any unreleased branches that
contain the changes, such as 7.7.

Adds the ability to display docs on permanently unreleased branches,
such as `master` and `7.x`.

Also updates how the autoscaling and EQL docs are included. Currently,
these feature-flag docs would display on any unreleased branches that
contain the changes, such as 7.7.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/EQL)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (:Docs)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Autoscaling)

///////
Permanently unreleased branches (master, n.X)
///////
ifeval::["{release-state}"=="unreleased"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should prevent release build problems we saw with #52050.

@jrodewig jrodewig added the WIP label Feb 7, 2020
@jrodewig
Copy link
Contributor Author

jrodewig commented Feb 7, 2020

@henningandersen shared the following command to test release builds:

./gradlew -Dbwc.checkout.align=true -Dbuild.snapshot=false -Dtests.jvm.argline=-Dbuild.snapshot=false -Dlicense.key=<path>/elasticsearch/x-pack/plugin/core/snapshot.key -p docs build

This PR failed those tests. Unfortunately, it seems that this won't solve #52050.

@jrodewig jrodewig closed this Feb 7, 2020
@jasontedor
Copy link
Member

Thanks for trying this. I opened #52088 for now.

@jrodewig jrodewig removed the WIP label Feb 12, 2020
@jrodewig jrodewig deleted the docs__feature-flag-docs branch February 12, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants