From 08ea8e8f5a019343b5c614ad1dc75965083229ef Mon Sep 17 00:00:00 2001 From: Martin Cholewa Date: Mon, 6 Oct 2025 14:03:44 +0200 Subject: [PATCH] renaming jobs --- .gitea/workflows/140_DEPLOY_cloudINIT140.yaml | 33 ------------------- .gitea/workflows/cloudINIT140_DEPLOY.yaml | 33 +++++++++++++++++++ ...dINIT140.yaml => cloudINIT240_DELETE.yaml} | 4 +-- ...dINIT241.yaml => cloudINIT241_DELETE.yaml} | 0 ...dINIT241.yaml => cloudINIT241_DEPLOY.yaml} | 0 5 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 .gitea/workflows/140_DEPLOY_cloudINIT140.yaml create mode 100644 .gitea/workflows/cloudINIT140_DEPLOY.yaml rename .gitea/workflows/{140_DELETE_cloudINIT140.yaml => cloudINIT240_DELETE.yaml} (88%) rename .gitea/workflows/{241_DELETE_cloudINIT241.yaml => cloudINIT241_DELETE.yaml} (100%) rename .gitea/workflows/{241_DEPLOY_cloudINIT241.yaml => cloudINIT241_DEPLOY.yaml} (100%) diff --git a/.gitea/workflows/140_DEPLOY_cloudINIT140.yaml b/.gitea/workflows/140_DEPLOY_cloudINIT140.yaml deleted file mode 100644 index 28fb7fb..0000000 --- a/.gitea/workflows/140_DEPLOY_cloudINIT140.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: DEPLOY VM at proxmox - -on: - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - - name: Deploying VM to Proxmox - uses: appleboy/ssh-action@v1.2.0 - with: - host: 192.168.11.102 - username: root - password: ${{ secrets.PASSWORD }} - port: 22 - script: | - pveversion - qm create 140 --name cloudINIT140 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26 - qm set 140 --bios seabios - qm importdisk 140 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk - qm set 140 --virtio0 smallDisk:140/vm-140-disk-0.raw - qm set 140 --ide2 smallDisk:cloudinit - qm set 140 --boot order=virtio0 - qm set 140 --ipconfig0 ip=192.168.11.240/24,gw=192.168.11.1 - qm set 140 --ciuser chs --cipassword genius - qm set 140 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key") - qm set 140 --agent enabled=1 - qm start 140 - qm resize 140 virtio0 +30G - \ No newline at end of file diff --git a/.gitea/workflows/cloudINIT140_DEPLOY.yaml b/.gitea/workflows/cloudINIT140_DEPLOY.yaml new file mode 100644 index 0000000..877914c --- /dev/null +++ b/.gitea/workflows/cloudINIT140_DEPLOY.yaml @@ -0,0 +1,33 @@ +name: DEPLOY VM at proxmox + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + + - name: Deploying VM to Proxmox + uses: appleboy/ssh-action@v1.2.0 + with: + host: 192.168.11.102 + username: root + password: ${{ secrets.PASSWORD }} + port: 22 + script: | + pveversion + qm create 240 --name cloudINIT240 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26 + qm set 240 --bios seabios + qm importdisk 240 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk + qm set 240 --virtio0 smallDisk:240/vm-240-disk-0.raw + qm set 240 --ide2 smallDisk:cloudinit + qm set 240 --boot order=virtio0 + qm set 240 --ipconfig0 ip=192.168.11.240/24,gw=192.168.11.1 + qm set 240 --ciuser chs --cipassword genius + qm set 240 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key") + qm set 240 --agent enabled=1 + qm start 240 + qm resize 240 virtio0 +30G + \ No newline at end of file diff --git a/.gitea/workflows/140_DELETE_cloudINIT140.yaml b/.gitea/workflows/cloudINIT240_DELETE.yaml similarity index 88% rename from .gitea/workflows/140_DELETE_cloudINIT140.yaml rename to .gitea/workflows/cloudINIT240_DELETE.yaml index 211cf14..ba9f67f 100644 --- a/.gitea/workflows/140_DELETE_cloudINIT140.yaml +++ b/.gitea/workflows/cloudINIT240_DELETE.yaml @@ -18,6 +18,6 @@ jobs: port: 22 script: | pveversion - qm stop 140 - qm destroy 140 + qm stop 240 + qm destroy 240 \ No newline at end of file diff --git a/.gitea/workflows/241_DELETE_cloudINIT241.yaml b/.gitea/workflows/cloudINIT241_DELETE.yaml similarity index 100% rename from .gitea/workflows/241_DELETE_cloudINIT241.yaml rename to .gitea/workflows/cloudINIT241_DELETE.yaml diff --git a/.gitea/workflows/241_DEPLOY_cloudINIT241.yaml b/.gitea/workflows/cloudINIT241_DEPLOY.yaml similarity index 100% rename from .gitea/workflows/241_DEPLOY_cloudINIT241.yaml rename to .gitea/workflows/cloudINIT241_DEPLOY.yaml