[
https://issues.apache.org/jira/browse/HADOOP-19893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Fabbri updated HADOOP-19893:
----------------------------------
Description:
`.github/workflows/cloud_aws.yml` fails to execute when a PR branch is pushed
to a fork repository. It works fine when pushing a branch to upstream
(apache/hadoop). The problem is that the determination of the container image
URL (which happens in `.github/actions/build_image_url/action.yml`) uses
`apache` for `github.repository.owner` instead of `fork-owner`, due to use of
`pull_request` trigger.
was:
`.github/workflows/cloud_aws.yml` fails to execute when a PR branch is pushed
to a fork repository. It works fine when pushing a branch to upstream
(apache/hadoop). The problem is that the determination of the container image
URL (which happens in `.github/actions/build_image_url/action.yml`) appears to
use `apache` for `github.repository.owner` instead of `fork-owner`.
These are based on existing known-working workflows, but copied into composite
actions so they can be shared between different workflows. There may be an
issue with the github context variables that causes them to behave differently
when called via composite workflow.
> ci: s3a integration tests fail for fork PRs
> -------------------------------------------
>
> Key: HADOOP-19893
> URL: https://issues.apache.org/jira/browse/HADOOP-19893
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: ci, fs/s3
> Affects Versions: 3.5.0
> Reporter: Aaron Fabbri
> Assignee: Aaron Fabbri
> Priority: Major
>
> `.github/workflows/cloud_aws.yml` fails to execute when a PR branch is pushed
> to a fork repository. It works fine when pushing a branch to upstream
> (apache/hadoop). The problem is that the determination of the container image
> URL (which happens in `.github/actions/build_image_url/action.yml`) uses
> `apache` for `github.repository.owner` instead of `fork-owner`, due to use of
> `pull_request` trigger.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]