summaryrefslogtreecommitdiff
path: root/.gitlab-ci/buildgrid-cache-server.yml
blob: c8f035d453f7ad24ef1aef1173783ca23f12c0ee (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
37
##
# BuildGrid Compose manifest for BuildStream.
#
# Spins-up a unnamed and unauthenticated grid:
#  - Ref. + CAS at: http://localhost:50052
#
# BuildStream configuration snippet:
#
#    artifacts:
#      url: http://localhost:50052
#      push: true
#
# Basic usage:
#  - docker-compose -f buildgrid-compose.yml up
#  - docker-compose -f buildgrid-compose.yml down
#
version: "3.2"

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

volumes:
  cache: