Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 13723cef authored by Michael Ott's avatar Michael Ott
Browse files

Allow for endTime != 0 for insertion into the jobData table if the last digit...

Allow for endTime != 0 for insertion into the jobData table if the last digit is 1 as set by dcdblsurmjob start
parent 7ad7b998
......@@ -452,7 +452,8 @@ int mqttCallback(SimpleMQTTMessage *msg)
#endif
//store JobData into Storage Backend
if (jd.endTime == DCDB::TimeStamp((uint64_t)0)) {
//dcdbslurmjob start inserts the endTime as startTime + max job length + 1, i.e. the last digit will be 1
if ((jd.endTime == DCDB::TimeStamp((uint64_t)0)) || ((jd.endTime.getRaw() & 0x1) == 1)) {
//starting job data
if (myJobDataStore->insertJob(jd) != DCDB::JD_OK) {
LOG(error) << "Job data insert failed!";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment