Skip to main content

Posts

Showing posts from January, 2022

Azure CICD using DevOps

Create Azure subscription and use it in pipelines and releases Environment:Azure Cloud Server URL:https://management.azure.com/ Scope Level: Subscription Subscription Id: Subscription Name: Service Principal Id: Credential: service principal key Tenant ID: Service Connection Name: subscription_name Security: Grant access permission to all pipelines Step1: Create Pipeline -   azure-pipelines.yml - ensure auto trigger # Maven # Build your Java project and run tests with Apache Maven. # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/java trigger : -  master -  releases/* pool :    vmImage :  ubuntu-latest steps : -  task :  Maven@3    inputs :      mavenPomFile :  'pom.xml'      mavenOptions :  '-Xmx3072m'      javaHomeOption :  'JDKVersion'      jdkVersionOption :  '1.8'      jdkArchitectureOption :  'x64'      publishJUnitResults :  true      testResultsFiles :  &#

Python Module Installation Issues and Work Arrounds

Problem :  When Running PYODBC in Mac , User getting Error "pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL Server]Client unable to establish connection (0) (SQLDriverConnect)')"  Solution :  Run the following commands rm -rf /usr/local/opt/openssl version=$(ls /usr/local/Cellar/openssl@1.1 | grep "1.1") ln -s /usr/local/Cellar/openssl@1.1/$version /usr/local/opt/openssl Source: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/known-issues-in-this-version-of-the-driver?view=sql-server-ver15