@argos-ci/gitlab 0.7.6 → 0.7.8
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.
- package/README.md +30 -3
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
[](https://www.npmjs.com/package/@argos-ci/gitlab)
|
|
14
17
|
[](https://www.npmjs.com/package/@argos-ci/gitlab)
|
|
15
18
|
[](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.
|
|
4
|
+
"version": "0.7.8",
|
|
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.
|
|
50
|
+
"@argos-ci/api-client": "0.24.1",
|
|
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": "
|
|
57
|
+
"gitHead": "7fddaad1a6bb251a1f2eecbf8f4ecfa3e84e9b97"
|
|
58
58
|
}
|