subspace 3.0.10 → 3.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/ansible/roles/postgresql/tasks/main.yml +3 -1
- data/ansible/roles/postgresql-client/tasks/main.yml +3 -1
- data/ansible/roles/tailscale/tasks/main.yml +10 -2
- data/lib/subspace/commands/base.rb +1 -1
- data/lib/subspace/commands/init.rb +1 -1
- data/lib/subspace/commands/secrets.rb +1 -1
- data/lib/subspace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 935d4125d64c00864f60dbd6757b22e6be2ee7c96da64480b87178ad4c286dcb
|
4
|
+
data.tar.gz: ee223791b07e266cf51b77e2e706c400e3ec8729c61d48cd85987334a2ea7b48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e88b7598daec4a79b50a36d6af5778fdcf7153d36caf9a1ee896a6a589b2bb1f190a8712b0e17af37fa4572a5048662565dc73b459e8e1630669d0291a3935e7
|
7
|
+
data.tar.gz: 611bcb89723ed8032622f7cd8a3c7bdc01238e9f1cb609ce4d7b381a9390d01bdd5cacf0d8612154ed7d42e30990b1e3c32febc212c6d73da85c17f68cdb59b9
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,13 @@ This project attempts to follow [semantic versioning](https://semver.org/).
|
|
12
12
|
|
13
13
|
## Unreleased
|
14
14
|
|
15
|
+
## 3.0.12
|
16
|
+
* Bugfix: use `exist?`
|
17
|
+
|
18
|
+
## 3.0.11
|
19
|
+
* Change tailscale pinning behavior to allow install, and then pin to specific version
|
20
|
+
* Fix psycopg2 break_system_packages to work across ubuntu/python versions
|
21
|
+
|
15
22
|
## 3.0.10
|
16
23
|
* Pin tailscale to known good version
|
17
24
|
|
@@ -50,7 +50,9 @@
|
|
50
50
|
- name: Install psycopg2 (python3)
|
51
51
|
when: is_python3 is succeeded
|
52
52
|
become: yes
|
53
|
-
|
53
|
+
pip:
|
54
|
+
name: psycopg2
|
55
|
+
break_system_packages: true
|
54
56
|
|
55
57
|
- name: Install psycopg2 (python2)
|
56
58
|
when: is_python3 is failed
|
@@ -17,10 +17,10 @@
|
|
17
17
|
- maintenance
|
18
18
|
- tailscale_reauth
|
19
19
|
|
20
|
-
- name: "
|
20
|
+
- name: "Allow tailscale to be installed"
|
21
21
|
dpkg_selections:
|
22
22
|
name: tailscale
|
23
|
-
selection:
|
23
|
+
selection: install
|
24
24
|
tags:
|
25
25
|
- maintenance
|
26
26
|
- tailscale_reauth
|
@@ -35,6 +35,14 @@
|
|
35
35
|
- maintenance
|
36
36
|
- tailscale_reauth
|
37
37
|
|
38
|
+
- name: "Prevent tailscale from being upgraded"
|
39
|
+
dpkg_selections:
|
40
|
+
name: tailscale
|
41
|
+
selection: hold
|
42
|
+
tags:
|
43
|
+
- maintenance
|
44
|
+
- tailscale_reauth
|
45
|
+
|
38
46
|
- name: "Join the tailnet and force reauth"
|
39
47
|
become: true
|
40
48
|
command: tailscale up --ssh --auth-key={{tailscale_auth_key}} --hostname={{project_name | regex_replace('_', '')}}-{{hostname}} --accept-risk=lose-ssh {{tailscale_options}} --force-reauth
|
@@ -59,7 +59,7 @@ module Subspace
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def confirm_overwrite(file_path)
|
62
|
-
return true unless File.
|
62
|
+
return true unless File.exist? file_path
|
63
63
|
answer = ask "#{file_path} already exists. Reply 'y' to overwrite: [no] "
|
64
64
|
return answer.downcase.start_with? "y"
|
65
65
|
end
|
@@ -25,7 +25,7 @@ class Subspace::Commands::Init < Subspace::Commands::Base
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def run
|
28
|
-
if File.
|
28
|
+
if File.exist? dest_dir
|
29
29
|
answer = ask "Subspace appears to be initialized. Reply 'yes' to continue anyway: [no] "
|
30
30
|
abort unless answer.chomp == "yes"
|
31
31
|
else
|
@@ -29,7 +29,7 @@ class Subspace::Commands::Secrets < Subspace::Commands::Base
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def create_local
|
32
|
-
if File.
|
32
|
+
if File.exist? File.join(project_path, "config/application.yml")
|
33
33
|
answer = ask "config/application.yml already exists. Reply 'yes' to overwrite: [no] "
|
34
34
|
abort unless answer == "yes"
|
35
35
|
end
|
data/lib/subspace/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Samson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -313,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
313
|
- !ruby/object:Gem::Version
|
314
314
|
version: '0'
|
315
315
|
requirements: []
|
316
|
-
rubygems_version: 3.5.
|
316
|
+
rubygems_version: 3.5.22
|
317
317
|
signing_key:
|
318
318
|
specification_version: 4
|
319
319
|
summary: Ansible-based server provisioning for rails projects
|