I’m using the AWS lambda function to send alerts to our slack channel. But, due to some unknown issue, I’m not getting slack alert and not even getting any kind of error message from the AWS lambda function. Logs represent that the function ran successfully without any error but I do not receipt any alert ..
Requirement: We have common DevOps config files which are applicable for all repositories under common organisation in GitHub. Lets say i have 4 repositories A, B, C, D. All 4 repositories has same config file – .github/devops/config.py If i modify/update .github/devops/config.py in repository A, It should automatically update/overwrite in all 3 remaining repositories. This is ..
I’m trying to change the Project Avatar/picture for a project in Azure DevOps with the api. For that I’m using a python script. The api docu states that the picture has to be send as a byte array. But the type is descripted as string array. So for me it sounds like the byte array ..
I am running a series of models, implemented as SparkML transformers, whose execution I like to monitor. Specifically, I like to monitor which version of the model is used in specific task executions. I imagine recording the version of the transformer class during run-time execution for monitoring and possibly fetching a more up-to-date version – ..
I’ve been researching and toying a bit with ansibile to be used with my aws account. I am using a bastion or jump server as the master. I am stuck on some design and implementation areas that I am not quite sure / fond of. It’s my understanding that pip install should not be ran ..
Hi I’m trying to build a pipeline using python in Azure. The problem is when I build the pipeline I’m getting the error "Install Python dependencies." The official documentation talks about building a requirements.txt that uses pip to install the dependencies. https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/python?view=azure-devops The problem is I don’t know how to make it so that the ..
I am having a python code running inside the Kubernetes POD, To trigger that I have another python script that runs in the background with "nohup".This nohup python script reads input data from pubsub and passes that to python application to process. As of now I am executing this script manually whenever I deploy the ..
I created a docker image with python and ruby. When my docker image was only with python it was working. Now the image was not working for some reason. Any hints will be useful. FROM python:2.7 LABEL maintainer="author" COPY ./testapp /app WORKDIR /app RUN pip install -r requirements.txt RUN python init_db.py FROM ruby:2.7.1 RUN gem ..
I am trying to create an image using a dockerfile. As I saw from public repositories, People have a directory named docker. So I want to copy all my code (basicaly whole repo) into docker image. But I couldn’t find the proper way. (You can see the basic file structure below.) Directory Structure So there ..
I have about 20 project written in Python and deployed on the same server. Most of these project are APIs running inside Docker containers, but there’re also several periodic scripts which are being triggered using cron without Docker. All the projects write their logs to a dedicated file (for Docker containers there’re also container logs, ..