subspace 3.0.15 → 3.0.17
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/ansible/roles/common/tasks/main.yml +1 -1
- data/ansible/roles/rails/tasks/main.yml +2 -0
- data/ansible/roles/ruby-common/tasks/main.yml +2 -0
- data/ansible/roles/tailscale/tasks/main.yml +1 -1
- data/lib/subspace/commands/init.rb +1 -1
- data/lib/subspace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41f3763c5b82f01fac11ab2e70d8fa471f8d21cd3cab4c2af211294431c3a8c4
|
4
|
+
data.tar.gz: abfc862c481e5290024d56043b7981972df34b52be400ed4db2fe60642e87915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c252bb11b09106350a56acb870d1d267bf277a4a9b4163807771de1ade26daad6d5539aa088ed00621df90484446f45c2922813a60499fbde7bbc436f5703b0
|
7
|
+
data.tar.gz: 77b954ef5b797f62732ea58b539457d4e8203ee7721ca140dbae742122b475622bcafe2de0fe40984a5e75a5011ee8200031886e2c01111cbd6ad2eb0e325b4c
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,12 @@ This project attempts to follow [semantic versioning](https://semver.org/).
|
|
12
12
|
|
13
13
|
## Unreleased
|
14
14
|
|
15
|
+
## 3.0.17
|
16
|
+
* Fix update count when sending stats
|
17
|
+
|
18
|
+
## 3.0.16
|
19
|
+
* Ignore errors on getting rails version
|
20
|
+
|
15
21
|
## 3.0.15
|
16
22
|
* Add 'abbrev' gem as runtime dependency to fix issue when doing `subspace ssh {hostname}`
|
17
23
|
|
@@ -146,7 +146,7 @@
|
|
146
146
|
- name: Get os_upgrades stats
|
147
147
|
shell:
|
148
148
|
cmd: |
|
149
|
-
|
149
|
+
awk -v month="$(date '+%Y-%m')" '/^\[/ {flag = ($0 ~ month)} flag && !/^\[/' updates.log | # Groups of lines from the current month
|
150
150
|
grep 'packages\|immediately' | # Only lines matching 'packages' or 'immediately'
|
151
151
|
grep -P -o '(^\d+)' | #Extract the numbers at the beginning of the lines
|
152
152
|
awk '{s+=$1} END {print s}' # Sum all the lines
|
@@ -138,7 +138,7 @@ class Subspace::Commands::Init < Subspace::Commands::Base
|
|
138
138
|
|
139
139
|
def set_latest_ami
|
140
140
|
@latest_ami = `aws --profile subspace-#{project_name} ec2 describe-images \
|
141
|
-
--filters 'Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-
|
141
|
+
--filters 'Name=name,Values=ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64*' \
|
142
142
|
--query 'Images[*].[ImageId,CreationDate]' --output text \
|
143
143
|
| sort -k2 -r \
|
144
144
|
| head -n1 | cut -f1`.chomp
|
data/lib/subspace/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: subspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Samson
|
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
326
|
- !ruby/object:Gem::Version
|
327
327
|
version: '0'
|
328
328
|
requirements: []
|
329
|
-
rubygems_version: 3.
|
329
|
+
rubygems_version: 3.7.2
|
330
330
|
specification_version: 4
|
331
331
|
summary: Ansible-based server provisioning for rails projects
|
332
332
|
test_files: []
|