Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jesse Morris
gmsl_frame_msg
Commits
b6703852
Commit
b6703852
authored
Apr 21, 2020
by
Stewart Worrall
Browse files
including gitlab file to trigger build
parent
cf6deae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
b6703852
image
:
acfr/ros-build:melodic
variables
:
ROS_DISTRO
:
"
melodic"
UBUNTU_DISTRO
:
"
bionic"
CI_SOURCE_PATH
:
"
$CI_PROJECT_DIR"
ROS_PARALLEL_JOBS
:
"
-j8
-l6"
GIT_DEPTH
:
"
3"
GIT_SUBMODULE_STRATEGY
:
"
recursive"
GIT_SSL_NO_VERIFY
:
"
true"
stages
:
-
build
#- test
#- deb
-
deploy
build
:
stage
:
build
script
:
-
wget http://acfr-ros-pro-1.srv.sydney.edu.au:4440/build-ros-deb.sh
-
chmod +x ./build-ros-deb.sh
-
./build-ros-deb.sh
artifacts
:
paths
:
-
debs
deploy
:
only
:
-
melodic
stage
:
deploy
dependencies
:
-
build
script
:
-
cd debs
-
if [ $CI_PROJECT_NAMESPACE == 'zio' ];
then find . -name '*.deb' -print0 | xargs -0 -n1 basename | while read DEB;
do dpkg-deb -I "$DEB" ;
curl -f -X POST -F file=@"$DEB" "http://aptly-submit:${APTLY_PASSWORD}@acfr-ros-pro-1.srv.sydney.edu.au:4441/api/files/incoming_pkgs_${ROS_DISTRO}" ;
curl -f -X POST "http://aptly-submit:${APTLY_PASSWORD}@acfr-ros-pro-1.srv.sydney.edu.au:4441/api/repos/zio-${ROS_DISTRO}/file/incoming_pkgs_${ROS_DISTRO}" ;
curl -f -X PUT "http://aptly-submit:${APTLY_PASSWORD}@acfr-ros-pro-1.srv.sydney.edu.au:4441/api/publish/zio-${ROS_DISTRO}/${UBUNTU_DISTRO}" ;
done ;
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment