Skip to content

Commit

Permalink
do not build iso
Browse files Browse the repository at this point in the history
  • Loading branch information
rvykydal committed Jun 25, 2024
1 parent da52904 commit 0270f30
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/kickstart-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,42 +204,42 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build anaconda-iso-creator container image
working-directory: ./anaconda
run: |
# set static tag to avoid complications when looking what tag is used
sudo make -f ./Makefile.am anaconda-iso-creator-build CI_TAG=$CONTAINER_TAG
- name: Build anaconda-rpm container (for RPM build)
working-directory: ./anaconda
run: |
# set static tag to avoid complications when looking what tag is used
make -f ./Makefile.am anaconda-rpm-build CI_TAG=$CONTAINER_TAG
- name: Build Anaconda RPM files
working-directory: ./anaconda
run: |
# output of the build will be stored in ./result/build/01-rpm-build/*.rpm
make -f ./Makefile.am container-rpms-scratch CI_TAG=$CONTAINER_TAG
mkdir -p ${{ github.workspace }}/kickstart-tests/data/additional_repo/
cp -av ./result/build/01-rpm-build/*.rpm ${{ github.workspace }}/kickstart-tests/data/additional_repo/
- name: Build boot.iso
run: |
mkdir -p images
# /var/tmp tmpfs speeds up lorax and avoids https://bugzilla.redhat.com/show_bug.cgi?id=1906364
sudo podman run -i --rm --privileged \
--tmpfs /var/tmp:rw,mode=1777 \
-v ${{ github.workspace }}/kickstart-tests/data/additional_repo:/anaconda-rpms:ro \
-v ${{ github.workspace }}/images:/images:z \
$ISO_BUILD_CONTAINER_NAME:$CONTAINER_TAG
- name: Clean up after lorax
if: always()
run: |
# remove container images together with the container
sudo podman rmi -f $ISO_BUILD_CONTAINER_NAME:$CONTAINER_TAG || true
sudo podman rmi -f $RPM_BUILD_CONTAINER_NAME:$CONTAINER_TAG || true
# - name: Build anaconda-iso-creator container image
# working-directory: ./anaconda
# run: |
# # set static tag to avoid complications when looking what tag is used
# sudo make -f ./Makefile.am anaconda-iso-creator-build CI_TAG=$CONTAINER_TAG
#
# - name: Build anaconda-rpm container (for RPM build)
# working-directory: ./anaconda
# run: |
# # set static tag to avoid complications when looking what tag is used
# make -f ./Makefile.am anaconda-rpm-build CI_TAG=$CONTAINER_TAG
#
# - name: Build Anaconda RPM files
# working-directory: ./anaconda
# run: |
# # output of the build will be stored in ./result/build/01-rpm-build/*.rpm
# make -f ./Makefile.am container-rpms-scratch CI_TAG=$CONTAINER_TAG
# mkdir -p ${{ github.workspace }}/kickstart-tests/data/additional_repo/
# cp -av ./result/build/01-rpm-build/*.rpm ${{ github.workspace }}/kickstart-tests/data/additional_repo/
#
# - name: Build boot.iso
# run: |
# mkdir -p images
# # /var/tmp tmpfs speeds up lorax and avoids https://bugzilla.redhat.com/show_bug.cgi?id=1906364
# sudo podman run -i --rm --privileged \
# --tmpfs /var/tmp:rw,mode=1777 \
# -v ${{ github.workspace }}/kickstart-tests/data/additional_repo:/anaconda-rpms:ro \
# -v ${{ github.workspace }}/images:/images:z \
# $ISO_BUILD_CONTAINER_NAME:$CONTAINER_TAG
#
# - name: Clean up after lorax
# if: always()
# run: |
# # remove container images together with the container
# sudo podman rmi -f $ISO_BUILD_CONTAINER_NAME:$CONTAINER_TAG || true
# sudo podman rmi -f $RPM_BUILD_CONTAINER_NAME:$CONTAINER_TAG || true

- name: Create Permian settings file
working-directory: ./permian
Expand Down

0 comments on commit 0270f30

Please sign in to comment.