Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support sprig library for trigger templates #876

Merged
merged 6 commits into from Jul 13, 2023

Conversation

gODeaLoAple
Copy link
Contributor

Add sprig library templates

https://pkg.go.dev/github.com/masterminds/sprig#section-readme

Also filter some functions in sprig to prevent possible unsafety/insecure usages

@gODeaLoAple gODeaLoAple requested a review from a team as a code owner July 8, 2023 07:37
templating/templating.go Outdated Show resolved Hide resolved
templating/templating.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2023

Codecov Report

Merging #876 (10050a5) into master (67722c0) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head 10050a5 differs from pull request most recent head 0de0bc6. Consider uploading reports for the commit 0de0bc6 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master     #876      +/-   ##
==========================================
- Coverage   68.38%   68.37%   -0.01%     
==========================================
  Files         187      187              
  Lines       10335    10332       -3     
==========================================
- Hits         7068     7065       -3     
  Misses       2877     2877              
  Partials      390      390              
Impacted Files Coverage Δ
templating/templating.go 87.50% <100.00%> (-1.08%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Tetrergeru
Tetrergeru previously approved these changes Jul 12, 2023
templating/templating.go Outdated Show resolved Hide resolved
@kissken
Copy link
Member

kissken commented Jul 13, 2023

/build

@kissken kissken merged commit f54844f into moira-alert:master Jul 13, 2023
4 checks passed
@github-actions
Copy link

Build and push Docker images with tag: 2023-07-13.f54844f

1 similar comment
@github-actions
Copy link

Build and push Docker images with tag: 2023-07-13.f54844f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants