Skip to content

Commit

Permalink
Add GitLab CI/CD tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel committed Aug 7, 2023
1 parent d1bfab2 commit 904ba19
Show file tree
Hide file tree
Showing 23 changed files with 212 additions and 34 deletions.
5 changes: 4 additions & 1 deletion sites/highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ def rust_to_html(snippet: str) -> str:


def shell_to_html(snippet: str) -> str:
escaped_snippet = escape_html(snippet)
if "no-escape" in snippet:
escaped_snippet = snippet
else:
escaped_snippet = escape_html(snippet)
output = escaped_snippet.replace("$ ", '<span class="prompt">$ </span>')

# Replace ANSI escape code with HTML tag
Expand Down
1 change: 1 addition & 0 deletions sites/hurl.dev/_data/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
- title: CI/CD Integration
path: /docs/tutorial/ci-cd-integration.html
items:
- title: Templating Tests
- title: Integration Script
- title: Running Tests with GitHub Action
- title: Running Tests with GitLab CI/CD
Expand Down
240 changes: 207 additions & 33 deletions sites/hurl.dev/_docs/tutorial/ci-cd-integration.md

Large diffs are not rendered by default.

Binary file added sites/hurl.dev/assets/img/github-action-dark.avif
Binary file not shown.
Binary file added sites/hurl.dev/assets/img/github-action-dark.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 904ba19

Please sign in to comment.