Problem/Motivation

There is an error while fetching changes from git for test-only patches testing in the D7 GitlabCI:

fatal: ambiguous argument 'origin/7.x': unknown revision or path not in the working tree.

Steps to reproduce

See: https://git.drupalcode.org/project/drupal/-/jobs/218886

Proposed resolution

Fix the problem (probably compare with commands used in D10).

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3396515

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

poker10 created an issue. See original summary.

poker10’s picture

fjgarlin made their first commit to this issue’s fork.

fjgarlin’s picture

Status: Active » Needs review

I updated the "git diff" commands to match those of D10 (there were some last-minute commits).

The MR is ready to review and we can see the job running for this MR here: https://git.drupalcode.org/issue/drupal-3396515/-/jobs/221397

MR to review: https://git.drupalcode.org/project/drupal/-/merge_requests/5118

  • poker10 committed 63434249 on 7.x
    Issue #3396515 by fjgarlin: GitlabCI test-only job - ambiguous argument...
poker10’s picture

Status: Needs review » Fixed

Thanks! This now looks in parity with D10 code and as per https://git.drupalcode.org/issue/drupal-3396515/-/jobs/221397 it seem to work. Committed this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.