orchestration 0.7.11 → 0.7.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76a744cb6cc82929bcaea021634c1af4b7b34392659e1a3d799ddd61854e6dee
4
- data.tar.gz: d42940c62fa5488a64cf3e6c245938de8d1cf8e47536fd9a0075903dcd54d272
3
+ metadata.gz: 20aff7348ec0fde4cf7a457138a2f4ea67f5467c25cde74757e6f1f1ebccd7d3
4
+ data.tar.gz: bd582b8b42c353ec86d2c3dadd8932dc24fe3123784dd62f1bdaa62eea934ac8
5
5
  SHA512:
6
- metadata.gz: 0ad4095426917667b72150004b57525ffedaedf84be6c68b727ca782814c5a053a45f6e33c8cc36bcc95825863bbe36684862b3c31f501ad3938f40217d3f39e
7
- data.tar.gz: fa5d209da39d650a7bbb52b786d900f3e5ebcce7ea69a9c662cbc3ddadbd318be82f3764d744420215a67e569436870c157ed244670d4471e00cdf16f9b8a23c
6
+ metadata.gz: be08355e64f4f66fe249a447b816c9f98d72f94a8c32ab79b22236700755f930aab6a6d1e3a481f9c7ae01b73c387bcc82516256bd61220e35be909bc58ed09f
7
+ data.tar.gz: 2166504bbb6fb34c349bf1e15c7a5f50107b65f7869accfbee6edccb9c9dc98d2b1c2bd65de9e9d8c75489867d803b5a8f485a814a1901e189f12d09fdfb9167
@@ -386,14 +386,13 @@ tag:
386
386
  .PHONY: deploy
387
387
  deploy: _log-notify _clean-logs
388
388
  ifdef env_file
389
- deploy: env_file_option = --env-file ${env_file}
389
+ deploy: env_file_option = . ${env_file}
390
390
  endif
391
391
  deploy: RAILS_ENV := ${env}
392
392
  deploy: RACK_ENV := ${env}
393
393
  deploy: DOCKER_TAG = ${git_version}
394
394
  deploy: base_vars = DOCKER_ORGANIZATION=${docker_organization} DOCKER_REPOSITORY=${docker_repository} DOCKER_TAG=${git_version}
395
- deploy: compose_deploy := ${base_vars} COMPOSE_PROJECT_NAME=${project_base} HOST_UID=$(shell id -u) docker-compose ${env_file_option} --project-name ${project_base} -f orchestration/docker-compose.deployment.yml
396
- deploy: config_cmd = ${compose_deploy} config
395
+ deploy: config_cmd := ( set -a ; ${env_file_option} ; ${base_vars} COMPOSE_PROJECT_NAME=${project_base} HOST_UID=$(shell id -u) docker stack config --compose-file orchestration/docker-compose.deployment.yml )
397
396
  deploy: remote_cmd = cat | docker stack deploy --prune --with-registry-auth -c - ${project_base}
398
397
  deploy: ssh_cmd = ssh "${manager}"
399
398
  deploy: deploy_cmd := ${config_cmd} | ${ssh_cmd} "/bin/bash -lc '${remote_cmd}'"
@@ -15,14 +15,10 @@ RUN apt-get update \
15
15
  && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
16
16
  && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
17
17
  && apt-get update \
18
- && apt-get install nodejs \
18
+ && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs \
19
19
  && rm -rf /var/lib/apt/lists/* \
20
20
  && gem install bundler \
21
21
  && mkdir /app<%if defined?(Webpacker) %> \
22
- && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
23
- && . /root/.bashrc \
24
- && npm config set user 0 \
25
- && npm config set unsafe-perm true \
26
22
  && npm install -g yarn<% end %>
27
23
  WORKDIR /app
28
24
  COPY .build/Gemfile .build/Gemfile.lock ./
@@ -30,7 +26,7 @@ RUN bundle config set deployment 'true' \
30
26
  && bundle config set without 'development test' \
31
27
  && bundle install
32
28
  ADD .build/context.tar .
33
- <% if defined?(Webpacker) %>RUN . /root/.bashrc ; NODE_ENV=production RAILS_ENV=production yarn install && NODE_ENV=production RAILS_ENV=production SECRET_KEY_BASE=placeholder-secret bundle exec rake assets:precompile<% elsif Rake::Task.tasks.map(&:name).include?('assets:precompile') %>RUN NODE_ENV=production RAILS_ENV=production SECRET_KEY_BASE=placeholder-secret bundle exec rake assets:precompile<% end %>
29
+ <% if defined?(Webpacker) %>RUN NODE_ENV=production RAILS_ENV=production yarn install && NODE_ENV=production RAILS_ENV=production SECRET_KEY_BASE=placeholder-secret bundle exec rake assets:precompile<% elsif Rake::Task.tasks.map(&:name).include?('assets:precompile') %>RUN NODE_ENV=production RAILS_ENV=production SECRET_KEY_BASE=placeholder-secret bundle exec rake assets:precompile<% end %>
34
30
  RUN echo "${GIT_COMMIT}" > /app/GIT_COMMIT
35
31
  HEALTHCHECK --interval=<%= healthcheck['interval'] %> \
36
32
  --timeout=<%= healthcheck['timeout'] %> \
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orchestration
4
- VERSION = '0.7.11'
4
+ VERSION = '0.7.12'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orchestration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.11
4
+ version: 0.7.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: database_url