Skip to content
Snippets Groups Projects
Commit 857ea1eb authored by Robotka István Adrián's avatar Robotka István Adrián
Browse files

Merge branch 'hotfixci2' into 'master'

hotfix ci image name of push

See merge request !5
parents ed490da9 3f8583b0
Branches
Tags v0.1
1 merge request!5hotfix ci image name of push
Pipeline #4195 failed
...@@ -6,7 +6,7 @@ stages: ...@@ -6,7 +6,7 @@ stages:
- Docker build - Docker build
variables: variables:
CONTAINER_IMAGE: "hub.docker.com:robotka/pupak:$CI_COMMIT_REF_NAME" CONTAINER_IMAGE: "registry.kszk.bme.hu/monitoring/pupak:$CI_COMMIT_REF_NAME"
pip: pip:
stage: Get dependencies stage: Get dependencies
......
...@@ -9,4 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt ...@@ -9,4 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
CMD [ "python", "./pupak.py", "/data" ] CMD [ "python", "/usr/src/app/pupak.py", "/data" ]
...@@ -79,3 +79,5 @@ class Generator: ...@@ -79,3 +79,5 @@ class Generator:
file = open(out_name, "w+") file = open(out_name, "w+")
file.write(output) file.write(output)
file.close() file.close()
self.logger.info("Generation has finished. Output files in: " + out_folder)
...@@ -14,7 +14,7 @@ if __name__ == "__main__": ...@@ -14,7 +14,7 @@ if __name__ == "__main__":
# Bootstrapping # Bootstrapping
setup_logging() setup_logging()
logger = logging.getLogger(APP_LOG_TAG) logger = logging.getLogger(APP_LOG_TAG)
logger.info("Starting Pupák generator script.") logger.debug("Starting Pupák generator script.")
if len(sys.argv) < 1 + 1: if len(sys.argv) < 1 + 1:
logger.error("Not enough CLI args.") logger.error("Not enough CLI args.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment