Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions Bump #184

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
20cad09
Updated docker image version from 16 to 21
galek Mar 1, 2021
dd1a14b
Amend
galek Mar 8, 2021
cfe0d7a
zmq update
galek Mar 8, 2021
54460e6
UPD: version bump, BE
galek Mar 8, 2021
e17007f
UPD: depends, BE
galek Mar 8, 2021
676e088
Revert "UPD: depends, BE"
galek Mar 8, 2021
acfe6b7
UPD: dump version of package
galek Mar 8, 2021
507aea3
FIX: building
galek Mar 8, 2021
84cf25e
UPD: deps
galek Mar 8, 2021
4a0d69d
UPD: versions bump
galek Mar 8, 2021
09408af
UPD: Version bumps
galek Mar 8, 2021
991bec1
UPD: added privileged mode for adb
galek Mar 9, 2021
00da923
UPD: depends
galek Mar 9, 2021
0ceb8f1
UPD: depends
galek Mar 9, 2021
235ebf1
UPD: deps is updated
galek Mar 9, 2021
2bdb992
UPD: deps
galek Mar 9, 2021
3b0ad3e
UPD: webpack-dev-server
galek Mar 9, 2021
89548aa
UPD: deps
galek Mar 9, 2021
af336bc
UPD: deps
galek Mar 9, 2021
d5796e5
UPD: Sinin is updated
galek Mar 9, 2021
04c2356
UPD: versions is locked
galek Mar 9, 2021
d26570c
UPD: versions locked
galek Mar 9, 2021
80e45e1
UPD: Karma has been updated
galek Mar 9, 2021
3617535
UPD: Deps
galek Mar 9, 2021
1538b0d
UPD: deps
galek Mar 9, 2021
424c5af
Updated docker image version from 16 to 21
galek Mar 1, 2021
215148c
Amend
galek Mar 8, 2021
ddc521a
zmq update
galek Mar 8, 2021
5ecbead
UPD: version bump, BE
galek Mar 8, 2021
2ebf253
UPD: depends, BE
galek Mar 8, 2021
b46fcaa
Revert "UPD: depends, BE"
galek Mar 8, 2021
99852ee
FIX: building
galek Mar 8, 2021
ff1843a
UPD: deps
galek Mar 8, 2021
db5138e
UPD: versions bump
galek Mar 8, 2021
0addfed
UPD: Version bumps
galek Mar 8, 2021
d8f3942
UPD: added privileged mode for adb
galek Mar 9, 2021
e1493eb
UPD: depends
galek Mar 9, 2021
8a86e03
UPD: depends
galek Mar 9, 2021
93989f9
UPD: deps is updated
galek Mar 9, 2021
ca14804
UPD: deps
galek Mar 9, 2021
ce8d1c9
UPD: webpack-dev-server
galek Mar 9, 2021
f008193
UPD: deps
galek Mar 9, 2021
868a368
UPD: deps
galek Mar 9, 2021
508458f
UPD: Sinin is updated
galek Mar 9, 2021
b9084b0
UPD: versions is locked
galek Mar 9, 2021
cb27edf
UPD: versions locked
galek Mar 9, 2021
3dba075
UPD: Karma has been updated
galek Mar 9, 2021
fbd8e2b
UPD: Deps
galek Mar 9, 2021
24b92a6
UPD: deps
galek Mar 9, 2021
ccc1058
Merge branch 'DeviceFarmer-master'
galek Mar 9, 2021
c3b86bb
Merged 3.6.1 to my version
galek Mar 14, 2021
957cb87
Reverted 3.6.1 to my version
galek Mar 14, 2021
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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.16.1
9.9.0
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 8.16.1
nodejs 9.9.0
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 3.6.1 (2021-03-11)

### Fixes

- Revert adbkit upgrade

## 3.6.0 (2021-03-09)

### Fixes
Expand All @@ -8,7 +14,7 @@

### Enhancements

- Update dependency versions, including adbkit rewritten in TypeScript
- Update dependency versions

## 3.5.0 (2020-10-18)

Expand Down
80 changes: 40 additions & 40 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:16.04
FROM ubuntu:latest

# Sneak the stf executable into $PATH.
ENV PATH /app/bin:$PATH
Expand All @@ -15,57 +15,57 @@ EXPOSE 3000
# installs development files for node-gyp so that npm install won't have to
# wait for them on the first native module installation.
RUN export DEBIAN_FRONTEND=noninteractive && \
useradd --system \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why formatting here is changed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the auto-formatting

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your PR does not pass CI build.
Can you provide more information, or main error it's missing signing?

