Skip to content

Conversation

@twerthi
Copy link
Contributor

@twerthi twerthi commented Sep 29, 2025


Background

This update adds support for SQL Anywhere (Sybase) deployments. In addition, it makes the downloading of the database drivers optional and not dependent on the download of Liquibase itself. This allows the octopuslabs/liquibase-workertools to only download the drivers for execution.

Results

Deployments against SQL Anywhere (Sybase) are now supported. Warning, this could potentially be a breaking change.

Before

Database deployments to SQL Anywhere were not supported.

After

Now they are!

Pre-requisites

  • Id should be a GUID that is not 00000000-0000-0000-0000-000000000000
    • NOTE If you are modifying an existing step template, please make sure that you do not modify the Id property (updating the Id will break the Library sync functionality in Octopus).
  • Version should be incremented, otherwise the integration with Octopus won't update the step template correctly
  • Parameter names should not start with $
  • Step template parameter names (the ones declared in the JSON, not the script body) should be prefixed with a namespace so that they are less likely to clash with other user-defined variables in Octopus (see this issue). For example, use an abbreviated name of the step template or the category of the step template).
  • LastModifiedBy field must be present, and (optionally) updated with the correct author
  • The best practices documented here have been applied
  • If a new Category has been created:
    • An image with the name {categoryname}.png must be present under the step-templates/logos folder
    • The switch in the humanize function in gulpfile.babel.js must have a case statement corresponding to it

@github-actions
Copy link

Start Hyponome locally

docker pull ghcr.io/hnrkndrssn/hyponome:main
docker run --rm -p 8000:8080 -it ghcr.io/hnrkndrssn/hyponome:main

Review in Hyponome

@twerthi
Copy link
Contributor Author

twerthi commented Sep 29, 2025

I forgot to mention that Liquibase will be removing packaged driver files for the Community version. Downloading the drivers was tied to downloading Liquibase itself. The functionality that was moved was put in place for when the removal of the drivers occurs so users could simply tick the box and it would work as it did before.

@benPearce1
Copy link
Contributor

@twerthi this is a bit of a confusing change.

The liquibaseDownloadDatabaseDriver value is provided by a docker container that the script is running inside of, correct?

Is there a reason that the block at line 975 was commented out?

@twerthi
Copy link
Contributor Author

twerthi commented Oct 3, 2025

That was an old comment that I'd forgotten to replace and the commented out code needed to be removed, so good catch. I also found a bug and fixed that.

@twerthi
Copy link
Contributor Author

twerthi commented Oct 6, 2025

Latest version of Liquibase requires Java 17 or higher, updated the version of Java downloaded when choosing the Download Liquibase option. Updated default value for Download Database Driver to true.

@benPearce1 benPearce1 merged commit 164e93b into master Oct 8, 2025
2 checks passed
@benPearce1 benPearce1 deleted the update-liquibase branch October 8, 2025 00:12
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

Successfully merging this pull request may close these issues.

2 participants