Coder Social home page Coder Social logo

toelt / argo-continuous-integration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bouweceunen/argo-continuous-integration

0.0 0.0 0.0 32 KB

Continuous integration with Argo that supports bitbucket private webhooks.

Dockerfile 26.09% Go 73.91%

argo-continuous-integration's Introduction

Argo Continuous Integration

Continuous integration with Argo that supports bitbucket private webhooks.

DockerHub Badge

Installation

Change your host in the ingress.yml file first. This file resides in the kubernetes folder.

kubectl apply -f kubernetes/

Usage

Once deployed, add a webhook to your bitbucket repositories https://<your-argo-domain>/webhook.

ingress

Change the url in the ingress before deploying. This Ingress will route traffic from your Argo domain to the Argo CI implementation, Bitbucket will use this domain as a webhook.

starter workflow

The webhook is going to be called and it will start up a 'starter' Workflow, which in turn will pull the repository and start the argo.yml Workflow which has to reside in the root of the repository. The argo.yml file in this repository consists of a sshPrivateKeySecret named 'bitbucket-creds', this has to be a secret in the namespace you will deploy this in. Feel free to rename this and adjust this in the argo.yml file. This Secret is needed to be able to pull your repository from Bitbucket and start the actual Workflow.

example workflow

An example Workflow that has to reside in the root of the project you want to apply CI/CD to and will be triggered by the starter workflow, can be found in the example-workflow folder. This Workflow will build a docker image, run Cypress frontend tests and deploy it via Ansible to Kubernetes.

argo-continuous-integration's People

Contributors

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