Skip to content

Commit

Permalink
Add AWS cli to ubuntu 18 container
Browse files Browse the repository at this point in the history
Co-authored-by: M. Oleske <[email protected]>
Co-authored-by: Cristhian Peña <[email protected]>
  • Loading branch information
3 people committed Aug 30, 2023
1 parent 501652f commit 613ebd9
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/release-update-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,14 @@ jobs:
# path: backup

- name: Install Linux Packages
env:
DEBIAN_FRONTEND: noninteractive
run: >
apt update &&
apt install -y --no-install-recommends
gnupg createrepo
apt install --yes --no-install-recommends
gnupg
createrepo
awscli
- name: Setup aws to upload installers to CLAW S3 bucket
uses: aws-actions/configure-aws-credentials@v3
Expand All @@ -415,24 +419,19 @@ jobs:
role-duration-seconds: 1200

- name: Download V8 RPMs
run: |
aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://v8-cf-cli-releases .
run: aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://v8-cf-cli-releases .

- name: Download V7 RPMs
run: |
aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://v7-cf-cli-releases .
run: aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://v7-cf-cli-releases .

- name: Download V6 RPMs
run: |
aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://cf-cli-releases .
run: aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://cf-cli-releases .

- name: Sign repo
run: |
createrepo --checksum=sha .
run: createrepo --checksum=sha .

- name: List assets
run: |
ls -R
run: ls -R

- name: Store Linux RPM repodata
uses: actions/upload-artifact@v2
Expand All @@ -442,8 +441,7 @@ jobs:
path: repodata

- name: Upload RPM repodata
run: |
s3 sync --delete repodata s3://cf-cli-rpm-repo/repodata
run: aws s3 sync --delete repodata s3://cf-cli-rpm-repo/repodata

test-rpm-repo:
name: Test RPM Repository
Expand Down

0 comments on commit 613ebd9

Please sign in to comment.