Update .gitlab-ci.yml file

Try to list packages that can be upgraded
This commit is contained in:
Alam Ed Arias 2023-10-15 14:44:17 +00:00
parent de7f0cba1b
commit 8ace36efbf

View file

@ -9,7 +9,10 @@ default:
variables: variables:
GIT_STRATEGY: clone GIT_STRATEGY: clone
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: "noninteractive"
DEBIAN_PRIORITY: "low"
DEBCONF_NOWARNINGS: "yes"
DEBCONF_NONINTERACTIVE_SEEN: "true"
ERRORMODE: 1 ERRORMODE: 1
cache: cache:
- key: ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG - key: ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
@ -49,6 +52,10 @@ default:
- apt-get install apt-utils - apt-get install apt-utils
- echo -e "\e[0Ksection_end:`date +%s`:apt_pre\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_pre\r\e[0K"
- - echo -e "\e[0Ksection_start:`date +%s`:apt_upgrade[collapsed=true]\r\e[0KUpdating existing packages (dry-run)"
- apt-get upgrade --simulate
- echo -e "\e[0Ksection_end:`date +%s`:apt_upgraden\r\e[0K"
- - echo -e "\e[0Ksection_start:`date +%s`:apt_common[collapsed=true]\r\e[0KInstalling common packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_common[collapsed=true]\r\e[0KInstalling common packages"
- apt-get install make git ccache - apt-get install make git ccache
- echo -e "\e[0Ksection_end:`date +%s`:apt_common\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_common\r\e[0K"