Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beiertu-mms/github-actions-playground
Playground for testing GitHub actions functionality.
https://github.com/beiertu-mms/github-actions-playground
github-actions mit-license playground
Last synced: about 2 months ago
JSON representation
Playground for testing GitHub actions functionality.
- Host: GitHub
- URL: https://github.com/beiertu-mms/github-actions-playground
- Owner: beiertu-mms
- License: mit
- Created: 2023-03-06T13:01:05.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-11T08:52:29.000Z (10 months ago)
- Last Synced: 2024-03-11T09:59:34.216Z (10 months ago)
- Topics: github-actions, mit-license, playground
- Language: HTML
- Homepage: https://beiertu-mms.github.io/github-actions-playground/
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub actions playground
![example1](https://img.shields.io/badge/example-one-red)
![example2](https://img.shields.io/badge/example-two-green)
![example3](https://img.shields.io/badge/example-three-blue)My playground to test the functionality of [GitHub Actions](https://github.com/features/actions).
## GitHub pages test
- [mermaid](./mermaid/index.md)
## Test Liquid syntax error
[//]: # ({% raw %})
```yaml
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
spec:
groups:
- rules:
- alert: CanaryRollback
expr: flagger_canary_status > 1
for: 1m
labels:
severity: critical
annotations:
summary: "Canary failed"
description: >
Canary deployment of version
{{ with query (printf "max_over_time(promotion_service_major_version{job=\"%s-canary\"}[2h])" $labels.name) }}{{ . | first | value | humanize }}{{ end }}.{{ with query (printf "max_over_time(promotion_service_minor_version{job=\"%s-canary\"}[2h])" $labels.name) }}{{ . | first | value | humanize }}{{ end }}.{{ with query (printf "max_over_time(promotion_service_patch_version{job=\"%s-canary\"}[2h])" $labels.name) }}{{ . | first | value | humanize }}{{ end }}
to {{ $labels.name }}.{{ $labels.exported_namespace }} failed.
canaryVersion: '{{ with query (printf "max_over_time(promotion_service_major_version{job=\"%s-canary\"}[2h])" $labels.name) }}{{ . | first | value | humanize }}{{ end }}.{{ with query (printf "max_over_time(promotion_service_minor_version{job=\"%s-canary\"}[2h])" $labels.name) }}{{ . | first | value | humanize }}{{ end }}.{{ with query (printf "max_over_time(promotion_service_patch_version{job=\"%s-canary\"}[2h])" $labels.name) }}{{ . | first | value | humanize }}{{ end }}'
primaryVersion: '{{ with query (printf "max(promotion_service_major_version{job=\"%s-primary\"})" $labels.name) }}{{ . | first | value | humanize }}{{ end }}.{{ with query (printf "max(promotion_service_minor_version{job=\"%s-primary\"})" $labels.name) }}{{ . | first | value | humanize }}{{ end }}.{{ with query (printf "max(promotion_service_patch_version{job=\"%s-primary\"})" $labels.name) }}{{ . | first | value | humanize }}{{ end }}'
```
[//]: # ({% endraw %})## License
Distributed under the MIT License. See [LICENSE](./LICENSE) for more information.