Coder Social home page Coder Social logo

nh758 / travis-appbuilder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appdevdesigns/travis-appbuilder

0.0 0.0 0.0 592 KB

Continuous integration (Travis-CI) for appbuilder using docker and cypress.io

JavaScript 60.88% Shell 34.26% Makefile 4.85%

travis-appbuilder's Introduction

appbuilder-ci

Continuous Integration workflow for appdevdesigns/app_builder

  • End to End tests using cypress

Github Action

The github action 'CI' can be triggered with a workflow_dispatch event and expects a commit to use for building the ab-production-image. After to building the image it gets deployed using ab-production stack using docker-compose.test.yml. Then the Cypress End-2-End test are run.

Usage

Run the action from GitHub

Trigger from another workflow using aurelien-baudet/workflow-dispatch@v2 or similiar.

- name: run ci
    id: test
    uses: aurelien-baudet/workflow-dispatch@v2
    with:
      workflow: CI
      token: ${{ secrets.PAT }}
      repo: appdevdesigns/travis-appbuilder
      inputs: '{"commit": "${{ GITHUB_SHA }}"}'
      wait-for-completion: true
      wait-for-completion-timeout: 30m
  - name: result
    run: echo "Result - ${{ steps.test.outputs.workflow-conclusion }}"

Run Tests Locally

Assumes app_builder is running locally on 1337

git clone https://github.com/appdevdesigns/travis-appbuilder.git

cd travis-appbuilder

 # Running interactively
npm run interactive

# Running headlessly
npm run headless

travis-appbuilder's People

Contributors

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