Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a538f66
.travis.yml: remove benchupload
efistokl Jan 17, 2019
990183f
.travis.yml: rename docker-engine -> docker-ce
efistokl Jan 17, 2019
497b740
Use older version of mongotalk
efistokl Jan 22, 2019
6884776
.travis.yml: remove odd comments
efistokl Jan 22, 2019
0cf083d
.travis.yml: remove sudo when doing pip install
efistokl Jan 22, 2019
ffa5ed9
.travis.yml: add sudo -H when doing pip install
efistokl Jan 22, 2019
2960739
.travis.yml: use regular python2 for pip install
efistokl Jan 22, 2019
77836dc
Dockerfile.osmo-smsc: install gnupgp2
efistokl Jan 22, 2019
5cd31df
debian/control: update dependencies names
efistokl Jan 22, 2019
36a0b64
Makefile: update dependency name pharo-vm-core -> pharo5-vm-core
efistokl Jan 22, 2019
9a7a90c
Dockerfile.prepare: update dependency names
efistokl Jan 23, 2019
3848811
Dockerfile.prepare: add a repository debian-security
efistokl Jan 23, 2019
7532cda
Makefile: add debian-security repo
efistokl Jan 23, 2019
4d02a0e
Dockerfile.osmo-smsc: update filenames for updated pharo-vm-core.
efistokl Jan 23, 2019
64cbd9d
deploy.sh: replace travis smalltalk version check: Pharo-4.0 -> Pharo…
efistokl Jan 24, 2019
78262dd
deploy.sh: add -x option to script
efistokl Jan 24, 2019
100a35a
debian-build.sh: don't build if it is not Pharo-5.0
efistokl Jan 24, 2019
bd9dbaf
debian-build.sh: set -x
efistokl Jan 24, 2019
a2f748e
rules: DESTDIR: $(PWD)/debian/tmp -> debian/tmp
efistokl Jan 24, 2019
40f9b0d
use pharo5-vm-nox binary.
efistokl Jan 25, 2019
2f92d57
Change version of mongotalk and voyage-stable.
efistokl Feb 5, 2019
4210bd4
test commit
efistokl Mar 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ sudo: required

os:
- linux
# - osx OSX doesn't come with a mongodb service

services:
- mongodb # Essential to what we do
Expand All @@ -18,14 +17,14 @@ addons:
- mongodb-org-server
- asciidoc
- dblatex
- docker-ce

before_install:
- sudo apt-get install -yy --no-install-recommends -o Dpkg::Options::="--force-confdef"
docker-engine osc rpm-common rpm pandoc libxml2-utils
osc rpm-common rpm pandoc libxml2-utils

install:
- pip install benchupload
- "sudo /opt/python/2.7.*/bin/python2 -m pip install -r ./integration-tests/requirements.txt"
- "sudo python2 -m pip install -r ./integration-tests/requirements.txt"

smalltalk:
- Pharo-5.0
Expand All @@ -40,13 +39,9 @@ script:
- sh ./docker/debian-build.sh
- bash deploy/deploy.sh

after_success:
- benchupload --dir=$SMALLTALK_CI_BUILD

after_failure:
- bash integration-tests/after_failure.sh
- bash deploy/after_failure.sh
- benchupload --dir=$SMALLTALK_CI_BUILD

env:
global:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all: build_clean package

NAME=OsmoSmsc
RDEPS_PARSE=`grep -r ^Depends debian/control | head -1 | sed -e "s/,//g" -e "s/Depends: //g" -e "s/\\\$${.*} //g" -e "s/ pharo.*\[.*\]//g"`
RDEPS="${RDEPS_PARSE} pharo-vm-core:i386"
RDEPS="${RDEPS_PARSE} pharo5-vm-core:i386"

.PHONY: build_clean install-rdepends
build_clean:
Expand All @@ -14,6 +14,7 @@ build_clean:
install-rdepends:
echo "deb http://download.opensuse.org/repositories/home:/zecke23/Debian_8.0/ ./" > /etc/apt/sources.list.d/obs.list
wget -O - http://download.opensuse.org/repositories/home:/zecke23/Debian_8.0/Release.key | apt-key add -
echo "deb http://security.debian.org/debian-security jessie/updates main" > /etc/apt/sources.list.d/debian-security.list
apt-get update
DEBIAN_FRONTEND=noninteractive echo $(RDEPS) | xargs apt-get install -y --no-install-recommends --force-yes

Expand Down
2 changes: 1 addition & 1 deletion README.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Scalable Smalltalk Short Message Center (SMSC)
eeScalable Smalltalk Short Message Center (SMSC)
----------------------------------------------

image:https://travis-ci.org/moiji-mobile/smsc.svg?branch=master["Build Status", link="https://travis-ci.org/moiji-mobile/smsc"] image:https://api.bob-bench.org/v1/badgeByUrl?branch=master&hosting=github&ci=travis-ci&repo=moiji-mobile%2Fsmsc["Test Status",link="https://bob-bench.org/r/gh/moiji-mobile/smsc"]
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Standards-Version: 3.9.5

Package: osmo-smsc
Architecture: any
Depends: ${misc:Depends}, image-launch, pharo-vm-core [!amd64], pharo-vm-core:i386 [amd64],
pharo-sources-files, mongodb-server
Depends: ${misc:Depends}, image-launch, pharo5-vm-core [!amd64], pharo5-vm-core:i386 [amd64],
pharo5-sources-files, mongodb-server
Description: osmo-smsc
Contains the pharo images for osmo-smsc.

Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ override_dh_auto_build:
# nothing...

