Skip to content

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Apr 1, 2025

This allows repositories to declare what content source to use for next and/or current.

Both default to main.

When checking out an environment

docs-assembler repo clone-all --environment prod

The environment configuration determines to use next or current.

Updated the checkout folder to include next or current.

The default output folder remains the same

@Mpdreamz Mpdreamz requested a review from a team as a code owner April 1, 2025 16:14
@Mpdreamz Mpdreamz self-assigned this Apr 1, 2025
@Mpdreamz Mpdreamz changed the title feature/content source assembler Add content_source (current/next) to assembler Apr 1, 2025
@Mpdreamz
Copy link
Member Author

Mpdreamz commented Apr 1, 2025

The failure here is because it uses an outdated assembler but its picking up the updated src/docs-assembler/assembler.yml file vs the embedded one.

https://github.com/elastic/docs-builder/actions/runs/14200698014/job/39786692416?pr=894

@Mpdreamz Mpdreamz linked an issue Apr 1, 2025 that may be closed by this pull request
2 tasks
@Mpdreamz Mpdreamz merged commit 06dd530 into main Apr 1, 2025
14 of 15 checks passed
@Mpdreamz Mpdreamz deleted the feature/content-source-assembler branch April 1, 2025 16:45
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.

[Feature Request]: Pull content from a branch other than main/master
2 participants