@argos-ci/gitlab 0.7.7 → 0.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +30 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,15 +1,42 @@
1
1
  <p align="center">
2
2
  <a href="https://argos-ci.com/?utm_source=github&utm_medium=logo" target="_blank">
3
- <img src="https://raw.githubusercontent.com/argos-ci/argos/main/resources/logos/logo-github-readme.png" alt="Argos" width="300" height="61">
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/argos-ci/argos/main/resources/logos/github-readme-logo-dark.png">
5
+ <img alt="Argos" src="https://raw.githubusercontent.com/argos-ci/argos/main/resources/logos/github-readme-logo-light.png" width="360" height="70">
6
+ </picture>
4
7
  </a>
5
8
  </p>
6
9
 
7
- _Argos is a visual testing solution that fits in your workflow to avoid visual regression. Takes screenshots on each commit and be notified if something changes._
10
+ <p align="center"><strong>The open source visual testing platform for AI-native engineering teams.</strong></p>
8
11
 
9
12
  # Argos GitLab
10
13
 
11
- Argos GitLab utilities to setup GitLab in self-hosted mode.
14
+ GitLab utilities to report Argos build statuses back to your merge requests when running Argos with a self-managed GitLab instance.
12
15
 
13
16
  [![npm version](https://img.shields.io/npm/v/@argos-ci/gitlab.svg)](https://www.npmjs.com/package/@argos-ci/gitlab)
14
17
  [![npm dm](https://img.shields.io/npm/dm/@argos-ci/gitlab.svg)](https://www.npmjs.com/package/@argos-ci/gitlab)
15
18
  [![npm dt](https://img.shields.io/npm/dt/@argos-ci/gitlab.svg)](https://www.npmjs.com/package/@argos-ci/gitlab)
19
+
20
+ Visit the [GitLab integration documentation](https://argos-ci.com/docs/learn/integrations/gitlab-integration) for the full setup guide.
21
+
22
+ ## Usage
23
+
24
+ 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:
25
+
26
+ ```yaml
27
+ # .gitlab-ci.yml
28
+ argos-status:
29
+ script:
30
+ - npx @argos-ci/gitlab update-statuses
31
+ variables:
32
+ ARGOS_TOKEN: $ARGOS_TOKEN
33
+ ARGOS_GITLAB_TOKEN: $ARGOS_GITLAB_TOKEN
34
+ ```
35
+
36
+ `ARGOS_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.
37
+
38
+ ## Links
39
+
40
+ - [GitLab integration guide](https://argos-ci.com/docs/learn/integrations/gitlab-integration)
41
+ - [Official Docs](https://argos-ci.com/docs)
42
+ - [Discord](https://argos-ci.com/discord)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/gitlab",
3
3
  "description": "GitLab utilities for visual testing with Argos.",
4
- "version": "0.7.7",
4
+ "version": "0.7.11",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/argos-ci/argos-javascript.git",
10
10
  "directory": "packages/gitlab"
11
11
  },
12
- "homepage": "https://argos-ci.com/docs/gitlab",
12
+ "homepage": "https://argos-ci.com/docs/learn/integrations/gitlab-integration",
13
13
  "bugs": {
14
14
  "url": "https://github.com/argos-ci/argos-javascript/issues"
15
15
  },
@@ -47,12 +47,12 @@
47
47
  "lint": "eslint ."
48
48
  },
49
49
  "dependencies": {
50
- "@argos-ci/api-client": "0.24.0",
50
+ "@argos-ci/api-client": "0.24.4",
51
51
  "@gitbeaker/rest": "^43.8.0",
52
52
  "commander": "^15.0.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "catalog:"
56
56
  },
57
- "gitHead": "ee2e5d3c14c83e07dfffa14ddc9f34f934f8c368"
57
+ "gitHead": "1b25b7c1109a3d032d627c5f9d2f2c3937731aea"
58
58
  }