1

Question: Azure CICD pipeline is failing with the below error. There hasnt been any recent changes to the environment/YAML. The "Replace tokens in Liquibase properties" step in the Deploy stage is failing.

Error: OCI runtime exec failed: exec failed: unable to start container process: chdir to cwd ("/home/liquibase") set in config.json failed: no such file or directory: unknown ##[error]Exit code 126 returned from process: file name '/usr/bin/docker', arguments 'exec -i -u 1001 -w /home/liquibase abcd123456789bdbdbdb /__a/externals/node/bin/node /__w/_temp/containerHandlerInvoker.js'.

YAML File: - stage: DeployStaging
displayName: Deploy
jobs:
- job: DeployToSnowflake
displayName: Deploy to Snowflake
pool:
vmImage: ubuntu-latest
container: LBPRO
steps:
- task: replacetokens@5
displayName: Replace tokens in Liquibase properties
inputs:
targetFiles: '**/liquibase.properties'
encoding: 'auto'
tokenPattern: 'default'
writeBOM: true
actionOnMissing: 'warn'
keepToken: false
actionOnNoFiles: 'continue'
enableTransforms: false
enableRecursion: false
useLegacyPattern: false
enableTelemetry: true
workingDirectory: $(Build.SourcesDirectory)

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.