All Projects → flyway → flyway-ant

flyway / flyway-ant

Licence: Apache-2.0 license
Flyway Ant tasks

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to flyway-ant

Flyway Sbt
Flyway SBT plugin
Stars: ✭ 101 (+621.43%)
Mutual labels:  continuous-delivery, continuous-deployment, database-migrations
Liquibase
Main Liquibase Source
Stars: ✭ 2,910 (+20685.71%)
Mutual labels:  continuous-delivery, continuous-deployment, database-migrations
Flyway Docker
Official Flyway Docker images
Stars: ✭ 123 (+778.57%)
Mutual labels:  continuous-delivery, continuous-deployment, database-migrations
Rok8s Scripts
Opinionated scripts for managing application deployment lifecycle in Kubernetes
Stars: ✭ 248 (+1671.43%)
Mutual labels:  continuous-delivery, continuous-deployment
generator-nullfactory-xrm
Yeoman generator for Dynamics 365 Solutions. It generates a project structure that facilitates the quick creation builds and automated release strategies with minimal effort.
Stars: ✭ 15 (+7.14%)
Mutual labels:  continuous-delivery, continuous-deployment
badwolf
Docker based continuous integration, continuous deployment and code lint review system for BitBucket
Stars: ✭ 88 (+528.57%)
Mutual labels:  continuous-delivery, continuous-deployment
Bbrun
Run Bitbucket Pipelines locally
Stars: ✭ 127 (+807.14%)
Mutual labels:  continuous-delivery, continuous-deployment
Terrahub
Terraform Automation and Orchestration Tool (Open Source)
Stars: ✭ 148 (+957.14%)
Mutual labels:  continuous-delivery, continuous-deployment
Cdeasy
Continuous Delivery made Easy ;)
Stars: ✭ 143 (+921.43%)
Mutual labels:  continuous-delivery, continuous-deployment
maestro
Faster CI/CD for multi-artifact projects
Stars: ✭ 13 (-7.14%)
Mutual labels:  continuous-delivery, continuous-deployment
Nevergreen
🐤 A build monitor with attitude
Stars: ✭ 170 (+1114.29%)
Mutual labels:  continuous-delivery, continuous-deployment
bodywork-ml-pipeline-project
Deployment template for a continuous training pipeline.
Stars: ✭ 22 (+57.14%)
Mutual labels:  continuous-delivery, continuous-deployment
Build
Netlify Build runs the build command, Build Plugins and bundles Netlify Functions.
Stars: ✭ 135 (+864.29%)
Mutual labels:  continuous-delivery, continuous-deployment
k8s.ecoysystem.apps
kubernetes(k8s) ecosystem applications written c#, including micro-service(aspnetcore.webapi) and health checks etc. the goal is automatic complete continuous integration, delivery, deployment by committing code to the respository. so i will continue to be iterated...
Stars: ✭ 16 (+14.29%)
Mutual labels:  continuous-delivery, continuous-deployment
Sshdeploy
A command-line tool that enables quick build and run deployments over SSH.
Stars: ✭ 131 (+835.71%)
Mutual labels:  continuous-delivery, continuous-deployment
Bodywork Core
Deploy machine learning projects developed in Python, to Kubernetes. Accelerated MLOps 🚀
Stars: ✭ 145 (+935.71%)
Mutual labels:  continuous-delivery, continuous-deployment
Syncd
syncd是一款开源的代码部署工具,它具有简单、高效、易用等特点,可以提高团队的工作效率.
Stars: ✭ 2,065 (+14650%)
Mutual labels:  continuous-delivery, continuous-deployment
Xrm Ci Framework
xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
Stars: ✭ 172 (+1128.57%)
Mutual labels:  continuous-delivery, continuous-deployment
Pipelines
Build pipelines for automation, deployment, testing...
Stars: ✭ 105 (+650%)
Mutual labels:  continuous-delivery, continuous-deployment
Ayespy
A performant visual regression testing tool
Stars: ✭ 150 (+971.43%)
Mutual labels:  continuous-delivery, continuous-deployment

Flyway Ant Tasks

Flyway Ant plugin provided as an AntLib.

Dependency

<dependency>
    <groupId>com.ttulka.flyway</groupId>
    <artifactId>flyway-ant</artifactId>
    <version>2.19.1</version>
</dependency>

Usage

<project ... xmlns:flyway="antlib:org.flywaydb.ant">
   <path id="flyway.lib.path">
       <!-- include all jars from the Flyway AntLib distribution -->
   </path>

   <path id="flyway.classpath">
       <!-- include all jars containing jdbc drivers -->
       <!-- include all jars and directories containing sql migrations -->
       <!-- include all jars and directories containing compiled java migrations -->
   </path>

   <taskdef uri="antlib:org.flywaydb.ant" resource="org/flywaydb/ant/antlib.xml"
       classpathref="flyway.lib.path"/>
</project>

Tasks

Name Description
migrate Migrates the database.
clean Drops all objects in the configured schemas.
info Prints the details and status information about all the migrations.
validate Validates the applied migrations against the ones available on the classpath.
baseline Baselines an existing database, excluding all migrations up to and including baselineVersion.
repair Repairs the metadata table.

Configuration

The Flyway Ant tasks can be configured in the following ways:

Attributes of the task

<flyway:migrate driver="com.myvendor.Driver" password="mySecretPwd">
    <locations>
        <location path="largetest/migrations1"/>
        <location path="largetest/migrations2"/>
    </locations>
    <placeholders>
        <placeholder name="name" value="Mr. T"/>
    </placeholders>
    <schemas>
        <schema name="schema1"/>
    </schemas>
    <resolvers>
        <resolver class="com.mycomp.MyMigrationResolver"/>
    </resolvers>
    <callbacks>
        <callback class="com.mycomp.MyCallback"/>
    </callbacks>
</flyway:migrate>

Through Ant properties

<!-- Properties are prefixed with flyway. -->
<property name="flyway.password" value="mySecretPwd"/>

<!-- List are defined as comma-separated values -->
<property name="flyway.schemas" value="schema1,schema2,schema3"/>

<!-- Individual placeholders are prefixed by flyway.placeholders. -->
<property name="flyway.placeholders.keyABC" value="valueXYZ"/>
<property name="flyway.placeholders.otherplaceholder" value="value123"/>

Through System properties

ant -Dflyway.user=myUser -Dflyway.schemas=schema1,schema2 -Dflyway.placeholders.keyABC=valueXYZ

System properties override Ant properties override Task attributes.

Documentation

For more details see the Wiki pages.

Maintenance

This repository is a community project and not officially maintained by the Flyway Team at Redgate. This project is looked after only by the open source community. Community Maintainers are people who have agreed to be contacted with queries for support and maintenance. Community Maintainers:

If you would like to be named as an Community Maintainer, let us know via Twitter: https://twitter.com/flywaydb.

License

Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].