Skip to content

Commit

Permalink
fix(ci): Attempt to Fix argument parsing for build-layers
Browse files Browse the repository at this point in the history
  • Loading branch information
soufianerafik committed Jan 16, 2025
1 parent df76062 commit dbeb8b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ jobs:
- name: Build and test
run: |
poetry run tox -e build-layers -- \
-t ${{ env.version }} --release ${{ env.version }} --cache --build-arg HUSKY_DIRECTORY_VERSION=${{ env.version }}
poetry run tox -e build-layers \
-- -- -t ${{ env.version }} --release ${{ env.version }} --cache \
--build-arg HUSKY_DIRECTORY_VERSION=${{ env.version }}
poetry run tox -e unit-tests
- name: Create release ${{ needs.configure-release.outputs.version }}
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ commands = black husky_directory tests


[testenv:build-layers]
commands = bash -c "set -x; $(fingerprinter -o build-script) -t tox {posargs} --build-arg HUSKY_DIRECTORY_VERSION={env:HUSKY_DIRECTORY_VERSION}"
commands = bash -c "set -x; $(fingerprinter -o build-script) -t tox {posargs} --build-arg HUSKY_DIRECTORY_VERSION=$(poetry version -s)"


[testenv:flake8]
deps = flake8
Expand All @@ -63,8 +64,6 @@ commands = docker run \


[testenv:development-server]
# The '-' here tells tox to ignore the exit code of the command,
# so it's less confusing for new developers.
passenv = UWCA_CERT_PATH
UWCA_CERT_NAME

Expand Down

0 comments on commit dbeb8b3

Please sign in to comment.