ubc / satis-go-docker

Docker image for Satis and Satis-go
2 stars 6 forks source link

how to make satis-go use 'archive' config from db.json #1

Open Doqnach opened 6 years ago

Doqnach commented 6 years ago

My db.json looks like the following (with a whole list of private repo's, next to that laravel one):

{
  "name": "My First Satis-Go",
  "homepage": "http://127.0.0.1:8080",
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/jamisonvalenta/Laravel-4-Generators.git"
    }
  ],
  "require-all": true,
  "archive": {
    "directory": "dist",
    "format": "tar",
    "prefix-url": "http://cdn.satis.test"
  }
}

After starting satis-go (/opt/satis-go/satis-go) the archive key gets removed from the db.json and is not transfered to the stage.json.

How can I make it create the dist and keep this config?

Doqnach commented 5 years ago

@xcompass any thoughts on above?

https://github.com/benschw/satis-go/issues/11

xcompass commented 5 years ago

I've recently updated to use satis-go master, which is suppose to support full schema of satis config: https://github.com/benschw/satis-go/commit/b9f6417bd4eb9aeb3492592f6131ba2b0cee8c39. Could you give the latest image a try?