File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 21
21
permissions :
22
22
contents : read
23
23
packages : write
24
-
24
+
25
25
steps :
26
26
- name : Checkout Codebase
27
27
uses : actions/checkout@v3
34
34
35
35
- name : Setup QEMU for Multi-Arch images
36
36
uses : docker/setup-qemu-action@v2
37
-
37
+
38
38
- name : setup Docker Buildx for Multi-Arch images
39
39
uses : docker/setup-buildx-action@v2
40
40
44
44
registry : ${{ env.REGISTRY }}
45
45
username : ${{ github.actor }}
46
46
password : ${{ secrets.GITHUB_TOKEN }}
47
-
47
+
48
48
- name : Build and Push Image
49
49
uses : docker/build-push-action@v4
50
50
with :
Original file line number Diff line number Diff line change 23
23
python-version :
24
24
- " 3.12"
25
25
- " 3.11"
26
-
26
+
27
27
steps :
28
28
- name : Checkout Codebase
29
29
uses : actions/checkout@v4
@@ -32,27 +32,27 @@ jobs:
32
32
uses : actions/setup-python@v5
33
33
with :
34
34
python-version : ${{ matrix.python-version }}
35
-
35
+
36
36
- name : Install ansible and pip dependencies
37
37
run : python -m pip install -r requirements.txt
38
-
38
+
39
39
- name : Install ansible.utils collection
40
40
run : ansible-galaxy collection install -r requirements.yml
41
41
42
42
- name : Generate the Default Komponist Stack
43
43
run : ansible-playbook -vv generate_stack.yml
44
-
44
+
45
45
- name : Test Integrity of Generated Directories
46
46
run : ansible-playbook tests/test_generated_directories.yml
47
-
47
+
48
48
- name : Test Integrity of Generated Files
49
49
run : ansible-playbook tests/test_generated_files.yml
50
50
51
51
- name : Test Schema Validation Checks for Generated Files
52
52
run : ansible-playbook tests/test_schemas.yml
53
-
53
+
54
54
- name : Test Content Checks for Generated Files for Mosquitto / Node-RED
55
55
run : ansible-playbook tests/test_file_contents.yml
56
-
56
+
57
57
- name : Test Containers for Komponist
58
58
run : ansible-playbook tests/test_compose_containers.yml
Original file line number Diff line number Diff line change 73
73
74
74
- name : (Online) Read `nodes.json` File for Bootstrapping Node-RED
75
75
ansible.builtin.set_fact :
76
- external_nodes : " {{ lookup(' ansible.builtin.file', '{{ komponist.deploy_dir | default(ansible_user_dir + ' /.komponist') }} /nodered/nodes.json' ) }}"
76
+ external_nodes : ' {{ lookup(" ansible.builtin.file", komponist.deploy_dir | default(ansible_user_dir + " /.komponist") + " /nodered/nodes.json" ) }}'
77
77
tags : [online]
78
78
79
79
- name : (Online) Bootstrap Node-RED with External Nodes using nodes.json
Original file line number Diff line number Diff line change 80
80
- name : Generate nodes.json File for External Node Modules
81
81
ansible.builtin.copy :
82
82
dest : " {{ komponist.deploy_dir | default(ansible_user_dir + '/.komponist') }}/nodered/nodes.json"
83
- content : " {{ external_nodes | to_nice_jsotrue
83
+ content : " {{ external_nodes | to_nice_json }} "
84
84
mode : " 0640"
85
85
tags : [always]
86
86
You can’t perform that action at this time.
0 commit comments