Skip to content

Problem: type of vars in environment. #3991

Description

@2327

Issue

Hello everyone. I am using Semaphore 2.18.12 and have noticed a few issues.

  1. When opening a task for editing, it is not possible to close the window using the esc key, although in other sections this works during editing.

  2. It is only possible to create variables of type "list" or "dict" by editing in JSON mode.

I am using the terraform provider to configure semaphore instances and ran into this problem. I also tried adding variables through static files, but without success. It would probably be very useful if it were possible to explicitly specify the variable type. For example:
json: {required JSON here}

Impact

Semaphore Project

Installation method

Binary

Database

MySQL

Browser

Chrome

Semaphore Version

2.18.12-8a4dcf0-1780941761

Ansible Version

Collection        Version
----------------- -------
ansible.eda       1.3.4  
cldx.grafana      2.0.1  
cldx.observ       0.4.0  
community.proxmox 1.4.0  
community.vmware  3.9.0  
grafana.grafana   2.1.4  


pip:
acme==2.1.0
ansible==7.3.0
ansible-core==2.14.3
anyio==3.6.2
apache-libcloud==3.4.1
argcomplete==2.0.0
attrs==22.2.0
Babel==2.10.3
bcrypt==3.2.2
beautifulsoup4==4.11.2
cached-property==1.5.2
certbot==2.1.0
certbot-nginx==2.1.0
certifi==2022.9.24
cffi==1.15.1
chardet==5.1.0
charset-normalizer==3.0.1
click==8.1.3
colorama==0.4.6
ConfigArgParse==1.5.3
configobj==5.0.8
cryptography==38.0.4
dbus-python==1.3.2
decorator==5.1.1
distro==1.8.0
distro-info==1.5+cx1
dnspython==2.3.0
docker==5.0.3
docker-compose==1.25.0
dockerpty==0.4.1
docopt==0.6.2
gssapi==1.8.2
h11==0.14.0
h2==4.1.0
hpack==4.0.0
html5lib==1.1
httpcore==0.16.3
httplib2==0.20.4
httpx==0.23.3
hvac==0.11.2
hyperframe==6.0.0
idna==3.3
importlib-metadata==4.12.0
invoke==2.0.0
ipaclient==4.11.0
ipalib==4.11.0
ipaplatform==4.11.0
ipapython==4.11.0
Jinja2==3.1.2
jmespath==1.0.1
josepy==1.13.0
jsonpointer==2.3
jsonschema==4.10.3
lockfile==0.12.2
lxml==4.9.2
markdown-it-py==2.1.0
MarkupSafe==2.1.2
mdurl==0.1.2
more-itertools==8.10.0
netaddr==0.8.0
netifaces==0.11.0
ntlm-auth==1.4.0
olefile==0.46
packaging==23.0
paramiko==2.12.0
parsedatetime==2.6
pexpect==4.8.0
Pillow==9.4.0
ply==3.11
proxmoxer==2.0.1
ptyprocess==0.7.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
pycryptodomex==3.11.0
pycurl==7.45.2
Pygments==2.14.0
PyGObject==3.42.2
pyhcl==0.4.4
PyICU==2.10.2
pykerberos==1.1.14
PyNaCl==1.5.0
pyOpenSSL==23.0.0
pyparsing==3.0.9
pypng==0.20220715.0
pyRFC3339==1.1
pyrsistent==0.18.1
python-apt==2.6.0+cx1
python-augeas==0.5.0
python-debian==0.1.49+cx1
python-debianbts==4.0.1
python-ldap==3.4.3
python-yubico==1.3.3
pytz==2022.7.1
pyusb==1.2.1.post2+cx1
pyvmomi==8.0.2.0.1
pywinrm==0.3.0
PyYAML==6.0
qrcode==7.4.2
reportbug==12.0.0
requests==2.28.1
requests-kerberos==0.12.0
requests-ntlm==1.1.0
requests-toolbelt==0.10.1
resolvelib==0.9.0
rfc3986==1.5.0
rfc3987==1.3.8
rich==13.3.1
selinux==3.4
simplejson==3.18.3
six==1.16.0
sniffio==1.2.0
soupsieve==2.3.2
texttable==1.6.7
typing_extensions==4.4.0
unattended-upgrades==0.1
uritemplate==4.1.1
urllib3==1.26.12
webcolors==1.11.1
webencodings==0.5.1
websocket-client==1.2.3
xmltodict==0.13.0
zipp==1.0.0

Logs & errors

No response

Manual installation - system information

No response

Configuration

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions