GithubHelp home page GithubHelp logo

harness-community / quarkus-springboot-demo-gitops Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 14 KB

Repository to perform the GitOps based deployment of quarkus-springboot-demo

License: Apache License 2.0

Smarty 100.00%

quarkus-springboot-demo-gitops's Introduction

Java CI and GitOps with Drone, Argo CD and Gitea

This repository act as GitOps repo for the https://github.com/kameshsampath/quarkus-springboot-demo app.

Prerequisites

Setup DAG Stack

You need a environment that can help you do CI and GitOps. You can setup one locally as described here https://github.com/kameshsampath/dag-stack.git.

Environment

Let us setup the following variables for convenience,

# directory where you have cloned the dag-stack repo
export DAG_HOME="<directory where you have cloned the dag-stack repo>"
# the argocd project to use
export ARGO_CD_PROJECT="default"
export GIT_URL="http://gitea-127.0.0.1.sslip.io:30950"
export GIT_USER="<your gitea user>
export GIT_REPO="http://gitea-127.0.0.1.sslip.io:30950/${GIT_USER}/quarkus-springboot-demo-gitops.git"

GitOps

Update the App helm $APP_HOME/helm_vars/values.yaml

envsubst < "$APP_HOME/helm_vars/values.tpl.yaml" > "$APP_HOME/helm_vars/values.yaml"

Commit and push the code to git repo,

git commit -a -m "Init GitOps"
git push origin main

Deploy Argo CD application Kubernetes cluster that will use our GitOps repo,

envsubst < $APP_HOME/app.yaml | kubectl apply -f -

quarkus-springboot-demo-gitops's People

Contributors

jimsheldon avatar

Watchers

Dave Nielsen avatar Kamesh Sampath 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.