Enable gitlab CI
Even though the overviewer repo is hosted on github, this new CI stuff is useful for mirrors of overviewer hosted on gitlab. To support package builds for a few distributions, a set of dockerfiles have been created.
This commit is contained in:
2
build-tools/dockerfiles/debian64/Dockerfile
Normal file
2
build-tools/dockerfiles/debian64/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM debian:jessie
|
||||
RUN apt-get -y update && apt-get -y install git build-essential python-numpy python-pil python-dev python-imaging python-all-dev devscripts wget
|
||||
11
build-tools/dockerfiles/debian64/Makefile
Normal file
11
build-tools/dockerfiles/debian64/Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
tag=debian64
|
||||
|
||||
build:
|
||||
docker build -t code.em32.net:14567/overviewer/minecraft-overviewer:$(tag) .
|
||||
|
||||
push:
|
||||
docker push code.em32.net:14567/overviewer/minecraft-overviewer:$(tag)
|
||||
|
||||
run:
|
||||
docker run --rm --privileged -it code.em32.net:14567/overviewer/minecraft-overviewer:$(tag) /bin/bash
|
||||
|
||||
5
build-tools/dockerfiles/debian64/changelog
Normal file
5
build-tools/dockerfiles/debian64/changelog
Normal file
@@ -0,0 +1,5 @@
|
||||
minecraft-overviewer ({VERSION}-0~overviewer1) unstable; urgency=low
|
||||
|
||||
* Automatically generated from Git: {DESC}
|
||||
|
||||
-- Aaron Griffith <agrif@overviewer.org> {DATE}
|
||||
1
build-tools/dockerfiles/debian64/compat
Normal file
1
build-tools/dockerfiles/debian64/compat
Normal file
@@ -0,0 +1 @@
|
||||
7
|
||||
13
build-tools/dockerfiles/debian64/control
Normal file
13
build-tools/dockerfiles/debian64/control
Normal file
@@ -0,0 +1,13 @@
|
||||
Source: minecraft-overviewer
|
||||
Maintainer: Aaron Griffith <agrif@overviewer.org>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: python-all-dev (>= 2.6), debhelper (>= 7.4.3), python-imaging, python-numpy
|
||||
Standards-Version: 3.9.1
|
||||
|
||||
Package: minecraft-overviewer
|
||||
Architecture: any
|
||||
Homepage: http://overviewer.org/
|
||||
XB-Python-Version: ${python:Versions}
|
||||
Depends: ${misc:Depends}, python2.7 | python2.6, python (>= 2.6), python (<< 2.8), python-imaging, python-numpy, ${shlibs:Depends}
|
||||
Description: Generates large resolution images of a Minecraft map.
|
||||
35
build-tools/dockerfiles/debian64/copyright
Normal file
35
build-tools/dockerfiles/debian64/copyright
Normal file
@@ -0,0 +1,35 @@
|
||||
This package was debianized by Aaron Griffith <agrif@overviewer.org>
|
||||
on Sat, 14 May 2011 14:21:24 -0400.
|
||||
|
||||
It was downloaded from http://github.com/overviewer/Minecraft-Overviewer
|
||||
|
||||
Upstream Author:
|
||||
|
||||
Andrew Brown <brownan@overviewer.org>
|
||||
|
||||
Files: *
|
||||
Copyright:
|
||||
2010-2011, Andrew Brown
|
||||
License: GPL
|
||||
|
||||
Files: debian/*
|
||||
Copyright:
|
||||
2011, Aaron Griffith
|
||||
License: GPL
|
||||
|
||||
License: GPL
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this package; if not, see .
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-3'
|
||||
8
build-tools/dockerfiles/debian64/generate_changelog.sh
Normal file
8
build-tools/dockerfiles/debian64/generate_changelog.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
NOW=`date '+%a, %d %b %Y %H:%M:%S +0000'`
|
||||
VER=`python2 setup.py --version`
|
||||
DESC=`git describe --tags`
|
||||
echo "minecraft-overviewer (${VER}-0~overviewer1) unstable; urgency=low"
|
||||
echo ""
|
||||
echo " * Automatically generated from Git: ${DESC}"
|
||||
echo ""
|
||||
echo " -- Aaron Griffith <agrif@overviewer.org> ${NOW}"
|
||||
9
build-tools/dockerfiles/debian64/rules
Executable file
9
build-tools/dockerfiles/debian64/rules
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# This file was automatically generated by stdeb 0.6.0+git at
|
||||
# Tue, 18 Sep 2012 22:13:53 -0400
|
||||
|
||||
%:
|
||||
dh $@ --with python2 --buildsystem=python_distutils
|
||||
|
||||
|
||||
1
build-tools/dockerfiles/debian64/source/format
Normal file
1
build-tools/dockerfiles/debian64/source/format
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
Reference in New Issue
Block a user