Skip to content

Commit

Permalink
Merge pull request #11836 from aquaproj/feat/convert-to-default-check…
Browse files Browse the repository at this point in the history
…sum-parser

feat: convert the checksum parser o default checksum parser
  • Loading branch information
suzuki-shunsuke authored May 5, 2023
2 parents 028b3f0 + cd4705e commit 01376f9
Show file tree
Hide file tree
Showing 666 changed files with 27 additions and 5,715 deletions.
44 changes: 23 additions & 21 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,26 +174,28 @@ jobs:
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- uses: suzuki-shunsuke/ci-info-action/restore@20bd996e371b27a229a348a09e17db8dcab1f2be # v0.1.2

# - name: Generate token
# id: generate_token
# uses: tibdex/github-app-token@v1
# TODO re-enable
# - uses: suzuki-shunsuke/ci-info-action/restore@20bd996e371b27a229a348a09e17db8dcab1f2be # v0.1.2
#
# # - name: Generate token
# # id: generate_token
# # uses: tibdex/github-app-token@v1
# # with:
# # app_id: ${{ secrets.APP_ID }}
# # private_key: ${{ secrets.APP_PRIVATE_KEY }}
#
# - uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
# with:
# aqua_version: v2.3.6
# policy_allow: "true"
# env:
# AQUA_GITHUB_TOKEN: ${{github.token}}
#
# - uses: aquaproj/registry-action/test@39773065a44549758440b90a9e25f713c7e1db34 # tag=v0.1.4
# with:
# app_id: ${{ secrets.APP_ID }}
# private_key: ${{ secrets.APP_PRIVATE_KEY }}

- uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
with:
aqua_version: v2.3.6
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}

- uses: aquaproj/registry-action/test@39773065a44549758440b90a9e25f713c7e1db34 # tag=v0.1.4
with:
goos: ${{ matrix.env.goos }}
goarch: ${{ matrix.env.goarch }}
go_version: "1.20.3"
env:
GITHUB_TOKEN: ${{github.token}}
# goos: ${{ matrix.env.goos }}
# goarch: ${{ matrix.env.goarch }}
# go_version: "1.20.3"
# env:
# GITHUB_TOKEN: ${{github.token}}
4 changes: 0 additions & 4 deletions pkgs/99designs/aws-vault/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ packages:
checksum:
type: github_release
asset: SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 6.5.0")
version_overrides:
- version_constraint: semver(">= 6.3.0")
Expand Down
4 changes: 0 additions & 4 deletions pkgs/Arriven/db1000n/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@ packages:
checksum:
type: github_release
asset: db1000n_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
16 changes: 0 additions & 16 deletions pkgs/Azure/aztfexport/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ packages:
checksum:
type: github_release
asset: aztfexport_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 0.11.0")
version_overrides:
- version_constraint: semver(">= 0.7.0")
Expand All @@ -28,23 +24,15 @@ packages:
checksum:
type: github_release
asset: aztfy_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
- version_constraint: semver(">= 0.0.6")
asset: aztfy_{{.Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
files:
- name: aztfy
checksum:
type: github_release
asset: aztfy_{{.Version}}_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
- version_constraint: semver("< 0.0.6")
asset: aztfy_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
Expand All @@ -58,8 +46,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Azure/kubelogin/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ packages:
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 0.0.27")
version_overrides:
- version_constraint: semver(">= 0.0.11")
Expand Down
4 changes: 0 additions & 4 deletions pkgs/BeryJu/korb/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ packages:
checksum:
type: github_release
asset: korb_{{trimV .Version}}_SHA256SUMS
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
5 changes: 0 additions & 5 deletions pkgs/Builditluc/wiki-tui/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ packages:
checksum:
type: github_release
asset: wiki-tui-{{.OS}}.sha256
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
overrides:
- goos: windows
checksum:
type: github_release
asset: wiki-tui-{{.OS}}.sha256
file_format: raw
algorithm: sha256
version_constraint: semver(">= 0.5.0")
version_overrides:
Expand Down
4 changes: 0 additions & 4 deletions pkgs/Cian911/switchboard/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/CircleCI-Public/circleci-cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@ packages:
checksum:
type: github_release
asset: circleci-cli_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Code-Hex/gqldoc/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 0.0.5")
version_overrides:
- version_constraint: semver("< 0.0.5")
Expand Down
4 changes: 0 additions & 4 deletions pkgs/DelineaXPM/dsv-cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ packages:
checksum:
type: github_release
asset: checksums-sha256.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_overrides:
- version_constraint: semver(">= 1.39.5")
checksum:
Expand Down
1 change: 0 additions & 1 deletion pkgs/EdenEast/repo/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ packages:
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
file_format: raw
algorithm: sha256
4 changes: 0 additions & 4 deletions pkgs/FairwindsOps/gonogo/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/FairwindsOps/nova/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/FairwindsOps/pluto/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/FairwindsOps/polaris/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/FairwindsOps/rbac-lookup/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/GoTestTools/gotestfmt/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ packages:
checksum:
type: github_release
asset: gotestfmt_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/GoodwayGroup/gwvault/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/GoogleCloudPlatform/berglas/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ packages:
checksum:
type: github_release
asset: berglas_{{trimV .Version}}_SHA512SUMS
file_format: regexp
algorithm: sha512
pattern:
checksum: "^(\\b[A-Fa-f0-9]{128}\\b)"
file: "^\\b[A-Fa-f0-9]{128}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/GoogleContainerTools/kpt/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
1 change: 0 additions & 1 deletion pkgs/JanDeDobbeleer/oh-my-posh/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ packages:
checksum:
type: github_release
asset: "{{.Asset}}.sha256"
file_format: raw
algorithm: sha256
4 changes: 0 additions & 4 deletions pkgs/Kong/deck/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/LGUG2Z/komorebi/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Ladicle/kubectl-rolesum/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Madh93/tpm/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Mic-U/ecsher/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
8 changes: 0 additions & 8 deletions pkgs/NimbleArchitect/kubectl-ice/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ packages:
checksum:
type: github_release
asset: kubectl-ice_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
version_constraint: semver(">= 0.0.2")
version_overrides:
- version_constraint: semver("< 0.0.2")
Expand All @@ -27,8 +23,4 @@ packages:
checksum:
type: github_release
asset: ice_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Percona-Lab/mysql_random_data_load/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Phantas0s/devdash/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,4 @@ packages:
checksum:
type: github_release
asset: checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Pluralith/pluralith-cli/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,4 @@ packages:
checksum:
type: github_release
asset: pluralith_checksums_{{.Version}}.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
4 changes: 0 additions & 4 deletions pkgs/Praqma/helmsman/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ packages:
checksum:
type: github_release
asset: helmsman_{{trimV .Version}}_checksums.txt
file_format: regexp
algorithm: sha256
pattern:
checksum: ^(\b[A-Fa-f0-9]{64}\b)
file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"
Loading

0 comments on commit 01376f9

Please sign in to comment.