File tree Expand file tree Collapse file tree
packages/system/seaweedfs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 mkdir -p charts
99 version=$$(git ls-remote --tags --sort="v:refname" https://github.com/seaweedfs/seaweedfs | grep -v '\^{}' | grep 'refs/tags/[0-9]' | awk -F'/' 'END{print $$3}' ) && \
1010 curl -sSL https://github.com/seaweedfs/seaweedfs/archive/refs/tags/$$ {version}.tar.gz | \
11- tar xzvf - --strip 3 -C charts seaweedfs-$$ {version}/k8s/charts/seaweedfs && \
12- sed -i.bak " /ARG VERSION/ s|=.*|=$$ {version}|g" images/seaweedfs/Dockerfile && \
13- rm -f images/seaweedfs/Dockerfile.bak
11+ tar xzvf - --strip 3 -C charts seaweedfs-$$ {version}/k8s/charts/seaweedfs
1412 patch --no-backup-if-mismatch -p4 < patches/resize-api-server-annotation.diff
1513 patch --no-backup-if-mismatch -p4 < patches/s3-traffic-distribution.patch
1614 # patch --no-backup-if-mismatch -p4 < patches/retention-policy-delete.yaml
1715
18- image :
19- docker buildx build images/seaweedfs \
20- --tag $(REGISTRY ) /seaweedfs:$(call settag,$(TAG ) ) \
21- --cache-from type=registry,ref=$(REGISTRY ) /seaweedfs:latest \
22- --cache-to type=inline \
23- --metadata-file images/seaweedfs.json \
24- $(BUILDX_ARGS )
25- REGISTRY=" $( REGISTRY) " \
26- yq -i ' .seaweedfs.image.registry = strenv(REGISTRY)' values.yaml
27- TAG=$(TAG ) @$$(yq e '."containerimage.digest"' images/seaweedfs.json -o json -r ) \
28- yq -i ' .seaweedfs.image.tag = strenv(TAG)' values.yaml
29- yq -i ' .global.imageName = "seaweedfs"' values.yaml
30- rm -f images/seaweedfs.json
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments