update salt-build
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Paul 2025-09-13 21:10:47 +02:00
parent c684593271
commit 3e8236a1c0
5 changed files with 44 additions and 2 deletions

31
.drone.yml Normal file
View File

@ -0,0 +1,31 @@
---
kind: pipeline
type: docker
name: default-amd64
platform:
os: linux
arch: amd64
steps:
- name: build
image: debian:unstable
commands:
- apt update && apt install -y wget patchelf
- ./install.sh
when:
event:
exclude:
- tag
- name: publish
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: "out/*.tar.xz"
environment:
PLUGIN_TITLE: ""
when:
event:
- tag

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# salt-build
## what ?
salt-build is making onedir saltstack builds for linux
## how ?

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
docker build -t salt-build . docker build -t salt-build .
docker run -it -v $(pwd)/out:/out salt-build /salt/install.sh docker run -it -v $(pwd)/out:/out salt-build /salt/install.sh 3006.8

View File

@ -14,4 +14,4 @@ relenv create /salt/salt --python=3.11.13
/salt/salt/bin/pip3 install /tmp/salt-${SALT_VERSION} /salt/salt/bin/pip3 install /tmp/salt-${SALT_VERSION}
/salt/salt/bin/pip3 install -r require.txt /salt/salt/bin/pip3 install -r require.txt
tar -C /salt -czvf /out/salt-${SALT_VERSION}-linux-${ARCH}.tar.gz salt tar -C /salt -cJvf /out/salt-${SALT_VERSION}-linux-${ARCH}.tar.xz salt

View File

@ -1,6 +1,7 @@
PyYAML==6.0.2 PyYAML==6.0.2
cryptography==45.0.7 cryptography==45.0.7
distro==1.9.0 distro==1.9.0
docker==7.1.0
jinja2==3.1.6 jinja2==3.1.6
looseversion==1.3.0 looseversion==1.3.0
msgpack==1.1.1 msgpack==1.1.1
@ -8,4 +9,5 @@ packaging==25.0
psycopg2==2.9.10 psycopg2==2.9.10
pycryptodomex==3.23.0 pycryptodomex==3.23.0
pyzmq==27.1.0 pyzmq==27.1.0
requests==2.32.5
tornado==6.5.2 tornado==6.5.2