summaryrefslogtreecommitdiff
path: root/.gitlab-ci/cache-server.yml
blob: 24ccd167290bdbabed21b4aa189ab50482c3eb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##
# A Builstream Artifact Server
#
# Spins-up a unnamed and unauthenticated grid:
#  - artifacts server at: http://localhost:50052
#
# BuildStream configuration snippet:
#
#    artifacts:
#      url: http://localhost:50052
#      push: true
#
# Basic usage:
#  - docker-compose -f cache-server.yml up
#  - docker-compose -f cache-server.yml down
#
version: "3.2"

services:
  controller:
    image: buildstream/buildstream:dev
    command: ["bst-artifact-server","--port",
      "50052",
      "--enable-push",
      "/artifacts"
    ]
    ports:
      - 50052:50052
    networks:
      - grid
networks:
  grid:
    driver: bridge

volumes:
  cache: