@argos-ci/gitlab 0.1.1 → 0.1.3-alpha.28
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/dist/cli.mjs +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +6 -6
package/dist/cli.mjs
CHANGED
|
@@ -71,8 +71,8 @@ import { Gitlab } from '@gitbeaker/rest';
|
|
|
71
71
|
if (!process.env.CI_COMMIT_SHA) {
|
|
72
72
|
throw new Error("CI_COMMIT_SHA is not set");
|
|
73
73
|
}
|
|
74
|
-
if (!process.env.
|
|
75
|
-
throw new Error("
|
|
74
|
+
if (!process.env.ARGOS_GITLAB_TOKEN) {
|
|
75
|
+
throw new Error("ARGOS_GITLAB_TOKEN is not set");
|
|
76
76
|
}
|
|
77
77
|
if (!process.env.ARGOS_TOKEN) {
|
|
78
78
|
throw new Error("ARGOS_TOKEN is not set");
|
|
@@ -82,7 +82,7 @@ import { Gitlab } from '@gitbeaker/rest';
|
|
|
82
82
|
argosToken: process.env.ARGOS_TOKEN,
|
|
83
83
|
gitlab: {
|
|
84
84
|
projectId: process.env.CI_PROJECT_ID,
|
|
85
|
-
authToken: process.env.
|
|
85
|
+
authToken: process.env.ARGOS_GITLAB_TOKEN,
|
|
86
86
|
baseUrl: process.env.CI_SERVER_URL
|
|
87
87
|
}
|
|
88
88
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -67,8 +67,8 @@ import { Gitlab } from '@gitbeaker/rest';
|
|
|
67
67
|
if (!process.env.CI_COMMIT_SHA) {
|
|
68
68
|
throw new Error("CI_COMMIT_SHA is not set");
|
|
69
69
|
}
|
|
70
|
-
if (!process.env.
|
|
71
|
-
throw new Error("
|
|
70
|
+
if (!process.env.ARGOS_GITLAB_TOKEN) {
|
|
71
|
+
throw new Error("ARGOS_GITLAB_TOKEN is not set");
|
|
72
72
|
}
|
|
73
73
|
if (!process.env.ARGOS_TOKEN) {
|
|
74
74
|
throw new Error("ARGOS_TOKEN is not set");
|
|
@@ -78,7 +78,7 @@ import { Gitlab } from '@gitbeaker/rest';
|
|
|
78
78
|
argosToken: process.env.ARGOS_TOKEN,
|
|
79
79
|
gitlab: {
|
|
80
80
|
projectId: process.env.CI_PROJECT_ID,
|
|
81
|
-
authToken: process.env.
|
|
81
|
+
authToken: process.env.ARGOS_GITLAB_TOKEN,
|
|
82
82
|
baseUrl: process.env.CI_SERVER_URL
|
|
83
83
|
}
|
|
84
84
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/gitlab",
|
|
3
3
|
"description": "GitLab utilities for Argos.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3-alpha.28+4b6e8a3",
|
|
5
5
|
"author": "Smooth Code",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"build": "rollup -c"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@argos-ci/api-client": "0.1.
|
|
47
|
-
"@gitbeaker/rest": "^40.
|
|
48
|
-
"commander": "^12.
|
|
46
|
+
"@argos-ci/api-client": "0.1.1-alpha.32+4b6e8a3",
|
|
47
|
+
"@gitbeaker/rest": "^40.1.2",
|
|
48
|
+
"commander": "^12.1.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@types/node": "^18.
|
|
51
|
+
"@types/node": "^18.19.44"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "4b6e8a36627d466e65859396ec6cfee717ba7c7b"
|
|
54
54
|
}
|