diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 668c90b..0000000 --- a/.drone.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- -kind: pipeline -name: Image Builds -steps: -- name: Release Images - privileged: true - image: alpine - commands: - - apk update && apk add git bash curl jq qemu gzip qemu-system-x86_64 qemu-img - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing packer - - bash ./build.sh - environment: - GITHUB_TOKEN: - from_secret: "github_api_token" -trigger: - event: - - push - branch: - - main - -node: - location: glk diff --git a/build.sh b/build.sh index 94d592a..07eb7fa 100755 --- a/build.sh +++ b/build.sh @@ -44,17 +44,11 @@ do echo "exists" else [ -d "${i}/cloud-init" ] && genisoimage -output ${i}/cloud-init/seed.img -volid cidata -joliet -rock ${i}/cloud-init/user-data ${i}/cloud-init/meta-data - new_release+=("$i-$v") sudo packer init ${i}${i%/}.json.pkr.hcl sudo PACKER_LOG=1 packer build -var-file $v ${i}${i%/}.json.pkr.hcl sudo gzip ./tmp/${version}.qcow2 sudo mv ./tmp/${version}.qcow2.gz ${build_dir} sudo chmod 777 ${build_dir}/* - rm ./tmp -rf - text="new version for ${i%/} in version ${tversion}" - release_id=$(curl -X POST -H "Authorization: Bearer $token" -H "X-GitHub-Api-Version: 2022-11-28" -H "Accept: application/vnd.github+json" --data "$(post_data)" "https://api.github.com/repos/$repo_full_name/releases" | jq .id) - #curl --data-binary @${build_dir}/${version}.qcow2.gz -H "Authorization: Bearer $token" -H "Content-Type: application/octet-stream" "https://uploads.github.com/repos/$repo_full_name/releases/$release_id/assets?name=${version}.qcow2.gz&access_token=$token" - #sudo rm -rf @${build_dir}/ git fetch --all --tags fi done diff --git a/debian/v11.version.json b/debian/v11.version.json index 413dc5f..56a065d 100644 --- a/debian/v11.version.json +++ b/debian/v11.version.json @@ -1,6 +1,6 @@ { - "version": "12", - "version_name": "bookworm", - "build_version": "20230910-1499", + "version": "11", + "version_name": "bullseye", + "build_version": "20230912-1501", "iso_checksum": "9ce473f176735a0c54a0141dbce5090c" }