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 29777058 authored by Michael Ott's avatar Michael Ott
Browse files

Make CollectAgent fail if it can't retrieve the published sensors

parent 66897b10
......@@ -737,9 +737,12 @@ int main(int argc, char* const argv[]) {
// Fetching public sensor information from the Cassandra datastore
list<DCDB::PublicSensor> publicSensors;
if(mySensorConfig->getPublicSensorsVerbose(publicSensors)!=SC_OK) {
LOG(error) << "Failed to retrieve public sensors!";
exit(EXIT_FAILURE);
}
metadataStore = new MetadataStore();
if(mySensorConfig->getPublicSensorsVerbose(publicSensors)!=SC_OK)
LOG(error) << "Failed to retrieve public sensors. Metadata Store and Sensor Navigator will be empty.";
SensorMetadata sBuf;
for (const auto &s : publicSensors)
if (!s.is_virtual) {
......
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