Skip to content

Commit

Permalink
add random suffix to openapi linter container to fix conflict issues (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-michal-dabrowski authored Jan 26, 2023
1 parent 9489e9d commit c8d2a64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ls_pre_commit_hooks/openapi-linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ run_circle_ci() {
# See here https://circleci.com/docs/building-docker-images/#mounting-folders for details.
linter="$1"
docker_image="$2"
container="${linter}-linter-volume"
random_suffix=$(uuidgen | tr -d '-')
container="${linter}-linter-volume-${random_suffix}"

shift 2

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ls-pre-commit-hooks"
version = "0.7.22"
version = "0.7.26"
description = "A collection of useful pre-commit hooks used in Lightspeed Hospitality"
authors = ["Your Name <you@example.com>"]
include = [
Expand Down

0 comments on commit c8d2a64

Please sign in to comment.