@suffolklitlab/alkiln 5.0.2-feat-github-server-9 → 5.0.2-feat-github-server-10
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.
- package/.github/workflows/github_server.yml +1 -1
- package/action.yml +1 -1
- package/github_server/action.yml +14 -1
- package/lib/utils/log.js +1 -1
- package/package.json +1 -1
- package/setup.py +1 -1
|
@@ -58,6 +58,6 @@ jobs:
|
|
|
58
58
|
DOCASSEMBLE_DEVELOPER_API_KEY: "${{ steps.github_server.outputs.DOCASSEMBLE_DEVELOPER_API_KEY }}"
|
|
59
59
|
INSTALL_METHOD: "server"
|
|
60
60
|
# TODO: See what happens if this is an empty string
|
|
61
|
-
ALKILN_VERSION: "5.0.2-feat-github-server-
|
|
61
|
+
ALKILN_VERSION: "5.0.2-feat-github-server-10"
|
|
62
62
|
- run: echo "Finished running ALKiln tests"
|
|
63
63
|
|
package/action.yml
CHANGED
package/github_server/action.yml
CHANGED
|
@@ -7,6 +7,8 @@ description: "Download and start up a temporary docassemble server on GitHub's s
|
|
|
7
7
|
# Took 121 seconds
|
|
8
8
|
# The rerun of the test completed that step just fine, though it took less time
|
|
9
9
|
# Took 120 and was fine: https://github.com/SuffolkLITLab/ALKiln/actions/runs/5913167036/job/16037288791
|
|
10
|
+
# 150:
|
|
11
|
+
# https://github.com/SuffolkLITLab/ALKiln/actions/runs/5914677262/job/16040233419
|
|
10
12
|
|
|
11
13
|
inputs:
|
|
12
14
|
CONFIG_CONTENTS:
|
|
@@ -24,6 +26,12 @@ outputs:
|
|
|
24
26
|
SERVER_URL:
|
|
25
27
|
description: "Use this inside `with:` for the ALKiln step. URL of the temporary docassemble server."
|
|
26
28
|
value: "http://localhost"
|
|
29
|
+
DA_ADMIN_EMAIL:
|
|
30
|
+
#value: ${{ steps.api_key_output_step.outputs.DA_ADMIN_EMAIL }}
|
|
31
|
+
value: "admin@example.com"
|
|
32
|
+
DA_ADMIN_PASSWORD:
|
|
33
|
+
#value: ${{ steps.api_key_output_step.outputs.DA_ADMIN_PASSWORD }}
|
|
34
|
+
value: "password"
|
|
27
35
|
|
|
28
36
|
|
|
29
37
|
runs:
|
|
@@ -36,9 +44,14 @@ runs:
|
|
|
36
44
|
echo "CLONE_URL=${{ github.server_url }}/${{ github.repository }}.git" >> $GITHUB_ENV
|
|
37
45
|
echo "OWNER_AND_REPO_NAME=${{ github.repository }}" >> $GITHUB_ENV
|
|
38
46
|
echo "BRANCH_REF=${{ github.ref }}" >> $GITHUB_ENV
|
|
47
|
+
echo "DA_ADMIN_EMAIL=admin@example.com" >> $GITHUB_ENV
|
|
48
|
+
echo "DA_ADMIN_PASSWORD=password" >> $GITHUB_ENV
|
|
39
49
|
shell: bash
|
|
40
50
|
- id: api_key_output_step
|
|
41
|
-
run:
|
|
51
|
+
run: |
|
|
52
|
+
echo "::set-output name=DOCASSEMBLE_DEVELOPER_API_KEY::$DA_ADMIN_API_KEY"
|
|
53
|
+
echo "::set-output name=DA_ADMIN_EMAIL::$DA_ADMIN_EMAIL"
|
|
54
|
+
echo "::set-output name=DA_ADMIN_PASSWORD::$DA_ADMIN_PASSWORD"
|
|
42
55
|
shell: bash
|
|
43
56
|
- name: "github_server: Download and start docker"
|
|
44
57
|
run: |
|
package/lib/utils/log.js
CHANGED
|
@@ -42,7 +42,7 @@ log.error = function ({ type='', pre='', data='', post='' }) {
|
|
|
42
42
|
|
|
43
43
|
log.debug = function ({ type='', pre='', data='', post='' }) {
|
|
44
44
|
/* If debugging is turned on, log a message that includes `ALKiln` and `debug` */
|
|
45
|
-
if ( session_vars.get_debug() ) {
|
|
45
|
+
if ( session_vars.get_debug() || session_vars.get_dangerous_debug() ) {
|
|
46
46
|
let start = create_msg_start([ type, 'debug' ], pre );
|
|
47
47
|
// Log them each on a separate line
|
|
48
48
|
console.log( `ALKiln ${ type } debug: ${ pre }` );
|
package/package.json
CHANGED
package/setup.py
CHANGED
|
@@ -53,7 +53,7 @@ setup(name='docassemble.ALKiln',
|
|
|
53
53
|
url='https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/automated_integrated_testing',
|
|
54
54
|
packages=find_packages(),
|
|
55
55
|
namespace_packages=['docassemble'],
|
|
56
|
-
install_requires=['docassemble.ALToolbox>=0.
|
|
56
|
+
install_requires=['docassemble.ALToolbox>=0.8.2', 'docassemble.AssemblyLine>=2.24.0'],
|
|
57
57
|
zip_safe=False,
|
|
58
58
|
package_data=find_package_data(where='docassemble/ALKiln/', package='docassemble.ALKiln'),
|
|
59
59
|
)
|