Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest Ubuntu for RPM #2651

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/release-update-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,16 +351,15 @@ jobs:

update-rpm:
name: Update RPM Repository
runs-on: ubuntu-20.04
container: ubuntu:18.04
runs-on: ubuntu-latest
environment: ${{ needs.setup.outputs.secrets-environment }}
needs: setup
env:
CLAW_URL: ${{ needs.setup.outputs.claw-url }}
VERSION_BUILD: ${{ needs.setup.outputs.version-build }}
VERSION_MAJOR: ${{ needs.setup.outputs.version-major }}
steps:

steps:
- name: Setup
env:
ENVIRONMENT: ${{ github.event.inputs.environment }}
Expand Down Expand Up @@ -398,12 +397,12 @@ jobs:
env:
DEBIAN_FRONTEND: noninteractive
run: >
apt update &&
apt install --yes --no-install-recommends
sudo apt update &&
sudo apt install --yes --no-install-recommends
gnupg
createrepo
createrepo-c
awscli

- name: Setup aws to upload installers to CLAW S3 bucket
uses: aws-actions/configure-aws-credentials@v3
env:
Expand All @@ -428,7 +427,7 @@ jobs:
run: aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://cf-cli-releases .

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

- name: List assets
run: ls -R
Expand Down
Loading