diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a2c5ec98935457e9c6244846349a9476e49e2a79..2d18471e43d18a3aefe81fc3a4bee1c9feaebfed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,6 +41,7 @@ build:scheduling-abstraction-layer: script: - $SCHEDULING_ABSTRACTION_LAYER_CLI clean install artifacts: + expire_in: 1 week paths: - /builds/melodic/morphemic-preprocessor/maven_repo/org/activeeon/scheduling-abstraction-layer/ @@ -50,6 +51,7 @@ build:amq-message-java-library: script: - $AMQ_MESSAGE_JAVA_LIBRARY_CLI clean install artifacts: + expire_in: 1 week paths: - /builds/melodic/morphemic-preprocessor/maven_repo/gr/ntua/imu/morphemic/amq-message-java-library/ @@ -59,6 +61,7 @@ build:slo-severity-calculator: script: - $SLO_SEVERITY_CALCULATOR_CLI clean install artifacts: + expire_in: 1 week paths: - /builds/melodic/morphemic-preprocessor/maven_repo/gr/ntua/imu/morphemic/SLOSeverityCalculator/ diff --git a/deployment/arima/src/model_predict.py b/deployment/arima/src/model_predict.py index 0068fccd33d263e342f8d70d329d2ea494290d96..9ffa970c066efe6dc34fd99d6f957dcd21e621f8 100644 --- a/deployment/arima/src/model_predict.py +++ b/deployment/arima/src/model_predict.py @@ -8,11 +8,15 @@ from filelock import FileLock from src.preprocess_dataset import Dataset import time import logging +import pytz +from datetime import datetime pd.options.mode.chained_assignment = None """Script for temporal fusion transformer prediction""" +TZ = os.environ.get("TIME_ZONE", "Europe/Vienna") + def predict( target_column,