mirror of
https://github.com/rancher/os.git
synced 2025-09-02 07:15:41 +00:00
Add PingAn Cloud Support
This commit is contained in:
5
Makefile
5
Makefile
@@ -73,6 +73,11 @@ proxmoxve: .dapper
|
||||
APPEND_SYSTEM_IMAGES="rancher/os-qemuguestagent:v2.8.1-2" \
|
||||
./.dapper release-proxmoxve 2>&1 | tee dist/release.log
|
||||
|
||||
pingan: .dapper
|
||||
mkdir -p dist
|
||||
APPEND_SYSTEM_IMAGES="rancher/os-pingan-amc:v0.0.6-1" \
|
||||
./.dapper release-pingan 2>&1 | tee dist/release.log
|
||||
|
||||
help:
|
||||
@./scripts/help
|
||||
|
||||
|
@@ -55,6 +55,9 @@ for file in $(ls .make-*); do
|
||||
".make-4glte")
|
||||
cache_services "m/modem-manager.yml"
|
||||
;;
|
||||
".make-pingan")
|
||||
cache_services "p/pingan-amc.yml"
|
||||
;;
|
||||
".make-hyperv")
|
||||
cache_services "h/hyperv-vm-tools.yml"
|
||||
;;
|
||||
|
25
scripts/release-pingan
Executable file
25
scripts/release-pingan
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
touch .make-pingan
|
||||
|
||||
source ./scripts/version
|
||||
./scripts/release-build
|
||||
|
||||
touch dist/publish_gss_${VERSION}.sh dist/publish_gss_latest.sh
|
||||
chmod 755 dist/publish_gss_${VERSION}.sh dist/publish_gss_latest.sh
|
||||
|
||||
for file in $(ls dist/artifacts/); do
|
||||
case $file in
|
||||
"initrd-"*)
|
||||
echo "gsutil cp dist/artifacts/${file} gs://releases.rancher.com/os/latest/pingan/initrd" >> ./dist/publish_gss_latest.sh
|
||||
echo "gsutil cp dist/artifacts/${file} gs://releases.rancher.com/os/${VERSION}/pingan/initrd" >> ./dist/publish_gss_${VERSION}.sh
|
||||
;;
|
||||
"rancheros.iso" | "rootfs.tar.gz")
|
||||
echo "gsutil cp dist/artifacts/${file} gs://releases.rancher.com/os/latest/pingan/${file}" >> ./dist/publish_gss_latest.sh
|
||||
echo "gsutil cp dist/artifacts/${file} gs://releases.rancher.com/os/${VERSION}/pingan/${file}" >> ./dist/publish_gss_${VERSION}.sh
|
||||
;;
|
||||
esac
|
||||
done
|
Reference in New Issue
Block a user