1
0
intel-media-ffmpeg/.gitlab-ci.yml
James Ketrenos fa52c35027 Updated to version being used in intel-compute-clinfo
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2019-12-18 09:49:22 -08:00

50 lines
879 B
YAML

stages:
- build
- test
- publish
# Required Input From Trigger
# OS_DISTRO: ex. ubuntu
# OS_RELEASE: ex. eoan
# PACKAGE_STREAM: ex. eoan
# BUILD: Agama Build number
# BRANCH: Agama CI branch (releases_*, master, embargo)
variables:
ci_enabled: "true"
CONTAINER: "intel-media-ffmpeg"
TARGET_TAG: "${OS_DISTRO}-${PACKAGE_STREAM}"
TAG: "${CI_PIPELINE_IID}-${CI_COMMIT_REF_NAME}-${OS_DISTRO}-${PACKAGE_STREAM}"
build_image:
stage: "build"
script:
- ./scripts/build-dockerfile.sh
- ./scripts/build-image.sh --no-cache
- ./scripts/push-image.sh
tags:
- builder
- ubuntu
only:
- triggers
test_image:
stage: "test"
script:
- ./scripts/test-image.sh
tags:
- gen9
only:
- triggers
publish_image:
stage: "publish"
script:
- ./scripts/push-rolling-image.sh
- ./scripts/remove-tag.sh
tags:
- builder
- ubuntu
only:
- triggers