Compare commits
2 Commits
db4424eb59
...
1355d589f5
Author | SHA1 | Date |
---|---|---|
Thomas Carmet | 1355d589f5 | |
Taylor McKinnon | d71cb8df04 |
26
eve/main.yml
26
eve/main.yml
|
@ -27,13 +27,30 @@ models:
|
||||||
source: /artifacts
|
source: /artifacts
|
||||||
urls:
|
urls:
|
||||||
- "*"
|
- "*"
|
||||||
|
- ShellCommand: &fetch_lfs
|
||||||
|
name: fetch lfs files
|
||||||
|
usePTY: True
|
||||||
|
command: >
|
||||||
|
set -exv;
|
||||||
|
unset HTTPS_PROXY;
|
||||||
|
unset HTTP_PROXY;
|
||||||
|
unset http_proxy;
|
||||||
|
unset https_proxy;
|
||||||
|
git lfs fetch;
|
||||||
|
git lfs pull;
|
||||||
|
haltOnFailure: True
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
pre-merge:
|
pre-merge:
|
||||||
worker:
|
worker:
|
||||||
type: local
|
type: local
|
||||||
steps:
|
steps:
|
||||||
|
- ShellCommand:
|
||||||
|
name: Pull LFS content on Master build
|
||||||
|
command: |
|
||||||
|
git lfs fetch
|
||||||
|
git lfs pull
|
||||||
|
workdir: "%(prop:master_builddir)s/build"
|
||||||
- TriggerStages:
|
- TriggerStages:
|
||||||
name: trigger all the tests
|
name: trigger all the tests
|
||||||
stage_names:
|
stage_names:
|
||||||
|
@ -49,6 +66,7 @@ stages:
|
||||||
worker: *workspace
|
worker: *workspace
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: run static analysis tools on markdown
|
name: run static analysis tools on markdown
|
||||||
command: yarn run lint_md
|
command: yarn run lint_md
|
||||||
|
@ -66,6 +84,7 @@ stages:
|
||||||
worker: *workspace
|
worker: *workspace
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: run client tests
|
name: run client tests
|
||||||
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash false ft_test:client
|
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash false ft_test:client
|
||||||
|
@ -77,6 +96,7 @@ stages:
|
||||||
worker: *workspace
|
worker: *workspace
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: run server tests
|
name: run server tests
|
||||||
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash false ft_test:server
|
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash false ft_test:server
|
||||||
|
@ -88,6 +108,7 @@ stages:
|
||||||
worker: *workspace
|
worker: *workspace
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: run cron tests
|
name: run cron tests
|
||||||
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash false ft_test:cron
|
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash false ft_test:cron
|
||||||
|
@ -99,6 +120,7 @@ stages:
|
||||||
worker: *workspace
|
worker: *workspace
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: run interval tests
|
name: run interval tests
|
||||||
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash true ft_test:interval
|
command: bash ./eve/workers/unit_and_feature_tests/run_ft_tests.bash true ft_test:interval
|
||||||
|
@ -113,6 +135,7 @@ stages:
|
||||||
vault: enabled
|
vault: enabled
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: Wait for Warp 10
|
name: Wait for Warp 10
|
||||||
command: |
|
command: |
|
||||||
|
@ -143,6 +166,7 @@ stages:
|
||||||
vault: enabled
|
vault: enabled
|
||||||
steps:
|
steps:
|
||||||
- Git: *clone
|
- Git: *clone
|
||||||
|
- ShellCommand: *fetch_lfs
|
||||||
- ShellCommand:
|
- ShellCommand:
|
||||||
name: Wait for Warp 10
|
name: Wait for Warp 10
|
||||||
command: |
|
command: |
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM buildpack-deps:jessie-curl
|
FROM buildpack-deps:focal-curl
|
||||||
|
|
||||||
#
|
#
|
||||||
# Install apt packages needed by utapi and buildbot_worker
|
# Install apt packages needed by utapi and buildbot_worker
|
||||||
|
@ -19,11 +19,11 @@ RUN wget https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x6
|
||||||
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
&& echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||||
&& apt-get update -qq \
|
&& apt-get update -qq \
|
||||||
&& cat /tmp/*packages.list | xargs apt-get install -y \
|
&& cat /tmp/*packages.list | xargs apt-get install -y \
|
||||||
&& pip install pip==9.0.1 \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& rm -f /tmp/*packages.list \
|
&& rm -f /tmp/*packages.list \
|
||||||
&& rm -f /etc/supervisor/conf.d/*.conf \
|
&& rm -f /etc/supervisor/conf.d/*.conf \
|
||||||
&& rm -f node-v${NODE_VERSION}-linux-x64.tar.gz
|
&& rm -f node-v${NODE_VERSION}-linux-x64.tar.gz
|
||||||
|
# && pip install pip==9.0.1 \
|
||||||
|
|
||||||
#
|
#
|
||||||
# Install yarn dependencies
|
# Install yarn dependencies
|
||||||
|
@ -39,9 +39,11 @@ RUN yarn cache clean \
|
||||||
#
|
#
|
||||||
ARG BUILDBOT_VERSION
|
ARG BUILDBOT_VERSION
|
||||||
|
|
||||||
RUN pip install buildbot-worker==$BUILDBOT_VERSION
|
RUN pip3 install \
|
||||||
RUN pip3 install requests
|
buildbot-worker==$BUILDBOT_VERSION \
|
||||||
RUN pip3 install redis
|
requests \
|
||||||
|
redis
|
||||||
|
|
||||||
ADD eve/workers/unit_and_feature_tests/supervisor/buildbot_worker.conf /etc/supervisor/conf.d/
|
ADD eve/workers/unit_and_feature_tests/supervisor/buildbot_worker.conf /etc/supervisor/conf.d/
|
||||||
ADD eve/workers/unit_and_feature_tests/redis/sentinel.conf /etc/sentinel.conf
|
ADD eve/workers/unit_and_feature_tests/redis/sentinel.conf /etc/sentinel.conf
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
ca-certificates
|
ca-certificates
|
||||||
git
|
git
|
||||||
|
git-lfs
|
||||||
libffi-dev
|
libffi-dev
|
||||||
libssl-dev
|
libssl-dev
|
||||||
python2.7
|
python3-dev
|
||||||
python2.7-dev
|
python3-pip
|
||||||
python-pip
|
|
||||||
sudo
|
sudo
|
||||||
supervisor
|
supervisor
|
||||||
lsof
|
lsof
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
|
@ -21,7 +21,7 @@ RUN wget https://github.com/just-containers/s6-overlay/releases/download/v${S6_V
|
||||||
&& rm -rf /tmp/s6-overlay-amd64.tar.gz
|
&& rm -rf /tmp/s6-overlay-amd64.tar.gz
|
||||||
|
|
||||||
# Install protobuf extestion
|
# Install protobuf extestion
|
||||||
ADD https://dl.bintray.com/senx/maven/io/warp10/warp10-ext-protobuf/1.1.0-uberjar/warp10-ext-protobuf-1.1.0-uberjar.jar /opt/warp10/lib/
|
ADD ./images/warp10/warp10-ext-protobuf-1.2.2-uberjar.jar /opt/warp10/lib/
|
||||||
|
|
||||||
ADD ./images/warp10/s6 /etc
|
ADD ./images/warp10/s6 /etc
|
||||||
ADD ./warpscript /usr/local/share/warpscript
|
ADD ./warpscript /usr/local/share/warpscript
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:389d2135867c399a389901460c5f2cc09f4857d0c6d08632c2638c25fb150c46
|
||||||
|
size 15468553
|
Loading…
Reference in New Issue