Closed kameshsampath closed 4 years ago
@kameshsampath it will not build currently:
podman run -it -v $PWD:/antora:Z -v $PWD/../tekton-tutorial:/tekton-tutorial:Z --rm -t antora/antora dev-site.yml
[clone] https://github.com/redhat-scholars/tekton-tutorial.git [####################################################################################################]
[clone] https://github.com/kameshsampath/openshift-admins-devops.git [####################################################################################################]
error: Duplicate nav: master@tekton-tutorial:ROOT:nav.adoc
Add the --stacktrace option to see the cause.
@kameshsampath it will not build currently:
podman run -it -v $PWD:/antora:Z -v $PWD/../tekton-tutorial:/tekton-tutorial:Z --rm -t antora/antora dev-site.yml [clone] https://github.com/redhat-scholars/tekton-tutorial.git [####################################################################################################] [clone] https://github.com/kameshsampath/openshift-admins-devops.git [####################################################################################################] error: Duplicate nav: master@tekton-tutorial:ROOT:nav.adoc Add the --stacktrace option to see the cause.
@thoraxe - as discussed in detail on chats/slack/emals, I have included TAG as part of dev-site.yml over branch https://github.com/redhat-scholars/openshift-admins-devops/blob/f8fb51e0e34eaf6df85b09af1ac0421716832784/dev-site.yml#L11-L14, you no longer need to refer to tekton-tutorial via volume from your local directory, as that will point to your master branch or other branch you might be in .
The right command is like:
podman run -it -v $PWD:/antora:Z --rm -t antora/antora dev-site.yml
That will use the Tekton Tutorial tag v0.14.3
with DevOps Admin course.
The following command does the site generation but will clean and print detailed errors/warnings which helps us to clean the docs :)
docker run -it -v $PWD:/antora:Z --rm -t antora/antora generate --stacktrace --clean dev-site.yml
HTH.
Still fails:
θ74° [thoraxe:~/Red_Hat/openshift/openshift-admins-devops] kameshsampath-tekton-pipelines* 1 ± podman run -it -v $PWD:/antora:Z --rm -t antora/antora generate --stacktrace --clean dev-site.yml
Error: Duplicate nav: master@tekton-tutorial:ROOT:nav.adoc
at ContentCatalog.addFile (/usr/local/share/.config/yarn/global/node_modules/@antora/content-classifier/lib/content-catalog.js:113:13)
at files.forEach (/usr/local/share/.config/yarn/global/node_modules/@antora/content-classifier/lib/classify-content.js:26:78)
at Array.forEach (<anonymous>)
at aggregate.reduce (/usr/local/share/.config/yarn/global/node_modules/@antora/content-classifier/lib/classify-content.js:26:11)
at Array.reduce (<anonymous>)
at classifyContent (/usr/local/share/.config/yarn/global/node_modules/@antora/content-classifier/lib/classify-content.js:22:36)
at Promise.all.aggregateContent.then (/usr/local/share/.config/yarn/global/node_modules/@antora/site-generator-default/lib/generate-site.js:19:59)
@thoraxe - sorry about the missing branches: []
, its fixed now as discussed in the call.
Thanks
Get Outlook for iOShttps://aka.ms/o0ukef
From: Erik Jacobs notifications@github.com Sent: Tuesday, September 29, 2020 1:20:31 AM To: redhat-scholars/openshift-admins-devops openshift-admins-devops@noreply.github.com Cc: Kamesh Sampath kamesh.sampath@hotmail.com; Mention mention@noreply.github.com Subject: Re: [redhat-scholars/openshift-admins-devops] (WIP) Pipelines and Triggers (#17)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fredhat-scholars%2Fopenshift-admins-devops%2Fpull%2F17%23event-3816205357&data=02%7C01%7C%7C575f8056a5874db3671708d863e7c222%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637369194322918600&sdata=uVyz1QxfUIHf%2B3kIvNIo7zHqTwwSOfYK1zcPQrOXtFU%3D&reserved=0, or unsubscribehttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAHHMILBOJVSV6QL2ZF7ILDSIDSIPANCNFSM4QJGPF4Q&data=02%7C01%7C%7C575f8056a5874db3671708d863e7c222%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637369194322928596&sdata=kanI%2BSBGfEPI%2BfGlEoKettlK7tcvAgeVyNZTIBRoN4k%3D&reserved=0.
Added Pipelines
WIP Triggers
11