-
Notifications
You must be signed in to change notification settings - Fork 22
Dt e3 0 update #304
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
Open
SebastianKarpetaDev
wants to merge
105
commits into
master
Choose a base branch
from
dt-e3-0-update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Dt e3 0 update #304
Changes from all commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
fab7c08
pass :keep_netrc preference to the worker
svenfuchs f2e72af
Merge pull request #3 from travis-pro/sf-keep_netrc
svenfuchs 4a382f9
Added preferences method
cotsog 248945a
Added preferences method to User class too.
cotsog dc4a2be
Merge pull request #4 from travis-pro/dj-netrc-fix
cotsog 455b3f0
use config import for db setup
svenfuchs e8f725d
Update .travis.yml
svenfuchs f106d61
Don't include migrated jobs when calculating concurrency
drogus f88746a
Don't enqueue jobs that are migrated from .org
drogus 6d765e0
Put workspace_settings on payload
BanzaiMan ed7692e
Fix workspace_settings
BanzaiMan 4a1c644
Environment variables can be restricted to specified branch
piotr-travisci e9ffa09
Env model extended
piotr-travisci c2c73c8
Tests fixes
piotr-travisci 88f4609
Return type improvement
piotr-travisci 2936ca8
Test fixed
piotr-travisci 0b795d7
Test fix
piotr-travisci e51a0b0
Rename workspace_settings to workspace
BanzaiMan f64bddc
Don't count migrated jobs towards concurrency and don't enqueue them …
drogus f071b95
allow env vars to be hashes
svenfuchs 6f0b2a1
do not decrypt values that are not a String or Hash
svenfuchs b5baad3
Merge pull request #5 from travis-pro/sf-private
svenfuchs 4e2bad2
Revert "use config import for db setup"
svenfuchs 059fc53
Revert "Update .travis.yml"
svenfuchs 219e895
Merge pull request #196 from travis-ci/pd-oss-only-arm
pavel-d 41f93e4
Merge pull request #197 from travis-ci/pd-ibm-oss-only
pavel-d 899bd02
Allow IBM z builds for Open Source only
pavel-d b879509
Merge pull request #8 from travis-pro/pd-limit-z-queues
pavel-d 5f0a570
Revert "Allow IBM z builds for Open Source only"
pavel-d 11b9b24
Merge pull request #9 from travis-pro/revert-8-pd-limit-z-queues
pavel-d 8768efb
Merge pull request #199 from travis-ci/pd-limit-z-queues-public
pavel-d e5af52e
output a more useful message when decryption failed
svenfuchs afde6c8
remove all scheduler/limit codepath
svenfuchs 83cb0b0
Merge pull request #201 from travis-ci/default-cache
DamianSzymanski d2f4ff9
Merge branch 'master' of https://github.com/travis-pro/travis-scheduler
BanzaiMan 72b0fb6
Revert "Use OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING when encrypting"
svenfuchs 3854893
Merge remote-tracking branch 'origin/master'
svenfuchs 7b7b75c
Merge remote-tracking branch 'origin/master'
svenfuchs d82809f
Merge remote-tracking branch 'origin/master'
svenfuchs 7a52acc
add warning
svenfuchs e0a5134
allow setting queue size as env var
svenfuchs 3772b1d
fix msg key
svenfuchs 702876c
pass secrets to build
svenfuchs 901291f
do not try to decrypt non-string values
svenfuchs 1c0902c
Merge branch 'master' of https://github.com/travis-pro/travis-scheduler
piotr-travisci 2d0c097
incomming change
piotr-travisci 452ebcd
Merge branch 'master' of https://github.com/travis-ci/travis-scheduler
piotr-travisci 3c39d86
Merge branch 'master' of https://github.com/travis-ci/travis-scheduler
piotr-travisci 5534a6b
Merge branch 'master' of https://github.com/travis-ci/travis-scheduler
piotr-travisci 027b7b1
bump rake
svenfuchs 7816288
let capacities add up, no matter their type
svenfuchs e64b55d
Merge branch 'master' of https://github.com/travis-pro/travis-scheduler
BanzaiMan ed06036
unconditional build accept for enterprise
GbArc 86d81ac
Merge pull request #11 from travis-pro/ga-enterprise_cap
GbArc 4deb250
Merge remote-tracking branch 'pro/master'
eugene-travis 63814d7
empty commit to trigger a build
eugene-travis 28a5cb4
ruby encoder added (#13)
Tahsin-travis-ci a98610a
Revert "ruby encoder added (#13)" (#15)
Tahsin-travis-ci 7f5dfdc
Merge branch 'master' of https://github.com/travis-pro/travis-scheduler
Tahsin-travis-ci bea2d70
deploy on master
eugene-travis b0c526c
Merge pull request #16 from travis-pro/deploy
eugene-travis 817fc5e
newer docker
eugene-travis 388a525
Merge pull request #17 from travis-pro/deploy
eugene-travis 0da2b02
simplify deploy
eugene-travis 24c9756
type attribute
eugene-travis 5bbfc9c
Merge pull request #18 from travis-pro/deploy
eugene-travis 799ea4f
resolved conflicts
tahsin352 700c08c
Empty commit for allowing deployment
BanzaiMan 120b868
Merge branch 'master' of https://github.com/travis-pro/travis-scheduler
BanzaiMan 18c1c62
Empty commit for allowing deployment
BanzaiMan 1f132d0
Merge branch 'master' of https://github.com/travis-ci/travis-scheduler
BanzaiMan 5156cf6
Update OS for enterprise ship:docker
DamianSzymanski 2e89e78
security updates (#255)
GbArc d9f80dc
docker fix+trivy
GbArc fea81a6
trivy fix
GbArc 0ddc5e6
gh update
GbArc f01527f
added amqp queue check (flag AMQP_QUEUE_VALIDATION)
GbArc b9b568c
update to use latest docker
GbArc b8ad401
addressable -> 2.8.0
GbArc 3762a4f
hard limit (#266)
GbArc 61783a5
sharing envs to forks (#272)
GbArc bafcd03
slow scheduler fix (#273)
GbArc 00d8750
upgrade gems (#271)
makemp 8d1299b
using base repo key in forks if no custom key is available in base
GbArc b5ff0df
removed trivy
GbArc 31ac5ba
fixed ssh key specs
GbArc 58dbb78
rack update -> 2.2.3.1
GbArc f31e9a3
activerecord bump to 6.1.6.1
GbArc 0152ef2
image size reduction (#283)
GbArc 022eff3
merge from master (#288)
GbArc ae102f5
activerecord up to 6.1.7.2
GbArc 6bed9d0
updated matcher to allow priv repos for arm64,s390x in enterprise [sh…
gbarc-dt ec52f0a
Using proper key for forked secrets (#296)
GbArc 79d54c1
Stop jobs from being queued if the build has been cancelled (#298)
piccadilly-circus 7c7c654
Stages are not always used ship:docker (#299)
piccadilly-circus da76215
Stop build from not getting queued (#300)
piccadilly-circus d16a4b4
Restrict ruby gem-update version (#302)
piccadilly-circus ba23d18
Scheduler merge. Enterprise to master.
1d6f840
TravisCI Scheduler merge. Enterprise to master.
1044296
TravisCI Scheduler merge. Enterprise to master.
846ae7f
TravisCI Scheduler. New line issue.
cd7bd69
billing get corrected, job save removed
gbarc-dt 353bc62
dist updated to focal / ship:docker
gbarc-dt d3ce4e9
removed duplicates from dockerfile, moved exec-hooks / ship:docker
gbarc-dt 8cc1bfd
dockerfile split ship:docker
gbarc-dt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,36 @@ | ||
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/ | ||
ARG bundle_gems__contribsys__com | ||
RUN ( \ | ||
apt-get update ; \ | ||
apt-get upgrade -y ; \ | ||
apt-get install -y --no-install-recommends git make gcc g++ libpq-dev libjemalloc-dev libcurl4 \ | ||
&& rm -rf /var/lib/apt/lists/*; \ | ||
gem update --system; \ | ||
gem install bundler -v '2.3.24'; \ | ||
bundle config https://gems.contribsys.com/ $bundle_gems__contribsys__com; \ | ||
bundle config set without 'development test'; \ | ||
bundle install; \ | ||
bundle config --delete https://gems.contribsys.com; \ | ||
gem install --user-install executable-hooks \ | ||
apt-get remove -y gcc g++ make git perl && apt-get -y autoremove; \ | ||
bundle clean && rm -rf /app/vendor/bundle/ruby/2.7.0/cache/*; \ | ||
for i in `find /app/vendor/ -name \*.o -o -name \*.c -o -name \*.h`; do rm -f $i; done; \ | ||
) | ||
|
||
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 | ||
|
||
# throw errors if Gemfile has been modified since Gemfile.lock | ||
COPY . /app | ||
|
||
CMD ["bundle", "exec", "bin/sidekiq-pgbouncer", "${SIDEKIQ_CONCURRENCY:-5}", "${SIDEKIQ_QUEUE:-scheduler}"] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
double accept?
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.