Skip to content

Commit

Permalink
fix(Boeing/config-file-validator): follow up changes of validator v1.…
Browse files Browse the repository at this point in the history
…5.0 (#16961)

* fix(Boeing/config-file-validator): follow up changes of validator v1.5.0

* chore: update Go to 1.21.3
  • Loading branch information
suzuki-shunsuke authored Nov 3, 2023
1 parent 83df26f commit d160b60
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,6 @@ jobs:
with:
goos: ${{ matrix.env.goos }}
goarch: ${{ matrix.env.goarch }}
go_version: "1.20.3"
go_version: "1.21.3"
env:
GITHUB_TOKEN: ${{github.token}}
4 changes: 3 additions & 1 deletion pkgs/Boeing/config-file-validator/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
packages:
- name: Boeing/[email protected]
- name: Boeing/[email protected]
- name: Boeing/config-file-validator
version: v1.4.0
- name: Boeing/config-file-validator
version: v1.3.0
- name: Boeing/config-file-validator
Expand Down
57 changes: 45 additions & 12 deletions pkgs/Boeing/config-file-validator/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,54 @@ packages:
repo_owner: Boeing
repo_name: config-file-validator
description: Cross Platform tool to validate configuration files
asset: validator-{{trimV .Version}}-{{.OS}}-{{.Arch}}
format: raw
asset: validator-{{.Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
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
format: zip
- 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")
checksum:
type: github_release
asset: "{{.Asset}}.md5"
algorithm: md5
version_constraint: semver(">= 1.5.0")
version_overrides:
- version_constraint: Version == "v1.4.0"
asset: validator-{{trimV .Version}}-{{.OS}}-{{.Arch}}
format: raw
checksum:
enabled: false
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: Version == "v1.3.0"
asset: validator.{{.OS}}-{{.Arch}}
format: raw
replacements:
darwin: macos
rosetta2: true
checksum:
enabled: false
overrides:
- goos: windows
goarch: amd64
Expand All @@ -40,6 +65,11 @@ packages:
path: github.com/Boeing/config-file-validator/cmd/validator
- version_constraint: semver(">= 1.0.1")
asset: validator.{{.OS}}-{{.Arch}}
format: raw
rosetta2: true
replacements: {}
checksum:
enabled: false
overrides:
- goos: windows
goarch: amd64
Expand All @@ -50,10 +80,13 @@ packages:
- 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}}
format: raw
replacements: {}
rosetta2: true
checksum:
enabled: false
overrides:
- goos: windows
goarch: amd64
Expand Down
57 changes: 45 additions & 12 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d160b60

Please sign in to comment.