Revision 230f0b9b7cb4885864d457c82e312489c0a0d3d7 authored by Paul Chaignon on 21 May 2021, 21:10:24 UTC, committed by Nathan Sweet on 04 June 2021, 16:46:12 UTC
[ upstream commit 802d25447fa1d325d3713220f8ad08e7938f6dd4 ]

Commit 50df544 added a new job in the end-to-end workflows to checkout
the tested code and run paths-filter on it. That first job fails when
the workflows are scheduled (vs. triggered by PR comment) because we try
to grab the pull request URL, which doesn't exist:

    curl ${{ github.event.issue.pull_request.url }} > pr.json

results in error:

    Run curl  > pr.json
    curl: try 'curl --help' or 'curl --manual' for more information

We can avoid this by skipping steps in the first job when triggered by
schedule. We can't skip the entire first job because the second job has
a dependency on the first and would fail if we skipped the first.

Fixes: 50df544 (".github: Skip unnecessary ci-xxx tests")
Signed-off-by: Paul Chaignon <paul@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
1 parent e942366
History
File Mode Size
custom
include
lib
sockops
tests
.gitignore -rw-r--r-- 151 bytes
COPYING -rw-r--r-- 17.6 KB
Makefile -rw-r--r-- 17.8 KB
Makefile.bpf -rw-r--r-- 3.0 KB
bpf_alignchecker.c -rw-r--r-- 2.8 KB
bpf_features.h -rw-r--r-- 333 bytes
bpf_host.c -rw-r--r-- 34.6 KB
bpf_lxc.c -rw-r--r-- 51.3 KB
bpf_network.c -rw-r--r-- 969 bytes
bpf_overlay.c -rw-r--r-- 9.6 KB
bpf_sock.c -rw-r--r-- 29.1 KB
bpf_xdp.c -rw-r--r-- 6.6 KB
cilium-map-migrate.c -rw-r--r-- 12.9 KB
cilium-probe-kernel-hz.c -rw-r--r-- 3.9 KB
ep_config.h -rw-r--r-- 1.5 KB
filter_config.h -rw-r--r-- 508 bytes
init.sh -rwxr-xr-x 18.0 KB
netdev_config.h -rw-r--r-- 375 bytes
node_config.h -rw-r--r-- 6.5 KB

back to top