Skip to content

Corrected invalid CI configuration in code snippet.

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Why is this change being made?

In task A, Step 6, the code snippet copy and pasted as is results in the following:

This GitLab CI configuration is invalid: (<unknown>): did not find expected key while parsing a block mapping at line 35 column 7.

This is line 117 on the overall page that was edited. The end quotation should have been at the end of the expression and not just the variable.

Checked if the snippet in step 4 was incorrect. While it was correct syntax, updated to match the use of single quotes in other expressions and the full snip in Step 6.

Without these changes, the pipeline as snipped in Step 6 fails. Pipeline passes after change.

Author and Reviewer Checklist

Please verify the check list and ensure to tick them off before the MR is merged.

  • Provided a concise title for this Merge Request (MR)
  • Added a description to this MR explaining the reasons for the proposed change, per say why, not just what
    • Copy/paste the Slack conversation to document it for later, or upload screenshots. Verify that no confidential data is added, and the content is SAFE
  • Assign reviewers for this MR to the correct Directly Responsible Individual/s (DRI)
    • If the DRI for the page/s being updated isn’t immediately clear, then assign it to one of the people listed in the Maintained by section on the page being edited
    • If your manager does not have merge rights, please ask someone to merge it AFTER it has been approved by your manager in #mr-buddies
    • The when to get approval handbook section explains the workflow in more detail
  • For transparency, share this MR with the audience that will be impacted.
    • Team: For changes that affect your direct team, share in your group Slack channel
    • Department: If the update affects your department, share the MR in your department Slack channel
    • Division: If the update affects your division, share the MR in your division Slack channel
    • Company: If the update affects all (or the majority of) GitLab team members, post an update in #whats-happening-at-gitlab linking to this MR

Commits

%{all_commits}


Edited by Andrew Peters

Merge request reports