Code Monkey home page Code Monkey logo

workshop-apps's Introduction

Workshop apps

Repository of ArgoCD application for different workshops.

These applications are auto-deployed via ArgoCD into MOC clusters.

Adding a new application as a participant

Scripted

Please run

./ml-prague-2021/create_app.sh OPENSHIFT_USERNAME https://github.com/USERNAME/REPO.git

Verify that a new file ./ml-prague-2021/USERNAME.yaml is created and ./ml-prague-2021/kustomization.yaml was updated. Commit the changes. Please submit a pull request.

Example:

$ ./ml-prague-2021/create_app.sh user54 https://github.com/username/repo.git
$ git status
...
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ml-prague-2021/kustomization.yaml

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        ml-prague-2021/user54.yaml

Manually

Please select the workshop folder named after the event you are attending and create an application resource in this folder. E.g. attendee of a workshop at ML Prague 2021 creates an application at ml-prague-2021/application-name.yaml. This application has to be a valid ArgoCD application resource:

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: <NAME> # <-- Change this to be unique
spec:
  project: workshops
  source:
    path: <PATH_WITHIN_REPO> # <-- Change this to point to manifests path in your repository
    repoURL: <YOUR_REPO_URL> # <-- Change this to your repository
    targetRevision: master
  destination:
    namespace: ws-ml-prague
    server: "https://kubernetes.default.svc"
  syncPolicy:
    automated:
      selfHeal: true
      prune: true
    syncOptions:
      - Validate=false

Please list your resource file in the kustomization.yaml file in the workshop folder.

Tests

OPA will test the Application for target namespace and ArgoCD project. Please ensure:

  1. The application resource itself points to a valid repository.
  2. The target repository manifests are buildable via kustomize/helm.
  3. The application resource manifest is included in the kustomization.yaml.

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.