-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Boeing/config-file-validator (#16027)
* feat: add Boeing/config-file-validator [Boeing/config-file-validator](https://github.com/Boeing/config-file-validator): Cross Platform tool to validate configuration files * fix(Boeing/config-file-validator): use go_install * fix(Boeing/config-file-validator): use go_build
- Loading branch information
1 parent
8573ea0
commit e320cd2
Showing
3 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
packages: | ||
- name: Boeing/config-file-validator@v1.4.0 | ||
- name: Boeing/config-file-validator | ||
version: v1.3.0 | ||
- name: Boeing/config-file-validator | ||
version: v1.2.0 | ||
- name: Boeing/config-file-validator | ||
version: v1.1.0 | ||
- name: Boeing/config-file-validator | ||
version: v1.0.1 | ||
- name: Boeing/config-file-validator | ||
version: v1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
packages: | ||
- type: github_release | ||
repo_owner: Boeing | ||
repo_name: config-file-validator | ||
description: Cross Platform tool to validate configuration files | ||
asset: validator-{{trimV .Version}}-{{.OS}}-{{.Arch}} | ||
format: raw | ||
overrides: | ||
- goos: windows | ||
goarch: amd64 | ||
asset: validator-{{trimV .Version}} | ||
- goos: linux | ||
goarch: arm64 | ||
type: go_install | ||
path: github.com/Boeing/config-file-validator/cmd/validator | ||
- goos: windows | ||
goarch: arm64 | ||
type: go_install | ||
path: github.com/Boeing/config-file-validator/cmd/validator | ||
files: | ||
- name: validator | ||
replacements: | ||
darwin: macos | ||
rosetta2: true | ||
version_constraint: semver(">= 1.4.0") | ||
version_overrides: | ||
- version_constraint: Version == "v1.3.0" | ||
asset: validator.{{.OS}}-{{.Arch}} | ||
overrides: | ||
- goos: windows | ||
goarch: amd64 | ||
asset: validator | ||
- goos: linux | ||
goarch: arm64 | ||
type: go_install | ||
path: github.com/Boeing/config-file-validator/cmd/validator | ||
- goos: windows | ||
goarch: arm64 | ||
type: go_install | ||
path: github.com/Boeing/config-file-validator/cmd/validator | ||
- version_constraint: semver(">= 1.0.1") | ||
asset: validator.{{.OS}}-{{.Arch}} | ||
overrides: | ||
- goos: windows | ||
goarch: amd64 | ||
asset: validator | ||
- goarch: arm64 | ||
type: go_install | ||
path: github.com/Boeing/config-file-validator/cmd/validator | ||
- goos: darwin | ||
type: go_install | ||
path: github.com/Boeing/config-file-validator/cmd/validator | ||
replacements: {} | ||
- version_constraint: Version == "v1.0.0" | ||
asset: validator.{{.OS}}-{{.Arch}} | ||
replacements: {} | ||
overrides: | ||
- goos: windows | ||
goarch: amd64 | ||
asset: validator | ||
- goarch: arm64 | ||
type: go_build | ||
files: | ||
- name: validator | ||
src: ./cmd/validator | ||
dir: config-file-validator-{{trimV .Version}} | ||
- goos: darwin | ||
type: go_build | ||
files: | ||
- name: validator | ||
src: ./cmd/validator | ||
dir: config-file-validator-{{trimV .Version}} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.