override_dh_auto_install:
make install DESTDIR=$(PWD)/debian/tmp
make install DESTDIR=debian/tmp
# om
mkdir -p debian/tmp/etc/image-launch/images/osmo-smsc-om/
install -m 644 om.launch debian/tmp/etc/image-launch/images/osmo-smsc-om/image-launch.conf
Expand Down
2 changes: 1 addition & 1 deletion delivery.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VM_BIN=/usr/bin/pharo-vm-nox
VM_BIN=/usr/bin/pharo5-vm-nox
VM_ARGUMENTS=
IMAGE_ARGS="--vncport=3 --vncpassword=CHANGE --db-host=127.0.0.1 --jobs=13"
IMAGE=/var/lib/pharo-images/OsmoSmsc.image
Expand Down
4 changes: 2 additions & 2 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

set -eu
set -eux

if [ "${TRAVIS_SMALLTALK_VERSION}" != "Pharo-4.0" ]; then
if [ "${TRAVIS_SMALLTALK_VERSION}" != "Pharo-5.0" ]; then
exit 0
fi

Expand Down
14 changes: 7 additions & 7 deletions docker/Dockerfile.osmo-smsc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian

RUN dpkg --add-architecture i386 && \
DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget make
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends wget make gnupg2

RUN mkdir -p /tmp/osmo-smsc

Expand All @@ -11,13 +11,13 @@ ADD ./ /tmp/osmo-smsc
RUN make -C /tmp/osmo-smsc/ install-rdepends install && rm -rf /tmp/osmo-smsc

# reuse the start script
RUN cp /usr/bin/pharo-vm-nox /usr/bin/pharo-vm-nox.bak && \
dpkg --purge pharo-vm-core && \
mv /usr/bin/pharo-vm-nox.bak /usr/bin/pharo-vm-nox
RUN cp /usr/bin/pharo5-vm-nox /usr/bin/pharo5-vm-nox.bak && \
dpkg --purge pharo5-vm-core && \
mv /usr/bin/pharo5-vm-nox.bak /usr/bin/pharo5-vm-nox

COPY pharo-vm/*.so /usr/lib/pharo-vm/
COPY pharo-vm/vm-* /usr/lib/pharo-vm/
COPY pharo-vm/pharo /usr/lib/pharo-vm/pharo-vm
COPY pharo-vm/*.so /usr/lib/pharo5-vm/
COPY pharo-vm/vm-* /usr/lib/pharo5-vm/
COPY pharo-vm/pharo /usr/lib/pharo5-vm/pharo-vm

RUN ln -s /usr/lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/share/osmo-smsc/links/libcrypto.so && \
ln -s /usr/share/osmo-smsc/scripts/om /usr/share/osmo-smsc/template/om/launch.d/99-om && \
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.prepare
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM debin_wget

RUN echo "deb http://download.opensuse.org/repositories/home:/zecke23/Debian_8.0/ ./" > /etc/apt/sources.list.d/obs.list && \
echo "deb http://security.debian.org/debian-security jessie/updates main" > /etc/apt/sources.list.d/debian-security.list && \
dpkg --add-architecture i386 && \
DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes --no-install-recommends gcc-4.9-base:i386 libasound2:i386 libasound2-data libc6 libc6:i386 \
Expand All @@ -11,4 +12,4 @@ dpkg --add-architecture i386 && \
libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 \
libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 \
libxshmfence1:i386 libxxf86vm1:i386 udev x11-common zlib1g:i386 \
image-launch pharo-sources-files pharo-vm-core:i386 runit
image-launch pharo5-sources-files pharo5-vm-core:i386 runit
4 changes: 2 additions & 2 deletions docker/debian-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

set -eu
set -eux

if [ x"${TRAVIS_SMALLTALK_VERSION}" != x"Pharo-4.0" ]; then
if [ x"${TRAVIS_SMALLTALK_VERSION}" != x"Pharo-5.0" ]; then
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion inserter.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VM_BIN=/usr/bin/pharo-vm-nox
VM_BIN=/usr/bin/pharo5-vm-nox
VM_ARGUMENTS=
IMAGE_ARGS="--vncport=1 --vncpassword=CHANGE --db-host=127.0.0.1"
IMAGE=/var/lib/pharo-images/OsmoSmsc.image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ baseline: spec

spec for: #'common' do: [
spec baseline: 'VoyageMongo' with: [
spec repository: 'github://pharo-nosql/voyage:47d4673e871f086e0be5fc3a0235e17dbf56e2ad/mc'].
spec repository: 'github://zecke/voyage-stable:1.3.1-patch/mc'].
spec baseline: 'MongoTalk' with: [
spec repository: 'github://pharo-nosql/mongotalk/mc'].
spec repository: 'github://zecke/mongotalk:0d05850bb7af9e650f29042ec5b074b9ed0ac719/mc'].
spec project: 'SMPP' with: [
spec
className: #ConfigurationOfSMPP;
Expand Down
2 changes: 1 addition & 1 deletion om.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VM_BIN=/usr/bin/pharo-vm-nox
VM_BIN=/usr/bin/pharo5-vm-nox
VM_ARGUMENTS=
IMAGE_ARGS="--vncport=1 --vncpassword=CHANGE --rest-port=1700 --db-host=127.0.0.1"
IMAGE=/var/lib/pharo-images/OsmoSmsc.image
Expand Down