Skip to content

Commit

Permalink
fix: Added awscli dependency
Browse files Browse the repository at this point in the history
The runner does not have the aws cli by default, and thus the build
command is failing. Added the awscli dependency through poetry and
modified the build command to use poetry.
  • Loading branch information
dusktreader committed Jan 13, 2025
1 parent 88ffe1f commit 6d26a88
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
run: |
aws s3 sync democluster/final \
poetry run aws s3 sync democluster/final \
s3://omnivector-public-assets/cloud-images/democluster/latest \
--acl public-read --follow-symlinks --delete 1> /dev/null
131 changes: 129 additions & 2 deletions poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ black = "^24.3.0"

[tool.poetry.group.dev.dependencies]
types-pyyaml = "^6.0.12.11"
awscli = "^1.36.38"

[tool.black]
line-length = 110
Expand Down

0 comments on commit 6d26a88

Please sign in to comment.