-
Notifications
You must be signed in to change notification settings - Fork 48
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
Hub update by merging enterprise. #268
base: master
Are you sure you want to change the base?
Changes from 22 commits
d751c76
f32e097
dba772b
4a45188
459ff15
52f92b6
e0713ce
dd4c864
66306ac
bf05deb
64090a8
dd28822
ef8cd2d
b766d14
51352c2
5cc249d
0046d20
aacc142
69c0f1d
58df241
ba0d095
30aab1c
348d708
f39447a
24fd60e
61e3ee9
dd22381
44e837e
4fc31b5
c88df50
9398f87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
language: ruby | ||
group: edge | ||
|
||
import: | ||
- travis-ci/build-configs:[email protected] | ||
|
@@ -23,6 +24,8 @@ services: | |
- rabbitmq | ||
|
||
before_install: | ||
- gem uninstall -v '>=2' -i $(rvm gemdir)@global -ax bundler || true | ||
- gem install bundler -v '2.3.7' | ||
- bundle config https://gems.contribsys.com/ $BUNDLE_GEMS__CONTRIBSYS__COM | ||
- gem install bundler -v 2.4.14 | ||
|
||
|
@@ -34,10 +37,6 @@ jobs: | |
dist: bionic | ||
ruby: | ||
services: | ||
addons: | ||
snaps: | ||
- name: docker | ||
channel: latest/beta | ||
before_install: echo "skipping" | ||
install: echo "skipping" | ||
before_sript: skip | ||
|
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ source 'https://rubygems.org' | |
|
||
ruby '3.2.2' | ||
|
||
gem 'sidekiq-pro', source: 'https://gems.contribsys.com' | ||
gem 'sidekiq-pro', '~> 5.1.1', source: 'https://gems.contribsys.com' | ||
gem 'sidekiq', '~> 6.4' | ||
|
||
gem 'travis-exceptions', git: 'https://github.com/travis-ci/travis-exceptions' | ||
gem 'travis-logger', git: 'https://github.com/travis-ci/travis-logger' | ||
|
@@ -16,7 +17,7 @@ gem 'travis-support', git: 'https://github.com/travis-ci/travis-support' | |
gem 'metriks', git: 'https://github.com/travis-ci/metriks' | ||
gem 'metriks-librato_metrics', git: 'https://github.com/travis-ci/metriks-librato_metrics' | ||
|
||
gem 'marginalia', git: 'https://github.com/travis-ci/marginalia' | ||
gem 'marginalia', git: 'https://github.com/travis-ci/marginalia', branch: '5.x' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. keep marginalia from master There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
gem 'activerecord', '~> 7' | ||
gem 'bunny' | ||
|
@@ -26,9 +27,10 @@ gem 'pg', '~> 1' | |
gem 'rake' | ||
gem 'redis' | ||
gem 'rollout', git: 'https://github.com/travis-ci/rollout' | ||
gem 'addressable', '~> 2.8.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2.8.6 is on master There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
gem 'coder' | ||
gem 'gh', git: 'https://github.com/travis-ci/gh' | ||
gem 'gh', git: 'https://github.com/travis-ci/gh', branch: 'tcie3-0_15_2' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. here keep master, it's newer There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
gem 'keen' | ||
gem 'multi_json' | ||
gem 'redlock' | ||
|
@@ -47,7 +49,7 @@ group :test do | |
gem 'mocha', '~> 2' | ||
gem 'pry' | ||
gem 'rack-test' | ||
gem 'rspec', '~> 3.12' | ||
gem 'rspec', '~> 3.12', '~> 2.3.2' | ||
gem 'sinatra-contrib' | ||
gem 'webmock' | ||
end | ||
|
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=$@ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep versions from master, there's sidekiq-pro / sidekiq 7.2.0,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.