Skip to content

Commit 18daaee

Browse files
committed
Remove fedora workflow
1 parent f5c8489 commit 18daaee

File tree

4 files changed

+0
-129
lines changed

4 files changed

+0
-129
lines changed

.github/docker-images/bin-images/fedora/Dockerfile

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/docker-images/oss-compliance/generate-oss-compliance.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ set -e
1515

1616
chmod +x ${LINUX_PACKAGES}/yum-packages.sh
1717
chmod +x ${LINUX_PACKAGES}/dpkg-packages.sh
18-
chmod +x ${LINUX_PACKAGES}/dnf-packages.sh
1918

2019
if [[ $PRETTY_NAME == *"Ubuntu"* || $PRETTY_NAME == *"Debian"* ]]; then
2120
${LINUX_PACKAGES}/dpkg-packages.sh
@@ -25,10 +24,6 @@ if [[ $PRETTY_NAME == *"Amazon Linux"* || $PRETTY_NAME == *"Red Hat Enterprise L
2524
${LINUX_PACKAGES}/yum-packages.sh
2625
fi
2726

28-
if [[ $PRETTY_NAME == *"Fedora"* ]]; then
29-
${LINUX_PACKAGES}/dnf-packages.sh
30-
fi
31-
3227
cp ${BUILD_FROM_SOURCE_PACKAGES_LICENCES} /root/BUILD_FROM_SOURCE_PACKAGES_LICENCES
3328
chmod +x ${HOME_DIR}/test/test-oss-compliance.sh
3429
bash ${HOME_DIR}/test/test-oss-compliance.sh ${HOME_DIR}

.github/docker-images/oss-compliance/linux-packages/dnf-packages.sh

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ env:
1616
ECR_BASE_UBI8: aws-iot-securetunneling-localproxy/ubi8-base
1717
ECR_BASE_AMAZONLINUX: aws-iot-securetunneling-localproxy/amazonlinux-base
1818
ECR_BASE_DEBIAN: aws-iot-securetunneling-localproxy/debian-base
19-
ECR_BASE_FEDORA: aws-iot-securetunneling-localproxy/fedora-base
2019
ECR_RELEASE_UBUNTU: aws-iot-securetunneling-localproxy/ubuntu-bin
2120
ECR_RELEASE_UBI8: aws-iot-securetunneling-localproxy/ubi8-bin
2221
ECR_RELEASE_AMAZONLINUX: aws-iot-securetunneling-localproxy/amazonlinux-bin
2322
ECR_RELEASE_DEBIAN: aws-iot-securetunneling-localproxy/debian-bin
24-
ECR_RELEASE_FEDORA: aws-iot-securetunneling-localproxy/fedora-bin
2523

2624
jobs:
2725
build-docker-image-ubuntu-amd64:
@@ -339,43 +337,6 @@ jobs:
339337
${{ env.ECR_ACCOUNT_URL }}/${{ env.ECR_RELEASE_DEBIAN }}:arm64-${{ github.sha }}
340338
${{ env.ECR_ACCOUNT_URL }}/${{ env.ECR_RELEASE_DEBIAN }}:arm64-latest
341339
platforms: linux/arm64
342-
# Note: Since we only build a single image for fedora (amd64) we can tag with 'latest' in this step
343-
build-docker-image-fedora-amd64:
344-
runs-on: ubuntu-latest
345-
permissions:
346-
id-token: write
347-
contents: read
348-
steps:
349-
- name: Configure AWS Credentials
350-
uses: aws-actions/[email protected]
351-
with:
352-
aws-access-key-id: ${{ secrets.ECR_USER_AWS_KEY_ID }}
353-
aws-secret-access-key: ${{ secrets.ECR_USER_AWS_KEY_SECRET }}
354-
aws-region: us-east-1
355-
- name: Login to ECR
356-
run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${{ env.ECR_ACCOUNT_URL }}
357-
- name: Checkout
358-
uses: actions/checkout@v2
359-
with:
360-
fetch-depth: 0
361-
- name: Set up QEMU
362-
uses: docker/setup-qemu-action@v2
363-
- name: Set up Docker Buildx
364-
uses: docker/setup-buildx-action@v2
365-
- name: Build fedora Release Image
366-
uses: docker/build-push-action@v4
367-
with:
368-
file: .github/docker-images/bin-images/fedora/Dockerfile
369-
build-args: |
370-
OS=fedora:latest
371-
BASE_IMAGE=${{ env.ECR_ACCOUNT_URL }}/${{ env.ECR_BASE_FEDORA }}:amd64-latest
372-
context: .
373-
push: true
374-
tags: |
375-
${{ env.ECR_ACCOUNT_URL }}/${{ env.ECR_RELEASE_FEDORA }}:amd64-${{ github.sha }}
376-
${{ env.ECR_ACCOUNT_URL }}/${{ env.ECR_RELEASE_FEDORA }}:amd64-latest
377-
${{ env.ECR_ACCOUNT_URL }}/${{ env.ECR_RELEASE_FEDORA }}:latest
378-
platforms: linux/amd64
379340
build-image-manifest-ubuntu:
380341
runs-on: ubuntu-latest
381342
needs:

0 commit comments

Comments
 (0)