* [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions
@ 2020-12-19 8:26 David Marchand
2020-12-21 17:27 ` David Marchand
0 siblings, 1 reply; 5+ messages in thread
From: David Marchand @ 2020-12-19 8:26 UTC (permalink / raw)
To: dev; +Cc: Aaron Conole, Michael Santana, Thomas Monjalon
APT cache must be updated to avoid trying to install an unavailable
version of a package.
Fixes: 87009585e293 ("ci: hook to GitHub Actions")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
I did not find a way for the update to be done by GHA itself,
so adding an explicit step.
The robot hits this issue on all 32-bits builds at the moment.
I will apply this quickly.
---
.github/workflows/build.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 05eb59527f..0b72df0ebe 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -87,6 +87,8 @@ jobs:
with:
path: reference
key: ${{ steps.get_ref_keys.outputs.abi }}
+ - name: Update APT cache
+ run: sudo apt update
- name: Install packages
run: sudo apt install -y ccache libnuma-dev python3-setuptools
python3-wheel python3-pip ninja-build libbsd-dev libpcap-dev
--
2.23.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions
2020-12-19 8:26 [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions David Marchand
@ 2020-12-21 17:27 ` David Marchand
2020-12-30 18:00 ` Andrew Boyer
0 siblings, 1 reply; 5+ messages in thread
From: David Marchand @ 2020-12-21 17:27 UTC (permalink / raw)
To: dev; +Cc: Aaron Conole, Michael Santana, Thomas Monjalon
On Sat, Dec 19, 2020 at 9:26 AM David Marchand
<david.marchand@redhat.com> wrote:
>
> APT cache must be updated to avoid trying to install an unavailable
> version of a package.
>
> Fixes: 87009585e293 ("ci: hook to GitHub Actions")
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Applied.
--
David Marchand
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions
2020-12-21 17:27 ` David Marchand
@ 2020-12-30 18:00 ` Andrew Boyer
2021-01-04 12:26 ` Ferruh Yigit
2021-01-05 8:49 ` David Marchand
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Boyer @ 2020-12-30 18:00 UTC (permalink / raw)
To: David Marchand; +Cc: dev, Aaron Conole, Michael Santana, Thomas Monjalon
Hello David,
I’m hitting this issue on the next/dpdk-next-net branch. Is there a way to pull the patch into all of the next-* branches so that others don’t hit it too?
For now I've pulled it into my own branch.
This Actions thing is cool. It’s a huge timesaver.
Thank you,
Andrew
> On Dec 21, 2020, at 12:27 PM, David Marchand <david.marchand@redhat.com> wrote:
>
> On Sat, Dec 19, 2020 at 9:26 AM David Marchand
> <david.marchand@redhat.com> wrote:
>>
>> APT cache must be updated to avoid trying to install an unavailable
>> version of a package.
>>
>> Fixes: 87009585e293 ("ci: hook to GitHub Actions")
>>
>> Signed-off-by: David Marchand <david.marchand@redhat.com>
>
> Applied.
>
>
> --
> David Marchand
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions
2020-12-30 18:00 ` Andrew Boyer
@ 2021-01-04 12:26 ` Ferruh Yigit
2021-01-05 8:49 ` David Marchand
1 sibling, 0 replies; 5+ messages in thread
From: Ferruh Yigit @ 2021-01-04 12:26 UTC (permalink / raw)
To: Andrew Boyer, David Marchand
Cc: dev, Aaron Conole, Michael Santana, Thomas Monjalon, Andrew Rybchenko
On 12/30/2020 6:00 PM, Andrew Boyer wrote:
> Hello David,
> I’m hitting this issue on the next/dpdk-next-net branch. Is there a way to pull the patch into all of the next-* branches so that others don’t hit it too?
>
next-net rebased on the main repo to include the commit, fyi.
For the next trees, you can find their maintainers in the MAINTAINERS file.
> For now I've pulled it into my own branch.
>
> This Actions thing is cool. It’s a huge timesaver.
>
> Thank you,
> Andrew
>
>> On Dec 21, 2020, at 12:27 PM, David Marchand <david.marchand@redhat.com> wrote:
>>
>> On Sat, Dec 19, 2020 at 9:26 AM David Marchand
>> <david.marchand@redhat.com> wrote:
>>>
>>> APT cache must be updated to avoid trying to install an unavailable
>>> version of a package.
>>>
>>> Fixes: 87009585e293 ("ci: hook to GitHub Actions")
>>>
>>> Signed-off-by: David Marchand <david.marchand@redhat.com>
>>
>> Applied.
>>
>>
>> --
>> David Marchand
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions
2020-12-30 18:00 ` Andrew Boyer
2021-01-04 12:26 ` Ferruh Yigit
@ 2021-01-05 8:49 ` David Marchand
1 sibling, 0 replies; 5+ messages in thread
From: David Marchand @ 2021-01-05 8:49 UTC (permalink / raw)
To: Andrew Boyer; +Cc: dev, Aaron Conole, Michael Santana, Thomas Monjalon
Hello Andrew,
On Wed, Dec 30, 2020 at 7:00 PM Andrew Boyer <aboyer@pensando.io> wrote:
>
> Hello David,
> I’m hitting this issue on the next/dpdk-next-net branch. Is there a way to pull the patch into all of the next-* branches so that others don’t hit it too?
Sorry, I was offline, next-* branches are maintained by others (as
explained by Ferruh).
>
> For now I've pulled it into my own branch.
>
> This Actions thing is cool. It’s a huge timesaver.
Happy to read that it helps.
--
David Marchand
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-05 8:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-19 8:26 [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions David Marchand
2020-12-21 17:27 ` David Marchand
2020-12-30 18:00 ` Andrew Boyer
2021-01-04 12:26 ` Ferruh Yigit
2021-01-05 8:49 ` David Marchand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).