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

packit: generate config.h after cloning the repo #3170

Closed
wants to merge 2 commits into from

Conversation

TomasTomecek
Copy link
Contributor

@TomasTomecek TomasTomecek commented Feb 12, 2021

since create-archive and post-upstream-clone are running in different
environments, paths in Makefiles written from autogen.sh and configure
are no longer valid in the create-archive action

This should resolve: https://prod.packit.dev/srpm-build/13919/logs

Full context: https://blog.tomecek.net/post/automake-in-openshift/ :)

I hope this will trigger regeneration of config.h in CI

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
since create-archive and post-upstream-clone are running in different
environments, paths in Makefiles written from autogen.sh and configure
are no longer valid in the create-archive action

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@TomasTomecek
Copy link
Contributor Author

/packit build

@TomasTomecek
Copy link
Contributor Author

The ELN build indeed failed but the one for rawhide never started:

https://copr.fedorainfracloud.org/coprs/packit/rhinstaller-anaconda-3170/builds/

@TomasTomecek
Copy link
Contributor Author

/packit build

@jkonecny12 jkonecny12 self-requested a review February 17, 2021 10:30
@jkonecny12 jkonecny12 added the master Please, use the `f39` label instead. label Feb 17, 2021
@jkonecny12
Copy link
Member

Wow, thanks a lot for finding this! It's totally weird... I still wonder why the runs are isolated? Seems to me like something which shouldn't be happening when it's in the same action.

Also is this PR ready for merge?

@TomasTomecek
Copy link
Contributor Author

Wow, thanks a lot for finding this! It's totally weird... I still wonder why the runs are isolated? Seems to me like something which shouldn't be happening when it's in the same action.

It's a deficiency which we are going to fix on our side: https://issues.redhat.com/browse/PACKIT-1133

Also is this PR ready for merge?

yup, ready to be merged, was hoping to get a green eln build but didn't happen yet

@jkonecny12
Copy link
Member

OK, thanks!

Could you please rebase this solution to f34-devel branch and switch target of this PR. That will get propagated to master then.

Also wouldn't it be better to just do everything on one line to avoid this problem?

@jkonecny12 jkonecny12 added the infrastructure Changes affecting mostly infrastructure label Feb 17, 2021
@TomasTomecek
Copy link
Contributor Author

OK, thanks!

Could you please rebase this solution to f34-devel branch and switch target of this PR. That will get propagated to master then.

Can do!

Also wouldn't it be better to just do everything on one line to avoid this problem?

I hope that in a week or two, we'll change the sandbox on our side so it's consistent for all action runs. Yes, we can drop the post-upstream-clone and move everything to create-archive - that's a solution as well.

@jkonecny12
Copy link
Member

That sounds great! In that case would it be possible to add FIXME comment with link to the issue you posted here? Thanks!

@TomasTomecek
Copy link
Contributor Author

closed in favour of #3181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Changes affecting mostly infrastructure master Please, use the `f39` label instead.
2 participants