From ed8b6abd51c409bc31fa4b64dfb00249dc2e05bc Mon Sep 17 00:00:00 2001 From: rabi Date: Fri, 6 Oct 2023 09:26:07 +0530 Subject: [PATCH] Remove downloader references We don't use it. --- .../build-openstack-baremetal-operator.yaml | 18 ------------------ .../release-openstack-baremetal-operator.yaml | 10 ---------- ...metal_v1beta1_openstackprovisionserver.yaml | 1 - 3 files changed, 29 deletions(-) diff --git a/.github/workflows/build-openstack-baremetal-operator.yaml b/.github/workflows/build-openstack-baremetal-operator.yaml index 20bd401..5032366 100644 --- a/.github/workflows/build-openstack-baremetal-operator.yaml +++ b/.github/workflows/build-openstack-baremetal-operator.yaml @@ -185,24 +185,6 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} - build-openstack-baremetal-operator-downloader: - name: Build openstack-baremetal-operator downloader image using buildah - runs-on: ubuntu-latest - needs: [check-secrets] - if: needs.check-secrets.outputs.have-secrets == 'true' - - steps: - - uses: actions/checkout@v2 - - - name: Get branch name - id: branch-name - uses: tj-actions/branch-names@v5 - - - name: Set latest tag for non main branch - if: "${{ steps.branch-name.outputs.current_branch != 'main' }}" - run: | - echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV - build-openstack-baremetal-operator-agent: name: Build openstack-baremetal-operator agent image using buildah runs-on: ubuntu-latest diff --git a/.github/workflows/release-openstack-baremetal-operator.yaml b/.github/workflows/release-openstack-baremetal-operator.yaml index 8f5e63a..3c4f26b 100644 --- a/.github/workflows/release-openstack-baremetal-operator.yaml +++ b/.github/workflows/release-openstack-baremetal-operator.yaml @@ -47,16 +47,6 @@ jobs: registry_username: ${{ secrets.QUAY_USERNAME }} registry_password: ${{ secrets.QUAY_PASSWORD }} - - name: Tag -downloader image - uses: tinact/docker.image-retag@1.0.2 - with: - image_name: ${{ env.imagenamespace }}/-downloader - image_old_tag: ${{ github.sha }} - image_new_tag: ${{ github.event.release.tag_name }} - registry: ${{ env.imageregistry }} - registry_username: ${{ secrets.QUAY_USERNAME }} - registry_password: ${{ secrets.QUAY_PASSWORD }} - - name: Tag -agent image uses: tinact/docker.image-retag@1.0.2 with: diff --git a/config/samples/baremetal_v1beta1_openstackprovisionserver.yaml b/config/samples/baremetal_v1beta1_openstackprovisionserver.yaml index 879c68a..8b3798d 100644 --- a/config/samples/baremetal_v1beta1_openstackprovisionserver.yaml +++ b/config/samples/baremetal_v1beta1_openstackprovisionserver.yaml @@ -5,7 +5,6 @@ metadata: spec: agentImageUrl: quay.io/openstack-k8s-operators/openstack-baremetal-operator-agent:latest apacheImageUrl: registry.redhat.io/rhel8/httpd-24:latest - downloaderImageUrl: quay.io/openstack-k8s-operators/openstack-baremetal-operator-downloader:latest interface: enp1s0 port: 8080 osImage: edpm-hardened-uefi.qcow2