liquibase / github-action-generator

Main repository to generate GitHub Actions for liquibase-github-actions
1 stars 1 forks source link

changelogFile is required error #131

Open rosscarmichael31 opened 4 months ago

rosscarmichael31 commented 4 months ago

Hey, I'm trying to debug why the following set up is erroring and not generating the rollback SQL. Here is the action I have set up

jobs:
  liquibase-rollback:
    runs-on: [ self-hosted, rocky ]
    environment:
      name: dev
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
        with:
          ref: WWL-1348-liquibase-rollback

      - name: Liquibase Rollback Action
        uses: liquibase-github-actions/rollback-sql@v4.28.0
        with:
          changelogFile: "src/main/resources/db/changelog/db.bulk-shipment-service-1.0.0.xml"
          tag: "59"
          url: "${{ vars.DATASOURCE_URL }}"
          username: "${{ vars.LIQUIBASE_USERNAME }}"
          password: "${{ secrets.LIQUIBASE_PASSWORD }}"
          logLevel: DEBUG

And in the logs we're getting

⭐ Run Main Liquibase Rollback Action
  🐳  docker build -t act-liquibase-github-actions-rollback-sql-v4-[2](https://github.com/World-Wide-Logistics/bulk-shipment-service/actions/runs/9907129866/job/27370143444#step:8:2)8-0-dockeraction:latest /root/.cache/act/liquibase-github-actions-rollback-sql@v4.28.0/
  🐳  docker pull image=act-liquibase-github-actions-rollback-sql-v4-28-0-dockeraction:latest platform= username= forcePull=false
  🐳  docker create image=act-liquibase-github-actions-rollback-sql-v[4](https://github.com/World-Wide-Logistics/bulk-shipment-service/actions/runs/9907129866/job/27370143444#step:8:4)-28-0-dockeraction:latest platform= entrypoint=[] cmd=["" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""]
  🐳  docker run image=act-liquibase-github-actions-rollback-sql-v4-28-0-dockeraction:latest platform= entrypoint=[] cmd=["" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""]
changelogFile is required
Error:   ❌  Failure - Main Liquibase Rollback Action
Error: exit with `FAILURE`: 1

I've verified the input parameters and that the changelog file exists at the file path I've specified. Any ideas why we're getting this error?

We're running this on a self-hosted runner which is using NodeJS 20.

Thanks