Skip to content

Commit

Permalink
try installing awscli directly
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorPopelyaev committed Nov 12, 2024
1 parent 600d406 commit 2536740
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/release/publish-deb-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ aws_deb_path="s3://releases-package-repos/deb"

# Add a deb to our apt repo
add_deb(){
alias aws='podman run --rm -it -e AWS_ACCESS_KEY_ID=${AWS_RELEASE_ACCESS_KEY_ID} -e AWS_SECRET_ACCESS_KEY=${AWS_RELEASE_SECRET_ACCESS_KEY} -e AWS_BUCKET docker.io/paritytech/awscli aws'
#alias aws='podman run --rm -it -e AWS_ACCESS_KEY_ID=${AWS_RELEASE_ACCESS_KEY_ID} -e AWS_SECRET_ACCESS_KEY=${AWS_RELEASE_SECRET_ACCESS_KEY} -e AWS_BUCKET docker.io/paritytech/awscli aws'
export AWS_ACCESS_KEY_ID=${AWS_RELEASE_ACCESS_KEY_ID}
export AWS_SECRET_ACCESS_KEY=${AWS_RELEASE_SECRET_ACCESS_KEY}

# Download the current state of the deb repo
aws s3 sync "$aws_deb_path/db" "$local_deb_repo_path/db"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-40_publish-deb-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ jobs:
python3 -m pip install "pgpkms @ git+https://github.com/paritytech-release/pgpkms.git@5a8f82fbb607ea102d8c178e761659de54c7af69"
which pgpkms
- name: Install awscli
run: |
python3 -m pip install awscli
which awscli
- name: Checkout sources
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

Expand Down

0 comments on commit 2536740

Please sign in to comment.