Refactor starlark to remove references to the build_image (#74624)

* Refactor starlark to remove references to the build_image
This commit is contained in:
Kevin Minehart
2023-09-12 12:19:06 -03:00
committed by GitHub
parent 4f5728233c
commit 915f198ecb
27 changed files with 1129 additions and 2539 deletions
+6 -9
View File
@@ -3,14 +3,14 @@ This module returns a Drone step and pipeline for linting with shellcheck.
"""
load("scripts/drone/steps/lib.star", "compile_build_cmd")
load(
"scripts/drone/utils/utils.star",
"pipeline",
)
load(
"scripts/drone/utils/images.star",
"images",
)
load(
"scripts/drone/utils/utils.star",
"pipeline",
)
trigger = {
"event": [
@@ -29,12 +29,9 @@ trigger = {
def shellcheck_step():
return {
"name": "shellcheck",
"image": images["build_image"],
"depends_on": [
"compile-build-cmd",
],
"image": images["shellcheck"],
"commands": [
"./bin/build shellcheck",
"shellcheck -e SC1071 -e SC2162 scripts/**/*.sh",
],
}