Sign inSign up

warp10io/warpfleetsynchronizer

By warp10io

Updated almost 4 years ago

This Web server aims to synchronize git repositories and serve macros for the WarpFleet™ resolver

Image
0

1.5K

warp10io/warpfleetsynchronizer repository overview

WarpFleet™ Synchronizer

This Web server aims to synchronize git repositories and serve macros for the WarpFleet™ resolver

Configuration sample

{
  "host": "0.0.0.0",
  "port": 8080,
  "remotes": "www.myWebSite.com", // independant of your Warp 10 instance, for admin purpose
  "repos" : [
    {
      "owner": "hammet",
      "name": "warpfleet-macros", // must be unique
      "url": "[email protected]:senx/warpfleet-macros.git",
      "passphrase": "sshPass"
    },
    {
      "owner": "hetfield",
      "name": "warpfleet-macros2",
      "url": "https://gitlab.com/senx/warpfleet-macros.git",
      "username": "oauth2",
      "password": "<gitlab oAuth Token>",
      "branch": "main"
    }
  ]
}

Docker

docker run -d  -v /path/to/conf/file/dir/:/data -p 8888:8080 warp10io/warpfleetsynchronizer:latest

Usage

Test in your browser
http://localhost:8080/macros/<repo name>/path/to/macro.mc2
For WarpFleet Resolver
http://localhost:8080/macros/
API

Sync all

http://localhost:8080/api/sync

Sync specific repo

http://localhost:8080/api/sync/myRepo

List repositories

http://localhost:8080/api/repos/<owner>

Copyright 2019-2022 SenX S.A.S.

https://senx.io

Tag summary

Content type

Image

Digest

sha256:87ac0b473

Size

101.3 MB

Last updated

almost 4 years ago

docker pull warp10io/warpfleetsynchronizer