blob: 3404346c98b299e09157b25efc86f62183bd198f (
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
|
before_script:
- ruby -v
image: ruby:2.1
stages:
- syntax
- build
build:
stage: build
script:
- rake build
artifacts:
paths:
- pkg/leap_cli-1.9.gem
# trigger leap_platform pipeline using same REF
# as it is used for this project
# (i.e. a push to leap_cli:develop will trigger
# a leap_platform:develop build)
trigger:
type: deploy
script:
- "curl -X POST -F token=$PLATFORM_TRIGGER_TOKEN -F ref=$CI_BUILD_REF_NAME https://0xacab.org/api/v3/projects/129/trigger/builds"
|