go-vela / types Goto Github PK
View Code? Open in Web Editor NEWTypes for Vela (Target's official Pipeline Automation Framework)
Home Page: https://go-vela.github.io/docs/
License: Apache License 2.0
Types for Vela (Target's official Pipeline Automation Framework)
Home Page: https://go-vela.github.io/docs/
License: Apache License 2.0
Current ruleset matching utilizes a file match pattern utility. This does not allow for more stringent matching, particularly with version tags. Use regex pattern matching since it allows for greater control and it commonly known.
Allows more control over step ruleset matchers
Current ruleset must have one or more exclude clause to eliminate greedy matches for tags with trailing data. e.g. -SNAPSHOT, -rc, -prod, etc.
ruleset:
if:
event: [ tag ]
tag: [ "[0-9].*" ]
unless:
event: [ tag ]
tag: [ "[0-9].*-prod" ]
After enhancement regex can be used to explicitly identify start/end of match
if:
branch: master
event: tag
tag: [ "^refs/tags/(\\d+\\.)+\\d+$" ]
4 days
Users
Update the ruleset
to allow include and exclude logic for path
.
Greatly simplifies scenarios where you want to exclude a specific file(s) or folder(s), and not need to call out includes for everything else.
Both of the below proposed design changes to the .vela.yml
would have the same underlying results of:
cool-code/foo.js
will triggercool-code/docs/foo.md
will not triggerAdd ignore
and include
underneath path
to allow the following configuration:
ruleset:
path:
include:
- [ "cool-code/**" ]
exclude:
- [ "cool-code/docs/**"]
This could lead to breaking behavior due to the current structure of the yaml so extra consideration is needed.
Utilize some ignore character(s) to allow updating the existing path
to handle both scenarios. The following example utilizes the ignore character of !
:
ruleset:
path: [ "!cool-code/docs/**", "cool-code/** ]
ruleset
for path
updated to allow include and exclude logic
1 day
All users utilizing the ruleset
of path
Create a JSON schema to allow code editors to parse the .vela.yml
and help users understand if the format is valid or not.
The simple steps to test the JSON schema:
.vela.yml
from yaml to json.vela.yml
Users able to configure code editor to utilize published JSON schema for file validation
2 days
All users modifying .vela.yml
within any code editor
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
actions/setup-go
, github.com/microcosm-cc/bluemonday
, github/codeql-action
).github/workflows/codeql-analysis.yml
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-go v5.0.1@cdcb36043654635271a94b9a6d1392de5bb323a7
github/codeql-action v3.25.10@23acc5c183826b7a8a97bce3cecc52db901f8251
github/codeql-action v3.25.10@23acc5c183826b7a8a97bce3cecc52db901f8251
github/codeql-action v3.25.10@23acc5c183826b7a8a97bce3cecc52db901f8251
.github/workflows/pr-title-validate.yml
.github/workflows/reviewdog.yml
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-go v5.0.1@cdcb36043654635271a94b9a6d1392de5bb323a7
reviewdog/action-golangci-lint v2.6.2@7708105983c614f7a2725e2172908b7709d1c3e4
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-go v5.0.1@cdcb36043654635271a94b9a6d1392de5bb323a7
reviewdog/action-golangci-lint v2.6.2@7708105983c614f7a2725e2172908b7709d1c3e4
.github/workflows/schema.yml
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-go v5.0.1@cdcb36043654635271a94b9a6d1392de5bb323a7
skx/github-action-publish-binaries master
.github/workflows/test.yml
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-go v5.0.1@cdcb36043654635271a94b9a6d1392de5bb323a7
codecov/codecov-action v4.5.0@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
.github/workflows/validate.yml
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-go v5.0.1@cdcb36043654635271a94b9a6d1392de5bb323a7
go.mod
go 1.21.9
github.com/adhocore/gronx v1.8.1
github.com/drone/envsubst v1.0.3
github.com/ghodss/yaml v1.0.0
github.com/lib/pq v1.10.9
github.com/microcosm-cc/bluemonday v1.0.26
github.com/google/go-cmp v0.6.0
What is your idea?
Update our gopkg.in/yaml library to the v3 functionality.
https://github.com/go-yaml/yaml/tree/v3
Why is this important? Who does it impact? Will this make something better, faster, etc?
What is the end goal of this story?
This repo is using the v3
release of the gopkg.in/yaml
library.
Estimated effort to complete this story? (Best Guess e.g. 1-2 days)
N/A
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.