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

Release 2024 07 24 #315

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Release 2024 07 24 #315

merged 1 commit into from
Jul 24, 2024

Conversation

DominikAlberski
Copy link
Contributor

TBT-84 Enterprise merge (#314)

* pass :keep_netrc preference to the worker

* Added preferences method

* Added preferences method to User class too.

* use config import for db setup

* Update .travis.yml

* Don't include migrated jobs when calculating concurrency

When we migrate a build history it's possible that some jobs are still
running on .org. We shouldn't count them towards concurrency limits
because they're technically running on .org

* Don't enqueue jobs that are migrated from .org

When we migrate build history some of the builds may be in the created
state. We don't want to enqueue them as then they would be running on
both platforms.

* Put workspace_settings on payload

* Fix workspace_settings

ws_config is a Hashr, which doesn't have `#key?`

* Environment variables can be restricted to specified branch

* Env model extended

* Tests fixes

* Return type improvement

* Test fixed

* Test fix

* Rename workspace_settings to workspace

*_settings is redundant.

* Don't count migrated jobs towards concurrency and don't enqueue them (#190)

I've already attempted it to fix the problem in 01139a4, but I only
fixed one code path, which is currently not used, so the changes didn't
go into effect. This commit applies the changes to the other code path
as well.

The reason we need to do it is because when we migrate jobs from .org to
.com they might still be in a state that is considered by gatekeeper. So
they might be started but they're running on .org not .com, thus we
shouldn't count them as running on .com. The same with new jobs - we
don't want to start them as they would start on .org anyway.

I decided to filter these jobs in code instead of in the database
because the number of jobs that we fetch from the database is relatively
small and if I had to do it in the DB I would have to always join jobs
with repositories, which actually might be slower.

* allow env vars to be hashes

* do not decrypt values that are not a String or Hash

* Revert "use config import for db setup"

This reverts commit 455b3f0.

* Revert "Update .travis.yml"

This reverts commit e8f725d.

* Merge pull request #196 from travis-ci/pd-oss-only-arm

Allow ARM builds for Open Source only

* Merge pull request #197 from travis-ci/pd-ibm-oss-only

Allow IBM power builds for Open Source only

* Allow IBM z builds for Open Source only

* Revert "Allow IBM z builds for Open Source only"

* Merge pull request #199 from travis-ci/pd-limit-z-queues-public

Allow IBM z builds for Open Source only

* output a more useful message when decryption failed

* remove all scheduler/limit codepath

* Merge pull request #201 from travis-ci/default-cache

Return default cache and workspace settings

* Revert "Use OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING when encrypting"

This reverts commit f4db705.

* add warning

* allow setting queue size as env var

* fix msg key

* pass secrets to build

* do not try to decrypt non-string values

* incomming change

* bump rake

* let capacities add up, no matter their type

* unconditional build accept for enterprise

* empty commit to trigger a build

* ruby encoder added (#13)

Co-authored-by: Tahsin Hasan <[email protected]>

* Revert "ruby encoder added (#13)" (#15)

This reverts commit 28a5cb4.

* deploy on master

* newer docker

* simplify deploy

* type attribute

* Empty commit for allowing deployment

* Empty commit for allowing deployment

* Update OS for enterprise ship:docker

* security updates (#255)

* docker fix+trivy

* trivy fix

* gh update

* added amqp queue check (flag AMQP_QUEUE_VALIDATION)

* update to use latest docker

* addressable -> 2.8.0

* hard limit (#266)

* handling hard_limit from config

* sharing envs to forks (#272)

* repo settings merge from master

* slow scheduler fix (#273)

* scheduler performance issue fix

* upgrade gems (#271)

* upgrade gems

* Do not cache bundler

* force bundler -v 2.3.7

* sharing envs to forks (#272)

* repo settings merge from master

* slow scheduler fix (#273)

* scheduler performance issue fix

* New sidekiq does not have -i / --index option

* Force timestamp

* Parse config if it is a string

Co-authored-by: Maciej <[email protected]>
Co-authored-by: gabriel-arc <[email protected]>

* using base repo key in forks if no custom key is available in base

* removed trivy

* fixed ssh key specs

* rack update -> 2.2.3.1

* activerecord bump to 6.1.6.1

* image size reduction (#283)

* merge from master (#288)

* merge from master 14.11.22

* ship:docker

* bundler updated to 2.3.24

* activerecord up to 6.1.7.2

* updated matcher to allow priv repos for arm64,s390x in enterprise [ship:docker]

* Using proper key for forked secrets (#296)

* Stop jobs from being queued if the build has been cancelled (#298)

Stop cancelled build jobs from being queued

* Stages are not always used ship:docker (#299)

* Stop build from not getting queued (#300)

queue the job if there is an exception

* Restrict ruby gem-update version (#302)

Restrict ruby gem-update to 3.4.22 because it still supports ruby 2.6

* TravisCI Scheduler merge. Enterprise to master.

* TravisCI Scheduler merge. Enterprise to master.

* TravisCI Scheduler. New line issue.

* billing get corrected, job save removed

* dist updated to focal / ship:docker

* removed duplicates from dockerfile, moved exec-hooks / ship:docker

* dockerfile split ship:docker

* Fix leftover ruby upgrade

* Fix formatting

---------

Co-authored-by: Sven Fuchs <[email protected]>
Co-authored-by: Dominic Jodoin <[email protected]>
Co-authored-by: Piotr Sarnacki <[email protected]>
Co-authored-by: Hiro Asari <[email protected]>
Co-authored-by: Piotr Milcarz <[email protected]>
Co-authored-by: Pavel Dotsulenko <[email protected]>
Co-authored-by: Pavel Dotsulenko <[email protected]>
Co-authored-by: Damian Szymański <[email protected]>
Co-authored-by: gabriel-arc <[email protected]>
Co-authored-by: gabriel-arc <[email protected]>
Co-authored-by: Eugene <[email protected]>
Co-authored-by: Eugene Shubin <[email protected]>
Co-authored-by: Tahsin Hasan <[email protected]>
Co-authored-by: Tahsin Hasan <[email protected]>
Co-authored-by: Tahsin Hasan <[email protected]>
Co-authored-by: Maciej Kempin <[email protected]>
Co-authored-by: Maciej <[email protected]>
Co-authored-by: GbArc <[email protected]>
Co-authored-by: piccadilly-circus <[email protected]>
Co-authored-by: Sebastian Karpeta <[email protected]>
Co-authored-by: AndriiMysko <[email protected]>
Co-authored-by: Andrii Mysko <[email protected]>
@DominikAlberski DominikAlberski merged commit b69892c into master Jul 24, 2024
1 of 2 checks passed
@DominikAlberski DominikAlberski deleted the release_240724 branch July 24, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant