Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible
- ```
- - name: run buildstream artifacts
- become: yes
- docker_container:
- name: local-artifacts
- image: buildstream/artifact-cache:master-140892353
- state: started
- entrypoint: bst-artifact-server --enable-push -p 50052 /data
- restart: true
- restart_policy: always
- ports:
- - "50052:50052"
- ```
- .config/buildstream.conf
- ```
- artifacts:
- url: http://cache.scatterworks.co.uk:50052
- push: true
- remote-execution:
- execution-service:
- url: http://cache.scatterworks.co.uk:50051
- storage-service:
- url: http://cache.scatterworks.co.uk:50051
- client-key: ''
- client-cert: ''
- server-cert: ''
- action-cache-service:
- url: http://cache.scatterworks.co.uk:50051
- ```
- gives
- ```
- venvbst2 will localhost ~ projects buildstream freedesktop-sdk willsalmon/bst2 $ bst build components/tar.bst
- [20:06:15][--:--:--][ ][ main:core activity ] START Build
- [20:06:15][--:--:--][ ][ main:core activity ] START Loading elements
- [20:06:15][00:00:00][ ][ main:core activity ] SUCCESS Loading elements
- [20:06:15][--:--:--][ ][ main:core activity ] START Resolving elements
- [20:06:15][00:00:00][ ][ main:core activity ] SUCCESS Resolving elements
- [20:06:15][--:--:--][ ][ main:core activity ] START Initializing remote caches
- [20:06:16][--:--:--][ ][ main:core activity ] WARNING Failed to initialize remote http://cache.scatterworks.co.uk:50052: Configured remote does not have the BuildStream capabilities service. Please check remote configuration.
- [20:06:16][00:00:00][ ][ main:core activity ] SUCCESS Initializing remote caches
- [20:06:16][--:--:--][ ][ main:core activity ] START Resolving cached state
- [20:06:17][00:00:01][ ][ main:core activity ] SUCCESS Resolving cached state
- [20:06:17][--:--:--][ ][ main:core activity ] START Checking sources
- [20:06:17][00:00:00][ ][ main:core activity ] SUCCESS Checking sources
- ```
Add Comment
Please, Sign In to add comment