@haatlabs-core/templates 0.11.1 → 0.11.2

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.
@@ -138,14 +138,16 @@
138
138
  tags: [logging]
139
139
 
140
140
  # Merged into what is there, so settings someone else put in daemon.json survive.
141
- # The values are strings: Docker refuses numbers in log-opts.
142
- - name: Log as JSON files, with a size limit and rotation
141
+ # The values are strings: Docker refuses numbers in log-opts. One layer is downloaded
142
+ # at a time: several at once, unpacked together, have run a 512 MB host out of memory.
143
+ - name: Log as JSON files, with a size limit and rotation; pull one layer at a time
143
144
  ansible.builtin.copy:
144
145
  content: "{{ (_daemon_json.content | default('e30=') | b64decode | from_json) | combine(_logging, recursive=true) | to_nice_json }}\n"
145
146
  dest: /etc/docker/daemon.json
146
147
  mode: '0644'
147
148
  vars:
148
149
  _logging:
150
+ max-concurrent-downloads: 1
149
151
  log-driver: json-file
150
152
  log-opts:
151
153
  max-size: '{{ docker_log_max_size | string }}'
@@ -521,9 +521,11 @@ build-seq: $(ENV_PATH) ## one environment's images, one at a time, for a small h
521
521
  # The other way to have the images: fetched from the registry, for the commit this
522
522
  # checkout is at. What a host does, so that it never builds. Fails when the workflow has
523
523
  # not built that commit yet.
524
+ # One image after the other: pulling and unpacking them together has run a 512 MB host out
525
+ # of memory, with the running stacks still on it.
524
526
  pull: $(ENV_PATH) ## the images from the registry (IMAGE_REGISTRY), built by GitHub
525
527
  $(require-registry)
526
- $(STACK_COMPOSE) pull $(STACK_APPS)
528
+ @for app in $(STACK_APPS); do $(STACK_COMPOSE) pull $$app || exit 1; done
527
529
 
528
530
  # Signs docker in to the registry with GHCR_USER and GHCR_TOKEN from the env file: a
529
531
  # token that can only read packages. It goes to docker on standard input, never on a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haatlabs-core/templates",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "The starter files and shared project files that @haatlabs-core/cli writes.",
5
5
  "keywords": [
6
6
  "haatlabs"
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "devDependencies": {
38
- "@haatlabs-core/tsconfig": "0.11.1",
39
- "@haatlabs-core/vitest-config": "0.11.1"
38
+ "@haatlabs-core/tsconfig": "0.11.2",
39
+ "@haatlabs-core/vitest-config": "0.11.2"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "rm -rf dist && tsc -p tsconfig.build.json",