/
a.ivakhnenko
/
gitlab-ce
Обзор
Документация
Войти
/
a.ivakhnenko
/
gitlab-ce
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
gitlab-logger/scripts/download
18 строк
536 B
IvahAlexander
commit
26 ноя 2024, 07:39
26 ноя 2024, 07:39
a057ac9
Код
Авторство
О чём код?
#!/bin/bash # This script designed to download and verify the sources of GitLab Logger # Items from environment: # - GITLAB_LOGGER_SOURCE_URL - complete URL of the source tarball # - GITLAB_LOGGER_SHA256 - The shasum of the tarball set -exo pipefail pushd /build # Downloads sources curl --retry 6 -fLOsS "${GITLAB_LOGGER_SOURCE_URL}" # Verify source tarball echo "${GITLAB_LOGGER_SHA256} $(basename "${GITLAB_LOGGER_SOURCE_URL}")" > SHASUM sha256sum -c SHASUM tar xzf "$(basename "${GITLAB_LOGGER_SOURCE_URL}")" popd # from /build