polyci 0.0.35 → 0.0.36

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/main.js CHANGED
@@ -331,7 +331,7 @@ function appendModulePublishJob(lines, module) {
331
331
  lines.push(` needs:`);
332
332
  lines.push(` - job: ${module.moduleName}-test`);
333
333
  lines.push(` - job: release`);
334
- lines.push(` image: $IMAGE_DOCKER`);
334
+ lines.push(` image: $IMAGE_NODE`);
335
335
  lines.push(` script:`);
336
336
  lines.push(` - cp -r ci "${module.modulePath}/ci"`);
337
337
  lines.push(` - cd ${module.modulePath}`);
@@ -352,7 +352,7 @@ function appendModuleDeployJob(lines, module) {
352
352
  lines.push(` - ${module.modulePath}/**/*`);
353
353
  lines.push(` needs:`);
354
354
  lines.push(` - job: ${module.moduleName}-publish`);
355
- lines.push(` image: $IMAGE_COMPOSE`);
355
+ lines.push(` image: $IMAGE_NODE`);
356
356
  lines.push(` script:`);
357
357
  lines.push(` - cp -r ci "${module.modulePath}/ci"`);
358
358
  lines.push(` - cd ${module.modulePath}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "polyci",
3
3
  "description": "Monorepo CI/CD utilities.",
4
- "version": "0.0.35",
4
+ "version": "0.0.36",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Alexander Tsarev",
package/readme.md CHANGED
@@ -4,6 +4,7 @@ usage
4
4
 
5
5
  recommedations
6
6
  do not change the provided module types and scripts. instead, copy and customise your own type.
7
+ be careful changin environment in release.sh (eg install packages) as the module releases run in one job in one container.
7
8
 
8
9
  requirements
9
10
  POLYCI_TOKEN variable must be defined in GitLab and accessible in the jobs that match the rule in the root .gitlab-ci.yml.