also sign off is missing
Okay, 5 mins

--create-home \
--shell /usr/sbin/nologin \
stf-build && \
useradd --system \
--create-home \
--shell /usr/sbin/nologin \
stf && \
sed -i'' 's@http://archive.ubuntu.com/ubuntu/@mirror://mirrors.ubuntu.com/mirrors.txt@' /etc/apt/sources.list && \
apt-get update && \
apt-get -y install wget python build-essential && \
cd /tmp && \
wget --progress=dot:mega \
https://nodejs.org/dist/v8.9.3/node-v8.9.3-linux-x64.tar.xz && \
tar -xJf node-v*.tar.xz --strip-components 1 -C /usr/local && \
rm node-v*.tar.xz && \
su stf-build -s /bin/bash -c '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js install' && \
apt-get -y install libzmq3-dev libprotobuf-dev git graphicsmagick openjdk-8-jdk yasm && \
apt-get clean && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/* && \
mkdir /tmp/bundletool && \
cd /tmp/bundletool && \
wget --progress=dot:mega \
https://github.com/google/bundletool/releases/download/1.2.0/bundletool-all-1.2.0.jar && \
mv bundletool-all-1.2.0.jar bundletool.jar
useradd --system \
--create-home \
--shell /usr/sbin/nologin \
stf-build && \
useradd --system \
--create-home \
--shell /usr/sbin/nologin \
stf && \
sed -i'' 's@http://archive.ubuntu.com/ubuntu/@mirror://mirrors.ubuntu.com/mirrors.txt@' /etc/apt/sources.list && \
apt-get update && \
apt-get -y install wget python build-essential cmake && \
cd /tmp && \
wget --progress=dot:mega \
https://nodejs.org/dist/v9.9.0/node-v9.9.0-linux-x64.tar.xz && \
tar -xJf node-v*.tar.xz --strip-components 1 -C /usr/local && \
rm node-v*.tar.xz && \
su stf-build -s /bin/bash -c '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js install' && \
apt-get -y install libzmq3-dev libprotobuf-dev git graphicsmagick openjdk-8-jdk yasm && \
apt-get clean && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/* && \
mkdir /tmp/bundletool && \
cd /tmp/bundletool && \
wget --progress=dot:mega \
https://github.com/google/bundletool/releases/download/1.2.0/bundletool-all-1.2.0.jar && \
mv bundletool-all-1.2.0.jar bundletool.jar

# Copy app source.
COPY . /tmp/build/

# Give permissions to our build user.
RUN mkdir -p /app && \
chown -R stf-build:stf-build /tmp/build /tmp/bundletool /app
chown -R stf-build:stf-build /tmp/build /tmp/bundletool /app

# Switch over to the build user.
USER stf-build

# Run the build.
RUN set -x && \
cd /tmp/build && \
export PATH=$PWD/node_modules/.bin:$PATH && \
npm install --loglevel http && \
npm pack && \
tar xzf devicefarmer-stf-*.tgz --strip-components 1 -C /app && \
bower cache clean && \
npm prune --production && \
mv node_modules /app && \
rm -rf ~/.node-gyp && \
mkdir /app/bundletool && \
mv /tmp/bundletool/* /app/bundletool && \
cd /app && \
find /tmp -mindepth 1 ! -regex '^/tmp/hsperfdata_root\(/.*\)?' -delete
cd /tmp/build && \
export PATH=$PWD/node_modules/.bin:$PATH && \
npm install --loglevel http && \
npm pack && \
tar xzf devicefarmer-stf-*.tgz --strip-components 1 -C /app && \
bower cache clean && \
npm prune --production && \
mv node_modules /app && \
rm -rf ~/.node-gyp && \
mkdir /app/bundletool && \
mv /tmp/bundletool/* /app/bundletool && \
cd /app && \
find /tmp -mindepth 1 ! -regex '^/tmp/hsperfdata_root\(/.*\)?' -delete

# Switch to the app user.
USER stf
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3"
services:
rethinkdb:
container_name: rethinkdb
image: rethinkdb:2.3
image: rethinkdb:latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use fixed version.
It is ok to update to 2.4.1 but not to latest.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay

restart: unless-stopped
volumes:
- "rethinkdb-data:/data"
Expand All @@ -12,6 +12,7 @@ services:
adb:
container_name: adb
image: devicefarmer/adb:latest
privileged: true
restart: unless-stopped
volumes:
- "/dev/bus/usb:/dev/bus/usb"
Expand Down
Loading