Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changelogFile is required error #131

Open
rosscarmichael31 opened this issue Jul 12, 2024 · 0 comments
Open

changelogFile is required error #131

rosscarmichael31 opened this issue Jul 12, 2024 · 0 comments

Comments

@rosscarmichael31
Copy link

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/[email protected]
        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/[email protected]/
  🐳  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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant