polyci 0.0.16 → 0.0.18

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/dist/main.js +5 -5
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -139,7 +139,7 @@ function appendGlobalVariables(lines) {
139
139
  lines.push(` IMAGE_GIT: alpine/git:latest`);
140
140
  lines.push(` IMAGE_NGINX: nginx:alpine-slim`);
141
141
  lines.push(` IMAGE_DOCKER: docker:latest`);
142
- lines.push(` IMAGE_COMPOSE: docker:cli`);
142
+ lines.push(` IMAGE_COMPOSE: docker:20.10-cli`);
143
143
  lines.push(` GIT_PACKAGE: git`);
144
144
  lines.push(` GIT_STRATEGY: clone`); //this prevents the stale tags in the ci job.
145
145
  lines.push(``);
@@ -364,11 +364,11 @@ function appendModuleDeployJob(lines, module) {
364
364
  lines.push(` - chmod 644 ~/.ssh/known_hosts`);
365
365
  lines.push(` - echo -n $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY`);
366
366
  lines.push(` - docker context create remote --docker "host=ssh://$DEPLOY_USER@$DEPLOY_ADDRESS:$DEPLOY_PORT"`);
367
- lines.push(` - docker context use remote`);
367
+ // lines.push(` - docker context use remote`);
368
368
  lines.push(` - cd ci`);
369
- lines.push(` - docker compose -p $INSTANCE_CONTAINER down --remove-orphans`);
370
- lines.push(` - docker compose pull`);
371
- lines.push(` - docker compose -p $INSTANCE_CONTAINER up -d`);
369
+ lines.push(` - docker --context remote compose -p $INSTANCE_CONTAINER down --remove-orphans`);
370
+ lines.push(` - docker --context remote compose pull`);
371
+ lines.push(` - docker --context remote compose -p $INSTANCE_CONTAINER up -d`);
372
372
  lines.push(` - rm -rf ~/.ssh`);
373
373
  lines.push(``);
374
374
  }
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.16",
4
+ "version": "0.0.18",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Alexander Tsarev",