-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update OS for enterprise ship:docker * Update travis yml ship:docker * email handler - ignore case * Ext gem update (#250) * security updates * revert activerecord from 5 to 4 * bundler version * rack,sinatra,activerecord update (#252) * docker fix+trivy * trivy fix * gh update * update to use latest docker * Upgrade gems (#255) * proper logging for sidekiq * minimum for Ruby 2.5.9 + safe sidekiq * bump webmock * Trying with ruby-2.7.5 * force bundler to 2.3.7 * bundler in dockerfile * jemallock fix * Jemmaloc 1.1.3 * new sidekiq does not have -i/--index option * sidekiq pro 5.1.1 * join if respond_to * Ruby 2.5.9 * changes in API for Redis Co-authored-by: Maciej Kempin <[email protected]> * gem updates (#258) * removed trivy' * rack update -> 2.2.3.1 * global webhook urls from installation config (#259) * activerecord bump * image size reduction [ship:docker] (#260) * merge from master (#261) * merge from master * ship:docker * sinatra update to 2.2.3 (#262) * jemalloc/gh rev fix ship:docker * Update Gemfile * Hub merge. Enterprise to master. * Hub merge. Enterprise to master. * Hub merge. Enterprise to master. * Hub merge. Enterprise to master. * Delete Gemfile.lock.origin * Hub merge. Enterprise to master. * dist up to focal, ship:docker * removed duplicate method * spec- removed duplicated * Update build db --------- Co-authored-by: Damian Szymanski <[email protected]> Co-authored-by: gabriel-arc <[email protected]> Co-authored-by: gabriel-arc <[email protected]> Co-authored-by: Maciej Kempin <[email protected]> Co-authored-by: Maciej Kempin <[email protected]> Co-authored-by: GbArc <[email protected]> Co-authored-by: Sebastian Karpeta <[email protected]> Co-authored-by: SebastianKarpetaDev <[email protected]>
- Loading branch information
1 parent
71842b2
commit d4415ad
Showing
13 changed files
with
88 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM ruby:3.2.2-slim | ||
|
||
LABEL maintainer Travis CI GmbH <[email protected]> | ||
|
||
RUN ( \ | ||
bundle config set no-cache 'true'; \ | ||
bundle config --global frozen 1; \ | ||
bundle config set deployment 'true'; \ | ||
mkdir -p /app; \ | ||
) | ||
|
||
WORKDIR /app | ||
|
||
COPY Gemfile /app | ||
COPY Gemfile.lock /app | ||
ARG bundle_gems__contribsys__com | ||
|
||
RUN ( \ | ||
apt-get update ; \ | ||
apt-get upgrade -y ; \ | ||
apt-get install -y git make gcc g++ libpq-dev curl \ | ||
&& rm -rf /var/lib/apt/lists/*; \ | ||
curl -sLO http://ppa.launchpad.net/rmescandon/yq/ubuntu/pool/main/y/yq/yq_3.1-2_amd64.deb && \ | ||
dpkg -i yq_3.1-2_amd64.deb && \ | ||
rm -f yq_3.1-2_amd64.deb; \ | ||
gem install bundler -v '2.3.14'; \ | ||
bundle config https://gems.contribsys.com/ $bundle_gems__contribsys__com \ | ||
&& bundle config set without 'development test' \ | ||
&& bundle install --deployment \ | ||
&& bundle config --delete https://gems.contribsys.com/; \ | ||
apt-get remove -y gcc g++ make git perl && apt-get -y autoremove; \ | ||
bundle clean && rm -rf /app/vendor/bundle/ruby/2.5.0/cache/*; \ | ||
rm -rf /usr/local/bundle/cache/\*.gem; \ | ||
find /usr/local/bundle/gems/ \( -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.o' \) -delete; \ | ||
find /app/vendor/ \( -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.o' \) -delete; \ | ||
) | ||
|
||
COPY . /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#!/bin/bash | ||
|
||
index=$(echo ${DYNO:-1} | sed 's/.*\.//') | ||
threads=$1 | ||
shift | ||
queues=$@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters