Explorar el Código

Disable GZIP.

tags/v4.0.0-beta.1
Luigi Freitas Cruz hace 4 años
padre
commit
65d65a10d2
Se han modificado 3 ficheros con 4 adiciones y 5 borrados
  1. +1
    -1
      .github/workflows/release.yml
  2. +1
    -1
      .github/workflows/validate.yml
  3. +2
    -3
      builder/export-image/04-finalise/01-run.sh

+ 1
- 1
.github/workflows/release.yml Ver fichero

@@ -29,7 +29,7 @@ jobs:
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |


+ 1
- 1
.github/workflows/validate.yml Ver fichero

@@ -26,7 +26,7 @@ jobs:
working-directory: ${{ env.working-directory }}
run: |
bash build-docker.sh
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename)
echo ::set-output name=filename::$(ls deploy/*.img.xz | xargs -n 1 basename)
- name: Fix Permissions
id: fix_perm_filename
run: |


+ 2
- 3
builder/export-image/04-finalise/01-run.sh Ver fichero

@@ -86,13 +86,12 @@ unmount_image "${IMG_FILE}"

mkdir -p "${DEPLOY_DIR}"

rm -f "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.tar.xz"
rm -f "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.img.xz"
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"

if [ "${DEPLOY_ZIP}" == "1" ]; then
pushd "${STAGE_WORK_DIR}" > /dev/null
tar -cJf "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.tar.xz" \
"$(basename "${IMG_FILE}")"
xz -c "$(basename "${IMG_FILE}")" > "${DEPLOY_DIR}/${ZIP_FILENAME}${IMG_SUFFIX}.img.xz"
popd > /dev/null
rm -f "${DEPLOY_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.img"
else


Cargando…
Cancelar
Guardar