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

[TBT-84] Enterprise merge #314

Merged
merged 109 commits into from
Jul 24, 2024
Merged

[TBT-84] Enterprise merge #314

merged 109 commits into from
Jul 24, 2024

Conversation

DominikAlberski
Copy link
Contributor

No description provided.

svenfuchs and others added 30 commits March 13, 2019 17:41
Added preferences method implementation to User and Organization classes.
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
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.
ws_config is a Hashr, which doesn't have `#key?`
…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.
cherry pick commits from the public repo
This reverts commit e8f725d.
Allow ARM builds for Open Source 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"
makemp and others added 27 commits May 17, 2022 13:33
* 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]>
* merge from master 14.11.22

* ship:docker

* bundler updated to 2.3.24
Stop cancelled build jobs from being queued
queue the job if there is an exception
Restrict ruby gem-update to 3.4.22 because it still supports ruby 2.6
@DominikAlberski DominikAlberski merged commit ae91c0c into release_240724 Jul 24, 2024
1 of 2 checks passed
@DominikAlberski DominikAlberski deleted the am-tbt-84 branch July 24, 2024 07:27
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.