Docker , Docker compose network isssues

Posted on March 25, 2022 in CI/CD , Docker • Tagged with GIT, Pipeline, CI/CD, Docker, Docker network

How i traiged issues with docker/docker compose while setting up CI/CD

Usecase : Setup a Docker compose file to bringup entire infrastructure required to to test a microservice(infact combination of couple of microservices as we wanted to run domain based integration tests) as part of the CICD pipelines …


Continue reading

Docker Windows Tips-Trics

Posted on February 20, 2022 in Docker • Tagged with GIT, Pipeline, Docker, Docker Compose

Docker Windows Tips-Trics

Struggling to mount a host directory on windows machine?

Tip : Use "%cd%" instead of Linux command $(pwd) in Windows

docker run --name compare -it --rm -v "%cd%/report":/usr/app/src/report -v "%cd%/data":/usr/app/src/data ito-compare-excel:latest

Override Default Entry point in docker …


Continue reading

Gitlab Scripts for automatic release notes(CHANGELOG.md) generation

Posted on February 12, 2022 in CI/CD • Tagged with GIT, Pipeline, CI/CD, Release Notes, Changelog.md

Gitlab Sample Script to generate Release Notes(CHANGELOG.md) autotmatically as part of the CI/CD pipeline

Very Common Usecase is genrate Release Notes(CHANGELOG.md) automatically. Below use case here has two jobs underr release-creation stage. One to generate CHANGELOG.md and other to generate release automatically. i.e …


Continue reading

Why Temporal - A Microservice Orchestrator Platform

Posted on January 05, 2022 in Temporal • Tagged with microservice, fault-tolerance, high-availability, Temporal

Why Temporal - A Microservice Orchestrator Platform

Temporal Tagline - Taglines for Temporal were “fault oblivious code — it does not know failure” and “stateful workflow engine.”

In the world of microservices, every customer interaction often requires coordination across many services. However, as is often the case, a solution to one problem can …


Continue reading

CORS with POSTMAN however "No 'Access-Control-Allow-Origin' from a browser

Posted on September 12, 2021 in Postman , CORS , JavaScript • Tagged with Postman, CORS, Javascript

CORS with POSTMAN compared to Browser - "No 'Access-Control-Allow-Origin' from a browser

One of the common questions is Why browser throwing 'Access-Control-Allow-Origin' header , however no issues with Postman Desktop tool

CORS Error: The request is blocked because of the Cross-Origin Resource Sharing (CORS) policy.
Error: Browser does not support cross-origin requests …

Continue reading

NRQL- New Relics query language Quick Reference Guide

Posted on August 02, 2021 in Observability • Tagged with NewRelic, NRQL

NewRelic NRQL Quick Reference Guide

Select results in the given time of the hours SELECT hourof(timestamp) FROM Transaction WHERE your_where_cluase and hourof(timestamp) in ('01:00','02:00','03:00','04:00','05:00','06:00','07:00','08:00') SINCE this week

Select results in the given time …


Continue reading

How to install NodeJS on Amazon Linux Worspace

Posted on July 25, 2021 in Worspace • Tagged with AWS, Worksapce, Install, NodeJS

How to install NodeJS on Amazon Linux Workspace

Configure Yum repo

sudo yum install -y gcc-c++ make 
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - 

Install

sudo yum install -y nodejs 

Check Version

node -v

Pelican Static Site Continous Delivery to AWS S3 using github actions

Posted on July 11, 2021 in Performance • Tagged with WebSite, S3, Pelican

Pelican Static Site Continous Delivery to AWS S3 using github actions

Usecase : If you alredy have a Pelican Markdown based static generator as a platform for your static site and is hosted in AWS S3 and you dont wanted to manage any of the below things except creating the content …


Continue reading

Host a Static Site using Pelican , Amzon S3 for less than 1$

Posted on July 07, 2021 in WebSite • Tagged with Pelican, Reference, Github Actions

Host a Static Site using Pelican , Amzon S3 for less than a $1*

This article was basis for creating my personal site SilverDreamRacer.me static site. The only cost for me was - Amazon Route 53 Hosted Zones : 0.5$

*Ofcourse there is domain cost , I have got my domain for …


Continue reading

Install Pelican and configure static site in Amazon S3

Posted on July 05, 2021 in WebSite • Tagged with Pelican, Reference, Cheat Sheet

Create Virtual Environment for Pelican

python3 -m venv ~/virtualenvs/pelican
cd ~/virtualenvs/pelican/
source bin/activate

install Pelican

python3 -m pip install pelican

Validate Pelican installation

pelican --help

Install Pelican Markdown related plugins

python -m pip install "pelican[markdown]"

Pelican Validation

pelican --help

Check installed Pelican Themes

pelican-themes -l

#### Install …


Continue reading