π IMPROVE: Add custom logger #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################## | ||
# CICD Pipeline | ||
########################################################################## | ||
# Configuration for this template: | ||
# 1.- Replace the predefined repository CoveredCA/common-devops with your own. | ||
# 2.- Update the global environment variables for the script | ||
name: Debug | ||
on: | ||
workflow_call: | ||
inputs: | ||
keyvault-key: | ||
required: true | ||
description: Access key to KeyVault | ||
type: string | ||
secrets: | ||
azure-credentials: | ||
required: true | ||
description: Azure Credentials for login | ||
env: | ||
CONFIGURATIONS_REPOSITORY: common-configurations | ||
MULE_APPLICATION_TYPE: mule-application-example.jar | ||
jobs: | ||
################################################################## | ||
# Deployment | ||
################################################################## | ||
deployment: | ||
name: Deployment | ||
runs-on: ubuntu-latest | ||
environment: dev | ||
steps: | ||
steps: | ||
- name: Get workflow metadata | ||
uses: CoveredCA/common-devops/packages/configuration-issuemanagement@main | ||
with: | ||
keyvault-key: '${{ inputs.keyvault-key }}' | ||
azure-credentials: '${{ secrets.azure-credentials }}' | ||
- id: debug-workplace | ||
name: Debug workplace | ||
shell: bash | ||
run: | | ||
echo " " | ||
echo "***************************************" | ||
echo "Start setting custom logger process" | ||
echo "***************************************" | ||
echo " " | ||
- name: Set custom logger | ||
uses: CoveredCA/common-devops/packages/customloggercloudhub1@main | ||
with: | ||
deployment-env: ${{ env.deployment_environment }} |