Pipeline with artifacts + resource_group doesn't fetch produced artifacts
Summary
Gitlab CI pipeline: In steps with resource_group artifacts are not fetched.
Possible example:
stage:plan:
resource_group: res_group
when: on_success
...
artifacts:
paths:
- $my_stage/artifact
stage:apply:
resource_group: res_group
when: manual
...
After step "plan" I see in logs that artifacts were uploaded. In step "apply" I don't see anything in logs that tries to get artifacts. So job fails because we need those artifacts in that stage.
Remove "resource_group" and things are working. In stage "apply" I can see artifact downloading etc.
Steps to reproduce
create simplest pipeline with 2 stages both having resource_group, 1 depending on artifacts from another.
What is the current bug behavior?
Job fails because of missing artifacts which are required to proceed.
What is the expected correct behavior?
I expect to see that artifacts were fetched and job can proceed