I'm in the process of setting up bamboo, and I need to convert my .gitlab-ci.yml to bamboo yaml spec. Here is a simple one I'm starting with. If anyone has some suggestions, that would be great. Thanks
image: server:5000/build-centos76
.rpm: &rpm
- BRANCH_VERSION=${BRANCH_VERSION} BRANCH_NAME=${BRANCH_NAME} PARABUILD_CHANGE_LIST_NUMBER=$(cat .checkin-time) make -f Makefile.ops aws
cache: &global_cache
key: ${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}
paths:
- rpm/RPMS/x86_64/*
- .checkin-time
policy: pull
before_script:
- source .${CI_COMMIT_REF_NAME}.env || source .default.env
variables:
DOCKER_DRIVER: overlay2
stages:
- ci
- rpm
build:
stage: ci
script:
- rm -rf rpm .checkin-time
- /opt/bin/checkin-time > .checkin-time
- BRANCH_VERSION=${BRANCH_VERSION} BRANCH_NAME=${BRANCH_NAME} PARABUILD_CHANGE_LIST_NUMBER=$(cat .checkin-time) make -f Makefile.ops install
cache:
<<: *global_cache
policy: pull-push
overloon-rpm:
stage: rpm
only:
- release
script:
- *rpm
manual-rpm:
stage: rpm
when: manual
except:
- Main
- master
- /^SPRINT.*$/
- release
script:
- *rpm
shellcheck:
stage: ci
script:
- make -f Makefile.ops shellcheck
cache: {}