Skip to content

DelDennis/weave-gitops

This branch is 4109 commits behind weaveworks/weave-gitops:main.

Folders and files

NameName
Last commit message
Last commit date
Jul 1, 2021
Jul 1, 2021
Jul 1, 2021
Apr 7, 2021
Jun 29, 2021
Jul 1, 2021
Jul 1, 2021
Jul 1, 2021
Jul 1, 2021
Jun 10, 2021
Jun 10, 2021
Jun 24, 2021
Jun 9, 2021
Jun 10, 2021
Jun 17, 2021
Mar 12, 2021
Apr 8, 2021
Mar 12, 2021
Mar 31, 2021
Jul 1, 2021
Jun 30, 2021
Jun 17, 2021
Jul 1, 2021
Jun 17, 2021
Jul 1, 2021
Jul 1, 2021
Mar 22, 2021
May 6, 2021
Jun 17, 2021
Jul 1, 2021
Jun 29, 2021
Jun 10, 2021

Repository files navigation

weave-gitops

Weave GitOps

Coverage Status Test status LICENSE Contributors Release

Overview

Weave GitOps enables an effective GitOps workflow for continuous delivery of applications into Kubernetes clusters. It is based on CNCF Flux, a leading GitOps engine.

Early access

Weave GitOps is in early stages and iterating. Not all capabilities are available yet, and the CLI commands and other aspects may change. Please be aware this is not production ready yet. We would appreciate feedback and contributions of all kinds at this stage.

Getting Started

CLI Installation

Mac / Linux

curl -L https://github.com/weaveworks/weave-gitops/releases/download/v0.1.0/wego-$(uname)-$(uname -m) -o wego
chmod +x wego
sudo mv ./wego /usr/local/bin/wego
wego version

Please see the getting started guide.

CLI Reference

Weave GitOps

Usage:
  wego [command]

Available Commands:
  app         Add or Status application
  flux        Use flux commands
  help        Help about any command
  install     Install or upgrade Wego
  version     Display wego version

Flags:
  -h, --help               help for wego
      --namespace string   gitops runtime namespace (default "wego-system")
  -v, --verbose            Enable verbose output

Use "wego [command] --help" for more information about a command.

For more information please see the docs

CLI/API development

To set up a development environment for the CLI

  1. Install go v1.16
  2. Install buf
  3. make

UI Development

To set up a development environment for the UI

  1. Install go v1.16
  2. Install Node.js version 14.15.1
  3. Install reflex for automated server builds: go get github.com/cespare/reflex
  4. Run npm install
  5. To start up the HTTP server with automated re-compliation, run make ui-dev
  6. Run npm start to start the frontend dev server (with hot-reloading)

Lint frontend code with make ui-lint

Run frontend tests with make ui-test

Check dependency vulnerabilities with make ui-audit

Recommended Snippets

To create a new styled React component (with typescript):

{
  "Export Default React Component": {
    "prefix": "tsx",
    "body": [
      "import * as React from 'react';",
      "import styled from 'styled-components'",
      "",
      "type Props = {",
      "  className?: string",
      "}",
      "",
      "function ${1:} ({ className }: Props) {",
      "  return (",
      "    <div className={className}>",
      "      ${0}",
      "    </div>",
      "  );",
      "}",
      "",
      "export default styled(${1:})``"
    ],
    "description": "Create a default-exported, styled React Component."
  }
}

Contribution

Need help or want to contribute? Please see the links below.

About

Weave GitOps core

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 83.4%
  • TypeScript 12.2%
  • Shell 2.2%
  • Makefile 1.7%
  • Dockerfile 0.3%
  • JavaScript 0.1%
  • HTML 0.1%