Skip to content

Commit

Permalink
👌 IMPROVE: Add custom logger
Browse files Browse the repository at this point in the history
  • Loading branch information
jpontdia committed Oct 11, 2023
1 parent b1fa2b0 commit 43ea065
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
File renamed without changes.
57 changes: 57 additions & 0 deletions .github/workflows/mule-debug-customlog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
##########################################################################
# 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 }}

0 comments on commit 43ea065

Please sign in to comment.