Giter Site home page Giter Site logo

Comments (1)

jnewton03 avatar jnewton03 commented on June 12, 2024 1

Hi @menzenski , unfortunately the auto-generated actions do not support adding additional drivers outside of those shipped with liquibase. For that we recommend doing exactly what you are doing and using the liquibase docker container + lpm. Note that GHA can run on a docker container natively (https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container)

Example of using the liquibase container (CC @mcred):


on:
#  push:
  workflow_dispatch:

jobs:
  deploy-database-changes:
    runs-on: ubuntu-latest
    container:
      image: liquibase/liquibase:latest
      env:
        LIQUIBASE_PRO_LICENSE_KEY:  ${{ secrets.PRO_KEY }}
        LIQUIBASE_LAUNCH_DARKLY_SDK_KEY: ${{ secrets.LAUNCHDARKLY_SDK_STAGING_KEY }}
        LIQUIBASE_VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
        LIQUIBASE_VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
        LIQUIBASE_COMMAND_URL: "hashicorp,admin/kv/demo-test-url,url"
        LIQUIBASE_COMMAND_USERNAME: "hashicorp,admin/kv/demo-test-username,username"
        LIQUIBASE_COMMAND_PASSWORD: "hashicorp,admin/kv/demo-test-password,password"
        LIQUIBASE_COMMAND_CHANGELOG_FILE: "changelogs/changes.yml"
        LIQUIBASE_COMMAND_DRIVER: "org.postgresql.Driver"
    steps:
      - name: Checkout Project
        uses: actions/checkout@v3

      - name: Install Dependencies
        run: lpm update && lpm add launchdarkly hashicorp-vault

      - name: Update
        run: liquibase update --log-level SEVERE

from github-action-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.