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
No related branches found
No related tags found
1 merge request!5hotfix ci image name of push
Pipeline #4195 failed
......@@ -6,7 +6,7 @@ stages:
- Docker build
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:
stage: Get dependencies
......
......@@ -9,4 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./pupak.py", "/data" ]
CMD [ "python", "/usr/src/app/pupak.py", "/data" ]
......@@ -79,3 +79,5 @@ class Generator:
file = open(out_name, "w+")
file.write(output)
file.close()
self.logger.info("Generation has finished. Output files in: " + out_folder)
......@@ -14,7 +14,7 @@ if __name__ == "__main__":
# Bootstrapping
setup_logging()
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:
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