@argos-ci/gitlab
v0.7.18
Published
GitLab utilities for visual testing with Argos.
Maintainers
Readme
Argos GitLab
GitLab utilities to report Argos build statuses back to your merge requests when running Argos with a self-managed GitLab instance.
Visit the GitLab integration documentation for the full setup guide.
Usage
Run the argos-gitlab update-statuses command in your GitLab CI pipeline. It waits for the Argos builds of the current commit to complete and reports their status to the related merge request:
# .gitlab-ci.yml
argos-status:
script:
- npx @argos-ci/gitlab update-statuses
variables:
ARGOS_TOKEN: $ARGOS_TOKEN
ARGOS_GITLAB_TOKEN: $ARGOS_GITLAB_TOKENARGOS_GITLAB_TOKEN is a GitLab access token allowed to post commit statuses. The CI_PROJECT_ID, CI_SERVER_URL, and CI_COMMIT_SHA variables are provided by GitLab CI automatically.
