1. 05 11月, 2020 1 次提交
    • A
      Add a nightly deployment for the website · 428238c3
      Andrea Frittoli 提交于
      Use a simple scheduled github action to deploy
      the website nightly. The deploy step includes sync,
      so this will pull in an up to date version of the docs
      on the master branch.
      428238c3
  2. 31 10月, 2020 2 次提交
  3. 29 10月, 2020 3 次提交
  4. 27 10月, 2020 1 次提交
    • A
      Rewrite the link re-writing logic · c09354a6
      Andrea Frittoli 提交于
      The previous logic parses URLs with a regex first and then using
      the markdown library. It then uses urlopen().read() to validate
      links.
      
      We use now the markdown library only to extract the list of links,
      and then urlparse to deconstruct, analyse, adapt and reconstract
      the link. We do not attempt to fetch links anymore, which means
      that external links are not guaranteed to be working.
      
      Absolute URLs are not changed (they may be external)
      Fragments are relative to the page and do not need changes
      Path only links should point to a file synced to the website
      but sometimes the file may be missing (if it's not in the sync
      configuration), so we follow this approach:
      - prefix with base_path and check for the file locally
      - if not found, prefix with base_url instead
      
      Note that urlparse treats URLs without scheme like path only
      URLs, so 'github.com' will be rewritten to base_url/github.com
      Signed-off-by: NAndrea Frittoli <andrea.frittoli@gmail.com>
      c09354a6
  5. 23 10月, 2020 2 次提交
  6. 21 10月, 2020 2 次提交
    • A
      Further cleanup the sync script · c93169a9
      Andrea Frittoli 提交于
      Cleanup typos, simplify logic in a few places.
      Make the list of files config a dict instead of a list of dicts.
      Signed-off-by: NAndrea Frittoli <andrea.frittoli@gmail.com>
      c93169a9
    • P
      refactor sync script · c4894b3a
      popcor255 提交于
      As a developer, it is difficult to make changes to a script and ensure that nothing is broken without tests. Test are added in this patch with 80% code coverage. The script has also been refactored to increase readability. This refactor is not a pure refactor. The sync did not work properly. There is a list of bugs that reported the script generating broken links, #160, #126, #158, #133, #134. This refactor also includes a patch that fixes these bugs. The patch redirects a user to github if there is a relative link to a file that does not exist. This is important because some links will reference a snippet of code, test, or example. These artifacts are not docs, they are not rendered properly on the site. It is better to redirect the user to the intended artifact if the file is not synced. This prevents random 404s, and preserves the original behavior of the sync script. There are other approaches to fix this bug. This includes, manually editing links, downloading the files that the broken link are referencing in the sync config file, or removing the broken links. This is the best approach because broken links are automatically fixed and do not require manual intervention. This approach causes a side effect of not requiring the config file to be up-to date because the script will redirect the user to github. We want to encourage frequent sync. So eventually, this script should become tekton-ified (tekton task) and placed into the tekton catalog repo. Sync needs to become a tekon task in order for every repo to sync docs on push event.
      c4894b3a
  7. 10 10月, 2020 2 次提交
  8. 22 9月, 2020 1 次提交
    • P
      remove modal from interactive tutorials · f2d525e0
      popcor255 提交于
      The modal in the interactive tutorials is difficult to navigate. I can not scroll (left to right) and (up and down) because of the embedded iframe.
      f2d525e0
  9. 10 9月, 2020 1 次提交
  10. 03 9月, 2020 1 次提交
  11. 02 9月, 2020 1 次提交
  12. 20 8月, 2020 1 次提交
    • A
      Update Katacoda scenarios to Kubernetes 1.18 · abe688ec
      Alan Greene 提交于
      Update all Katacoda scenarios to run on Kubernetes 1.18, with
      a 2 node cluster.
      
      Fix some issues in the tasks and runs scenarios that seem to have
      been undone in rebases before they were merged.
      
      Update the Dashboard scenario to run the latest Pipeline and
      Dashboard versions at time of writing.
      
      Remove the use of the ingress in the Dashboard scenario since
      it appears unstable on Katacoda with kubernetes 1.18. Using a
      port-forward is sufficient for this scenario.
      abe688ec
  13. 12 8月, 2020 1 次提交
    • A
      Add Katacoda playground · 648a2291
      Alan Greene 提交于
      Add a Katacoda scenario that can act as a playground for users
      to experiment with Tekton in a sandbox environment.
      
      This environment provides a 2-node Kubernetes cluster with the
      following projects installed:
      - Pipelines v0.14.3
      - Dashboard v0.8.2
      - CLI v0.11.0
      
      Typical startup time is <1minute, but may take 2 or 3 minutes
      in some cases. The installation should not require any manual
      steps by the user.
      648a2291
  14. 31 7月, 2020 1 次提交
  15. 29 7月, 2020 1 次提交
    • A
      Update image URLs in dashboard Katacoda tutorial · 682190cf
      Alan Greene 提交于
      Katacoda supports linking to images in the assets folder. Update our
      existing links to use this approach instead of using the GitHub 'raw'
      URLs as this gives us greater portability for the tutorials and ensures
      the correct version of the images is loaded even if we stop loading content
      from the `master` branch in future.
      682190cf
  16. 21 7月, 2020 2 次提交
  17. 20 7月, 2020 1 次提交
  18. 27 6月, 2020 2 次提交
  19. 18 6月, 2020 2 次提交
  20. 16 6月, 2020 1 次提交
  21. 15 6月, 2020 2 次提交
  22. 11 6月, 2020 1 次提交
  23. 10 6月, 2020 4 次提交
  24. 02 6月, 2020 1 次提交
  25. 29 5月, 2020 3 次提交