Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

orchestrator:prepare fails in GitLab Cloud Runners during SO Pool for updated artifact versions #811

Closed

Description

@vuha-acn

Describe the bug
During Prepare SO Pool Creation in GitLab Cloud, when all artifacts are generated the first time, the Scratch Org Pools are successfully created with all the artifacts. Once 1 artifact is changed and updated to a new version (latest), the SO Pool Creation fails (see UI errors and log file errors).

To Reproduce

  1. In GitLab Cloud, set up project-template with dxatscale-template for GitLabs
  2. Generate all artifacts for the first time.
  3. Run prepare commands and create SO Pool.
  4. Success
  5. Update 1 artifact. Re-run SO prepare commands.
  6. Failure
  7. Update all artifacts. Re-run SO prepare commands.
  8. Success

Expected behavior

SO Prepare Pools should be able to work consistently in GitLab Cloud runners.

Screenshots
If applicable, add screenshots to help explain your problem.

Failed to execute scripts for [email protected] with alias SO5 due to File not found: .sfpowerscripts/sourceTrackingFiles/[email protected]/maxRevision.json

image

SO prepare_logs

Deploying all packages in the repo to SO5
Error: Artifacts must originate from the same source repository, for deployment to work
Cancelling any further packages to be deployed, Adding the scratchorg SO5 to the pool

Platform Details (please complete the following information):

Additional context
Error message in the UI and Logs should be consistent to avoid confusion. (eg. maxRevision.json vs. Artifacts must originate from the same source repository)

Review regex options to filter out dynamic URL from GitLab Runners

"repository": "https://gitlab-ci-token:[email protected]/organization/dxatscale-template-sample-project.git"

gitlab-ci-token:ABC123xyz Token is generated differently for each new artifact build for the pipeline.

Activity

  1. added
    bug
    on Jan 17, 2022
  2. azlam-abdulsalam commented on Jan 19, 2022

    @azlam-abdulsalam
    Contributor

    Fixed in 10.2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bughotfix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions