Skip to content

Commit 84dca00

Browse files
committed
pass some buildcmd
1 parent 1dbb535 commit 84dca00

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/devenv-compat.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
type: string
2323
buildcmd:
2424
description: "Build command to run"
25-
required: false
25+
required: true
2626
type: string
2727
envcmd:
2828
description: "Environment setup command to run"
@@ -175,13 +175,9 @@ jobs:
175175
if [ -n "${{ env.REFS }}" ]; then
176176
REFS_ARGS="--refs ${{ env.REFS }}"
177177
fi
178-
BUILD_CMD_ARGS=""
179-
if [ -n "${{ env.BUILD_CMD }}" ]; then
180-
BUILD_CMD_ARGS="--buildcmd ${BUILD_CMD}"
181-
fi
182178
./bin/ctf compat backward \
183179
--registry "${REGISTRY}" \
184-
${BUILD_CMD_ARGS} \
180+
--buildcmd "${BUILD_CMD}" \
185181
--envcmd "${ENV_CMD}" \
186182
--testcmd "${TEST_CMD}" \
187183
--product "${PRODUCT}" \

.github/workflows/devenv-nightly-compat.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
cre-compat:
6767
uses: ./.github/workflows/devenv-compat.yml
6868
with:
69+
# bash command to build your environment, omit if you are using 'devenv'
70+
buildcmd: "echo nothing-to-build"
6971
# bash command to spin up your environment and product orchestration
7072
envcmd: "go run -C ../../core/scripts/cre/environment . env start"
7173
# bash command to run the test verifying your product

0 commit comments

Comments
 (0)