mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[ci] Work around docosaurus errors (#206097)
## Summary This workaround removes the folder that needs to be built differently after cloning the repos. See: https://github.com/elastic/kibana/issues/206077
This commit is contained in:
parent
668d88e19e
commit
b3b81331b5
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,14 @@ run(
|
||||||
sources.map(async (source): Promise<Source> => {
|
sources.map(async (source): Promise<Source> => {
|
||||||
const repo = await repos.init(source.location);
|
const repo = await repos.init(source.location);
|
||||||
|
|
||||||
|
// TODO: Remove this, once https://github.com/elastic/kibana/issues/206077 is resolved
|
||||||
|
if (source.location === 'elastic/kibana-team') {
|
||||||
|
log.info(
|
||||||
|
'Removing internal.kibana.dev from elastic/kibana-team - see https://github.com/elastic/kibana/issues/206077 for more details.'
|
||||||
|
);
|
||||||
|
await repo.run('rm', ['-rf', 'internal.kibana.dev'], { desc: 'rm internal.kibana.dev' });
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
type: 'file',
|
type: 'file',
|
||||||
location: repo.resolve(),
|
location: repo.resolve(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue