Git Product home page Git Product logo

devopsdays-demo's Introduction

devopsdays-raleigh

Run the Docker Image

The docker-compose file will pull down and start a SQL Server container. From repo's root directory, execute:

docker-compose up

Check connections and spin up the DB

Once the SQL Server is running, you'll still need to create the database. Connect with the following info (also in the docker-compose file):

  • username: sa
  • password: DevOpsDaysP4ssword!
  • server: localhost,1433
  • trust server certificate: true

The DB Server will already have an initial DB, DevOpsDays, created via the Dockerfile.

Run the Parent Changelog

A parent/master changelog (specified in liquibase.properties) will run child changelogs in the folder, changelogs in alphabetical order. From this directory, execute:

For Linux: ./Liquibase/liquibase update --defaultsFile="liquibase.properties" --log-file=logs/liquibase-update.log

For Windows: Liquibase\liquibase update --defaultsFile="liquibase.properties" --log-file=logs/liquibase-update.log

If you have just one changelog in this folder, it will execute.

Add another changelog

You can create your own custom changelog to experiment, but you can also use the examples provided of well-formed and ill-formed changelogs.

Add these to the changelog folder and test the liquibase update command, the same as before for your OS.

Push to GitHub and create a pull request

'git add .' -> 'git commit –m “demo”' -> 'git push –u origin my-branch-name' Create the PR to merge into master and watch the validation flow in the “Actions” tab of the GitHub repository

Something went wrong....

No worries. We've included a basic script to delete most of the tables in the database, including the meta-tables for Liquibase. You can execute that and try again.

devopsdays-demo's People

Contributors

hylaineccupp avatar

Watchers

James Cloos avatar

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.