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

Make Jenkinsfile multi-branch pipeline compatible #190

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

LKHN
Copy link
Member

@LKHN LKHN commented Dec 18, 2023

The multi-branch pipelines can give us ability to discover and run jobs against all branches and PRs.
Which means we don't need to provide job parameters for a custom source:

  • Remove the REPO_URL and REPO_BRANCH parameters
  • Remove the Source stage

Additional optimizations:

  • Use more generic labels for Jenkins agents
  • Use short names for the main stages

The multi-branch pipelines can give us ability to discover
and run jobs against all branches and PRs.
Which means we don't need to provide job parameters for a custom source:
- Remove the REPO_URL and REPO_BRANCH parameters
- Remove the Source stage

Additional optimizations:
- Use more generic labels for Jenkins agents
- Use short names for the main stages

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
@andrewlukoshko andrewlukoshko merged commit 0a1913d into AlmaLinux:master Dec 18, 2023
2 checks passed
andrewlukoshko pushed a commit that referenced this pull request Jan 8, 2024
* Get, download and install latest almalinux-gpg-keys package when migrating from CentOS Stream9

Fixes: #183

* Add 'epel-next-release' to the list of OS specific packages need to be removed.

Fixes: #184

* Add 'evolution-data-server-ui' to the list of OS specific packages need to be removed.

Fixes: #182

* Make Jenkinsfile multi-branch pipeline compatible (#190)

The multi-branch pipelines can give us ability to discover
and run jobs against all branches and PRs.
Which means we don't need to provide job parameters for a custom source:
- Remove the REPO_URL and REPO_BRANCH parameters
- Remove the Source stage

Additional optimizations:
- Use more generic labels for Jenkins agents
- Use short names for the main stages

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>

* Increase stage timeout to 60 minutes

The 20 minutes timeout per stage is not flexible for the Jenkis agents
with different hardware and internet connection speeds.
Especially on the legacy versions it can took much more time
than 20 minutes. Let's increase it to 60 minutes and see how it works.

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>

* Get, download and install latest almalinux-gpg-keys package when migrating from CentOS Stream9

Fixes: #183

---------

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
Co-authored-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
Co-authored-by: Eduard Abdullin <55892454+eabdullin1@users.noreply.github.com>
Co-authored-by: Yuriy Kohut <ykohut@onapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants