From eb6a8904e150b8fc94e9a641326543946b12dbba Mon Sep 17 00:00:00 2001 From: Alexandre Frade Date: Wed, 6 Sep 2023 22:47:40 +0000 Subject: [PATCH] .gitlab-ci: Update .gitlab-ci.yml file - Change job title; - Change artifacts file name; - Allow only branches to trigger a job. Signed-off-by: Alexandre Frade --- .gitlab-ci.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75fb2841a26b4..9fab2e6b16a0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,62 +22,70 @@ variables: KDEB_CHANGELOG_DIST: "bookworm" KCONFIG_CONFIG: "CONFIGS/xanmod/gcc/config_$psabi" -linux-6.1-x64v1-xanmod: +6.1 x64v1: tags: [saas-linux-xlarge-amd64] stage: build + only: + - branches variables: psabi: x86-64-v1 script: - eval $mvcmd && eval $avcmd artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" + name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA" paths: - assets/ exclude: - assets/*dbg* timeout: 1h -linux-6.1-x64v2-xanmod: +6.1 x64v2: tags: [saas-linux-xlarge-amd64] stage: build + only: + - branches variables: psabi: x86-64-v2 script: - eval $mvcmd && eval $avcmd artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" + name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA" paths: - assets/ exclude: - assets/*dbg* timeout: 1h -linux-6.1-x64v3-xanmod: +6.1 x64v3: tags: [saas-linux-xlarge-amd64] stage: build + only: + - branches variables: psabi: x86-64-v3 script: - eval $mvcmd && eval $avcmd artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" + name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA" paths: - assets/ exclude: - assets/*dbg* timeout: 1h -linux-6.1-x64v4-xanmod: +6.1 x64v4: tags: [saas-linux-xlarge-amd64] stage: build + only: + - branches variables: psabi: x86-64-v4 script: - eval $mvcmd && eval $avcmd artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" + name: "$CI_JOB_NAME~$CI_COMMIT_SHORT_SHA" paths: - assets/ exclude: - assets/*dbg* - timeout: 1h \ No newline at end of file + timeout: 1h