ci: Update for new ruamel.yaml API
dustin/dustin.web/pipeline/head There was a failure building this commit
Details
dustin/dustin.web/pipeline/head There was a failure building this commit
Details
The old `safe_load` and similar PyYAML compatibility functions have been removed from recent(-ish) versions of _ruamel.yaml_.master
parent
313bc6805e
commit
914ce34521
|
@ -1,9 +1,10 @@
|
||||||
python3 -m pip install --user ruamel.yaml
|
python3 -m pip install --user ruamel.yaml
|
||||||
python3 /dev/fd/3 < songquotes.yml > public/songquotes.json 3<<EOF
|
python3 /dev/fd/3 < songquotes.yml > public/songquotes.json 3<<EOF
|
||||||
from ruamel.yaml import safe_load as load
|
from ruamel.yaml import YAML
|
||||||
from json import dump
|
from json import dump
|
||||||
import sys
|
import sys
|
||||||
dump(load(sys.stdin), sys.stdout)
|
yaml = YAML()
|
||||||
|
dump(yaml.load(sys.stdin), sys.stdout)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
tar -cJf dustin.web.tar.xz -C public .
|
tar -cJf dustin.web.tar.xz -C public .
|
||||||
|
|
|
@ -5,7 +5,7 @@ spec:
|
||||||
- name: zola
|
- name: zola
|
||||||
image: git.pyrocufflink.net/containerimages/zola
|
image: git.pyrocufflink.net/containerimages/zola
|
||||||
- name: python
|
- name: python
|
||||||
image: docker.io/python:3.10
|
image: docker.io/python:3
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in New Issue