Skip to content

Commit

Permalink
chore: manually install shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Feb 13, 2024
1 parent 859dbb4 commit e6a4d5d
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 62 deletions.
4 changes: 2 additions & 2 deletions .github/jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"subdir": ""
}
},
"version": "cdff54a3f3fddb9bb5aa725143f6d95a95af00a4",
"sum": "/AsDqe0lxLj3izpkqm1jGWSuCr3SpsjTg+6fVB72+sU="
"version": "36ebc075d3f435407ae5de3defb29b467aefabfe",
"sum": "VLe68FGWuHiy2lM51HpF8dgfqdGT72/1AA5zXqJd9YU="
}
],
"legacyImports": false
Expand Down
3 changes: 2 additions & 1 deletion .github/release-workflows.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ local build = lokiRelease.build;
skipValidation=false,
versioningStrategy='always-bump-patch',
imagePrefix='grafana',
branches=['release-[0-9].[0-9].x'],
// TODO: remove temp PR branch
branches=['release-[0-9].[0-9].x', 'fix-action-names-in-main'],
), false, false
),
'minor-release-pr.yml': std.manifestYamlDoc(
Expand Down

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

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

27 changes: 27 additions & 0 deletions .github/workflows/minor-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
with:
path: "lib"
repository: "grafana/loki-release"
- name: "install shellcheck"
uses: "./lib/actions/install-binary"
with:
binary: "shellcheck"
download_url: "https://github.com/koalaman/shellcheck/releases/download/v${version}/shellcheck-v${version}.linux.x86_64.tar.xz"
smoke_test: "${binary} --version"
tar_args: "xvf"
tarball_binary_path: "*/${binary}"
version: "0.9.0"
- env:
BUILD_IN_CONTAINER: false
if: "${{ !fromJSON(env.SKIP_VALIDATION) }}"
Expand Down Expand Up @@ -354,6 +363,15 @@ jobs:
with:
path: "lib"
repository: "grafana/loki-release"
- name: "install shellcheck"
uses: "./lib/actions/install-binary"
with:
binary: "shellcheck"
download_url: "https://github.com/koalaman/shellcheck/releases/download/v${version}/shellcheck-v${version}.linux.x86_64.tar.xz"
smoke_test: "${binary} --version"
tar_args: "xvf"
tarball_binary_path: "*/${binary}"
version: "0.9.0"
- env:
BUILD_IN_CONTAINER: false
if: "${{ !fromJSON(env.SKIP_VALIDATION) }}"
Expand Down Expand Up @@ -1161,6 +1179,15 @@ jobs:
with:
path: "lib"
repository: "grafana/loki-release"
- name: "install shellcheck"
uses: "./lib/actions/install-binary"
with:
binary: "shellcheck"
download_url: "https://github.com/koalaman/shellcheck/releases/download/v${version}/shellcheck-v${version}.linux.x86_64.tar.xz"
smoke_test: "${binary} --version"
tar_args: "xvf"
tarball_binary_path: "*/${binary}"
version: "0.9.0"
- env:
BUILD_IN_CONTAINER: false
if: "${{ !fromJSON(env.SKIP_VALIDATION) }}"
Expand Down
Loading

0 comments on commit e6a4d5d

Please sign in to comment.