File tree Expand file tree Collapse file tree 1 file changed +17
-21
lines changed Expand file tree Collapse file tree 1 file changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ services:
5
5
stages :
6
6
- build
7
7
- build_debug
8
- # - test
8
+ - test
9
9
- release
10
- # - deploy
10
+ - trigger
11
11
12
12
variables :
13
13
DOCKER_HOST : tcp://docker:2375
@@ -30,18 +30,15 @@ build_debug:
30
30
script :
31
31
- docker build --pull -t "$CONTAINER_TEST_IMAGE" -f Dockerfile-debug .
32
32
when : on_failure
33
- #
34
- # test1:
35
- # stage: test
36
- # script:
37
- # - docker pull $CONTAINER_TEST_IMAGE
38
- # - docker run $CONTAINER_TEST_IMAGE /script/to/run/tests
39
- #
40
- # test2:
41
- # stage: test
42
- # script:
43
- # - docker pull $CONTAINER_TEST_IMAGE
44
- # - docker run $CONTAINER_TEST_IMAGE /script/to/run/another/test
33
+
34
+ test :
35
+ stage : test
36
+ script :
37
+ - docker run $CONTAINER_TEST_IMAGE ffmpeg -version
38
+ - docker run $CONTAINER_TEST_IMAGE ffmpeg -formats
39
+ - docker run $CONTAINER_TEST_IMAGE ffmpeg -codecs
40
+ - docker run $CONTAINER_TEST_IMAGE ffmpeg -encoders
41
+ - docker run $CONTAINER_TEST_IMAGE ffmpeg -decoders
45
42
46
43
release-image :
47
44
stage : release
@@ -51,10 +48,9 @@ release-image:
51
48
- docker push "$CONTAINER_RELEASE_IMAGE"
52
49
only :
53
50
- master
54
- #
55
- # deploy:
56
- # stage: deploy
57
- # script:
58
- # - ./deploy.sh
59
- # only:
60
- # - master
51
+
52
+ trigger_build :
53
+ stage : trigger
54
+ script :
55
+ - echo "Build aem-base"
56
+ - docker run appropriate/curl curl -X POST -F "token=2d698d490d34dbfe8cfb30791c76d4" -F "ref=$CI_COMMIT_REF_NAME" https://gitlab.com/api/v4/projects/7623229/trigger/pipeline
You can’t perform that action at this time.
0 commit comments