Giter Club home page Giter Club logo

flyway-azure's Introduction

flyway-azure

flyway docker image for the azure pipeline

Getting started

The easiest way to get started is simply to test the image by running

docker run --rm flyway [flyway cli arguments here]

Azure Pipleline

The Azure Pipelines system requires a few things in

Linux-based containers:

  • Bash
  • glibc-based
  • Can run Node.js (which the agent provides)
  • Does not define an ENTRYPOINT
  • USER has access to groupadd and other privileges commands without sudo

agent host:

  • Ensure Docker is installed
  • The agent must have permission to access the Docker daemon

Requirement for the non glibc-based containers

  • Add a Node LTS binary to your container.
  • Set container label "com.azure.dev.pipelines.handler.node.path" to the Node.js binary
  • Add requirements

RUN apk add bash sudo shadow

Refer to Define container jobs (YAML) for more information.

Azure Pipeline Example

stages:
- stage: DeployDatabase
  jobs:
  - job: FlywayDocker
    timeoutInMinutes: 10
    pool:
      vmImage: 'ubuntu-16.04'
    container:
      image: kulmam92/flyway-azure:6.2.3
    steps:
    - script: whoami
    - script: pwd
    - script: ls -la
    - script: flyway -v

flyway-azure's People

Contributors

kulmam92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.