takeltau 0.34.11 → 0.34.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/takeltau/bit/clipboard/copy.rb +1 -1
- data/lib/takeltau/bit/clipboard/lib.rb +2 -2
- data/lib/takeltau/bit/clipboard/paste.rb +1 -1
- data/lib/takeltau/bit/clipboard/pull.rb +1 -1
- data/lib/takeltau/bit/clipboard/push.rb +1 -1
- data/lib/takeltau/bit/require/cli.rb +1 -1
- data/lib/takeltau/bit/scope/add.rb +1 -1
- data/lib/takeltau/bit/scope/new.rb +1 -1
- data/lib/takeltau/bit/scope/ssh.rb +1 -1
- data/lib/takeltau/default.yml +15 -15
- data/lib/takeltau/init/packer/templates/projectyml.tt +2 -6
- data/lib/takeltau/version +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e82f2af1c2c229ff2ea5d879564ccfd41ee16ba048476b90b78d9c103bce661a
|
4
|
+
data.tar.gz: ae183298641fe90a53709328cdce0ba5198fbc8ea7313e94df4f88a3b49957bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2edb533b46f12c60ba39eada83d029d7c48ebe21eac9a6f76199f4eac87aa5b7346f0c5ea0b0c88aeebfe5bad335bd0bff14e7f98dd750598fbcf0162ce1244e
|
7
|
+
data.tar.gz: 1b7d1797d21a1aefa321f32215c2971b8a3452b2656f0b107593ea99d46d3ebc755915ec8e6dbf8e7af06c06faecedc8101957dbe13ddac71f0bdb99567a95a0
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![license](https://img.shields.io/github/license/takelwerk/takelage-cli?color=blueviolet)](https://github.com/takelwerk/takelage-cli/blob/main/LICENSE)
|
2
|
-
[![rubygems.org](https://img.shields.io/gem/v/
|
2
|
+
[![rubygems.org](https://img.shields.io/gem/v/takeltau?label=rubygems.org&color=blue)](https://rubygems.org/gems/takeltau)
|
3
3
|
[![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-cli/Build,%20test%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-cli/actions/workflows/build_test_deploy_project_on_push.yml)
|
4
4
|
[![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-cli/Test%20project?label=test%20project)](https://github.com/takelwerk/takelage-cli/actions/workflows/test_project_nightly.yml)
|
5
5
|
|
@@ -21,11 +21,12 @@ command line script using the
|
|
21
21
|
| --- | -------- |
|
22
22
|
| *[takelage-doc](https://github.com/takelwerk/takelage-doc)* | [![License](https://img.shields.io/github/license/takelwerk/takelage-doc?color=blueviolet)](https://github.com/takelwerk/takelage-doc/blob/main/LICENSE) |
|
23
23
|
| *[takelage-dev](https://github.com/takelwerk/takelage-dev)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelage/latest?label=hub.docker.com&sort=semver&color=blue)](https://hub.docker.com/r/takelwerk/takelage) |
|
24
|
-
| *[takelage-cli](https://github.com/takelwerk/takelage-cli)* | [![rubygems.org](https://img.shields.io/gem/v/
|
25
|
-
| *[takelage-var](https://github.com/takelwerk/takelage-var)* | [![pypi,org](https://img.shields.io/pypi/v/takeltest?label=pypi.org&color=blue)](https://pypi.org/project/takeltest/) |
|
24
|
+
| *[takelage-cli](https://github.com/takelwerk/takelage-cli)* | [![rubygems.org](https://img.shields.io/gem/v/takeltau?label=rubygems.org&color=blue)](https://rubygems.org/gems/takeltau) |
|
25
|
+
| *[takelage-var](https://github.com/takelwerk/takelage-var)* | [![pypi,org](https://img.shields.io/pypi/v/pytest-takeltest?label=pypi.org&color=blue)](https://pypi.org/project/pytest-takeltest/) |
|
26
26
|
| *[takelage-bit](https://github.com/takelwerk/takelage-bit)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/bitboard/latest?label=hub.docker.com&sort=semver&color=blue)](https://hub.docker.com/r/takelwerk/bitboard) |
|
27
27
|
| *[takelage-img-takelslim](https://github.com/takelwerk/takelage-img-takelslim)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelslim/latest?label=hub.docker.com&color=blue)](https://hub.docker.com/r/takelwerk/takelslim) |
|
28
28
|
| *[takelage-img-takelbase](https://github.com/takelwerk/takelage-img-takelbase)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelbase/latest?label=hub.docker.com&color=blue)](https://hub.docker.com/r/takelwerk/takelbase) |
|
29
|
+
| *[takelage-img-takelruby](https://github.com/takelwerk/takelage-img-takelruby)* | [![hub.docker.com](https://img.shields.io/docker/v/takelwerk/takelruby/latest?label=hub.docker.com&color=blue)](https://hub.docker.com/r/takelwerk/takelruby) |
|
29
30
|
|
30
31
|
## Framework Status
|
31
32
|
|
@@ -37,6 +38,7 @@ command line script using the
|
|
37
38
|
| *[takelage-bit](https://github.com/takelwerk/takelage-bit)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-bit/Build,%20test%20and%20deploy%20project?label=deploy%20project)](https://github.com/takelwerk/takelage-bit/actions/workflows/build_test_deploy_project_on_push.yml) | [![test project](https://img.shields.io/github/workflow/status/takelwerk/takelage-bit/Build%20and%20test%20project?label=test%20project)](https://github.com/takelwerk/takelage-bit/actions/workflows/build_test_project_nightly.yml) | [![test roles](https://img.shields.io/github/workflow/status/takelwerk/takelage-bit/Test%20roles?label=test%20roles)](https://github.com/takelwerk/takelage-bit/actions/workflows/build_test_roles_nightly.yml) |
|
38
39
|
| *[takelage-img-takelslim](https://github.com/takelwerk/takelage-img-takelslim)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-img-takelslim/Build%20and%20deploy%20takelslim?label=deploy%20project)](https://github.com/takelwerk/takelage-img-takelslim/actions/workflows/build_deploy_takelslim_nightly.yml) |
|
39
40
|
| *[takelage-img-takelbase](https://github.com/takelwerk/takelage-img-takelbase)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-img-takelbase/Build%20and%20deploy%20takelbase?label=deploy%20project)](https://github.com/takelwerk/takelage-img-takelbase/actions/workflows/build_deploy_takelbase_nightly.yml) |
|
41
|
+
| *[takelage-img-takelruby](https://github.com/takelwerk/takelage-img-takelruby)* | [![deploy project](https://img.shields.io/github/workflow/status/takelwerk/takelage-img-takelruby/Build%20and%20deploy%20takelruby%20latest?label=deploy%20project)](https://github.com/takelwerk/takelage-img-takelruby/actions/workflows/build_deploy_takelruby_nightly.yml) |
|
40
42
|
|
41
43
|
## Installation
|
42
44
|
|
@@ -57,7 +57,7 @@ module BitClipboardLib
|
|
57
57
|
|
58
58
|
# Sync workspace with upstream.
|
59
59
|
def _bit_clipboard_lib_sync_workspace
|
60
|
-
log.
|
60
|
+
log.info 'Syncing git workspace'
|
61
61
|
|
62
62
|
path = config.active['project_root_dir']
|
63
63
|
file = "#{path}/.bitmap"
|
@@ -105,7 +105,7 @@ module BitClipboardLib
|
|
105
105
|
|
106
106
|
# git pull.
|
107
107
|
def _bit_clipboard_lib_git_pull
|
108
|
-
log.
|
108
|
+
log.info 'Updating git workspace'
|
109
109
|
cmd_bit_clipboard_git_pull = format(
|
110
110
|
config.active['cmd_bit_clipboard_git_pull'],
|
111
111
|
main: config.active['git_bit_branch']
|
@@ -4,7 +4,7 @@
|
|
4
4
|
module BitClipboardPaste
|
5
5
|
# Backend method for bit paste.
|
6
6
|
def bit_clipboard_paste(cid, dir)
|
7
|
-
log.
|
7
|
+
log.info "Running bit paste \"#{cid}\" to \"#{dir}\""
|
8
8
|
|
9
9
|
return false unless configured? %w[project_root_dir]
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
module BitScopeAdd
|
5
5
|
# Backend method for bit scope add.
|
6
6
|
def bit_scope_add(scope)
|
7
|
-
log.
|
7
|
+
log.info "Adding bit remote scope \"#{scope}\" to local workspace"
|
8
8
|
|
9
9
|
return false unless configured? %w[bit_ssh bit_remote]
|
10
10
|
|
@@ -5,7 +5,7 @@ module BitScopeNew
|
|
5
5
|
# Backend method for bit scope new.
|
6
6
|
# @return [Int] status of new command
|
7
7
|
def bit_scope_new(scope)
|
8
|
-
log.
|
8
|
+
log.info "Creating new bit remote scope \"#{scope}\""
|
9
9
|
|
10
10
|
return false unless configured? %w[bit_ssh bit_remote]
|
11
11
|
|
data/lib/takeltau/default.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
bit_dev_user: '
|
2
|
+
bit_dev_user: 'takel'
|
3
3
|
bit_remote: ''
|
4
4
|
bit_require_file: 'bitrequire.yml'
|
5
5
|
bit_root: '/bit'
|
@@ -8,24 +8,24 @@ cmd_bit: 'bit'
|
|
8
8
|
cmd_bit_check_workspace_bit_list: 'bit status'
|
9
9
|
cmd_bit_check_workspace_pwd: 'pwd'
|
10
10
|
cmd_bit_clipboard_lib_bit_status: 'bit status'
|
11
|
-
cmd_bit_clipboard_copy_bit_list_scope: 'bit list --
|
12
|
-
cmd_bit_clipboard_copy_bit_list_remotes: 'bit remote
|
13
|
-
cmd_bit_clipboard_copy_bit_add_dir: 'bit add --
|
14
|
-
cmd_bit_clipboard_copy_bit_tag_id: 'bit tag --skip-
|
15
|
-
cmd_bit_clipboard_copy_bit_export_to_scope: 'bit export
|
11
|
+
cmd_bit_clipboard_copy_bit_list_scope: 'bit list --json %{scope}'
|
12
|
+
cmd_bit_clipboard_copy_bit_list_remotes: 'bit remote'
|
13
|
+
cmd_bit_clipboard_copy_bit_add_dir: 'bit add --id %{id} --main %{dir}/README.bit %{dir}'
|
14
|
+
cmd_bit_clipboard_copy_bit_tag_id: 'bit tag --skip-tests %{id}'
|
15
|
+
cmd_bit_clipboard_copy_bit_export_to_scope: 'bit export %{scope}'
|
16
16
|
cmd_bit_clipboard_git_add: 'git add %{file}'
|
17
17
|
cmd_bit_clipboard_git_commit: 'git commit --message="%{message}"'
|
18
18
|
cmd_bit_clipboard_git_pull: 'git pull origin %{main}'
|
19
19
|
cmd_bit_clipboard_git_push: 'git push origin %{main}'
|
20
|
-
cmd_bit_clipboard_paste_bit_list_scope: 'bit list --
|
21
|
-
cmd_bit_clipboard_paste_bit_import_cid: 'bit import --ignore-package-json --ignore-dist --
|
22
|
-
cmd_bit_clipboard_pull_bit_import_all: 'bit import --ignore-package-json --ignore-dist
|
23
|
-
cmd_bit_clipboard_pull_bit_checkout_all: 'bit checkout --ignore-package-json --ignore-dist --
|
24
|
-
cmd_bit_clipboard_push_bit_tag_all: 'bit tag --skip-
|
25
|
-
cmd_bit_clipboard_push_bit_export_all: 'bit export --
|
26
|
-
cmd_bit_clipboard_export_bit_list: 'bit list --
|
27
|
-
cmd_bit_require_lib_bit_list: 'bit list --
|
28
|
-
cmd_bit_require_lib_bit_list_ids: 'bit list --
|
20
|
+
cmd_bit_clipboard_paste_bit_list_scope: 'bit list --json %{scope}'
|
21
|
+
cmd_bit_clipboard_paste_bit_import_cid: 'bit import --ignore-package-json --ignore-dist --path %{dir} %{cid}'
|
22
|
+
cmd_bit_clipboard_pull_bit_import_all: 'bit import --ignore-package-json --ignore-dist'
|
23
|
+
cmd_bit_clipboard_pull_bit_checkout_all: 'bit checkout --ignore-package-json --ignore-dist --all latest'
|
24
|
+
cmd_bit_clipboard_push_bit_tag_all: 'bit tag --skip-tests --all'
|
25
|
+
cmd_bit_clipboard_push_bit_export_all: 'bit export --all'
|
26
|
+
cmd_bit_clipboard_export_bit_list: 'bit list --json %{scope}'
|
27
|
+
cmd_bit_require_lib_bit_list: 'bit list --json'
|
28
|
+
cmd_bit_require_lib_bit_list_ids: 'bit list --json --ids'
|
29
29
|
cmd_bit_scope_add_scope: 'bit remote add %{remote}/%{scope}'
|
30
30
|
cmd_bit_scope_list_find_scopes: 'find -L %{root} -name scope.json'
|
31
31
|
cmd_bit_scope_new_bit_init: 'mkdir -p %{root}/%{scope} && cd %{root}/%{scope} && bit init --bare'
|
@@ -2,18 +2,14 @@
|
|
2
2
|
name: <%= name %>
|
3
3
|
version: 0.1.0
|
4
4
|
|
5
|
-
pipelines:
|
6
|
-
- prod
|
7
|
-
|
8
5
|
images:
|
9
6
|
project:
|
10
|
-
base_user:
|
7
|
+
base_user: takelwerk
|
11
8
|
base_repo: takelslim
|
12
9
|
base_tag: latest
|
13
10
|
layers:
|
14
11
|
- site
|
15
|
-
|
16
|
-
target_user: takelage
|
12
|
+
target_user: takelwerk
|
17
13
|
target_repo: <%= name %>
|
18
14
|
|
19
15
|
local_user: packer_local
|
data/lib/takeltau/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.34.
|
1
|
+
0.34.15
|