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

Combine three bundle build tasks into one #1112

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

zregvart
Copy link
Member

@zregvart zregvart commented Jul 3, 2024

Seems that scheduling Task pods often runs into issues, most likely the inability to mount persistent volumes caused by "volume node affinity conflict". To minimize this issue three separate bundle build Tasks are now combined into a single Tasks as three Steps instead.

Reference: https://issues.redhat.com/browse/EC-705

@simonbaird
Copy link
Contributor

simonbaird commented Jul 3, 2024

The diff is not easy to review by eye, but I like the concept. If this can solve or even reduce the frequency of the intermittent failures described in EC-705 that would be fantastic.

.tekton/push.yaml Outdated Show resolved Hide resolved
.tekton/push.yaml Outdated Show resolved Hide resolved
.tekton/push.yaml Show resolved Hide resolved
.tekton/push.yaml Outdated Show resolved Hide resolved
Seems that scheduling Task pods often runs into issues, most likely the
inability to mount persistent volumes caused by "volume node affinity
conflict". To minimize this issue three separate bundle build Tasks are
now combined into a single Tasks as three Steps instead.

Reference: https://issues.redhat.com/browse/EC-705

Co-authored-by: Adam Cmiel <[email protected]>
Copy link
Contributor

@chmeliik chmeliik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

it does look a lot simpler than before, hopefully it will also behave better

@zregvart
Copy link
Member Author

zregvart commented Jul 4, 2024

Thanks for the review, I'll start the merge now and watch out for any issues.

@zregvart zregvart added this pull request to the merge queue Jul 4, 2024
Merged via the queue into konflux-ci:main with commit 1fdda42 Jul 4, 2024
7 checks passed
@zregvart zregvart deleted the issue/EC-705 branch July 4, 2024 14:05
@zregvart
Copy link
Member Author

zregvart commented Jul 4, 2024

Found an issue:

cat: /workspace/source/task-bundle-list-konflux-ci: No such file or directory
cat: /workspace/source/task-bundle-list-appstudio: No such file or directory

This is caused by the commit not containing any changes to the Tasks. I'll create a followup PR to ignore missing task bundle list files

zregvart added a commit to zregvart/build-definitions that referenced this pull request Jul 4, 2024
Follow up to konflux-ci#1112, let's not confuse folk by printing:

```
cat: /workspace/source/task-bundle-list-konflux-ci: No such file or directory
cat: /workspace/source/task-bundle-list-appstudio: No such file or directory
```

In the TaskRun logs. Those files do not exist if no Tasks were changed.

Reference: https://issues.redhat.com/browse/EC-705
github-merge-queue bot pushed a commit that referenced this pull request Jul 6, 2024
Follow up to #1112, let's not confuse folk by printing:

```
cat: /workspace/source/task-bundle-list-konflux-ci: No such file or directory
cat: /workspace/source/task-bundle-list-appstudio: No such file or directory
```

In the TaskRun logs. Those files do not exist if no Tasks were changed.

Reference: https://issues.redhat.com/browse/EC-705
jduimovich pushed a commit to jduimovich/build-definitions that referenced this pull request Aug 6, 2024
Follow up to konflux-ci#1112, let's not confuse folk by printing:

```
cat: /workspace/source/task-bundle-list-konflux-ci: No such file or directory
cat: /workspace/source/task-bundle-list-appstudio: No such file or directory
```

In the TaskRun logs. Those files do not exist if no Tasks were changed.

Reference: https://issues.redhat.com/browse/EC-705
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.

3 participants