CI component

I’m currently running some test with ci-components; with the following config:

---
spec:
  inputs:
    stage:
      default: validate_name
---
validate_repo_name:
  image: registry.gitlab.com/gitlab-org/step-runner:v0
  stage: $[[ inputs.stage ]]
  run:
    - name: validate_repo_name
      step: gitlab.com/test443344/lsweb/cicd/steps/validate_repo_name@main

The step mentioned in the config is currently in a public repo; how could I use a step that is located in a private repo?

1 Like

Had to change the step instruction into: https://gitlab-ci-token:${CI_JOB_TOKEN}@$CI_SERVER_FQDN/test443344/lsweb/cicd/steps/validate_repo_structure@main

and alter the job token permissions in the CI/CD settings to allow specific group access