Skip to content

Commit 3b0cc25

Browse files
committed
docs: Update permissions in workflow file and add Proxmox variables configuration.
- Added read/write permissions for various actions in the workflow file. - Included Proxmox variables configuration for AlmaLinux 9.4 deployment.
1 parent 6de82ab commit 3b0cc25

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed

.github/workflows/01_lint_me.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ on:
66
push:
77
pull_request:
88
branches: [master, main, develop]
9+
10+
permissions:
11+
actions: read
12+
attestations: read
13+
contents: read
14+
deployments: read
15+
discussions: read
16+
issues: read
17+
packages: write
18+
pages: read
19+
pull-requests: write
20+
repository-projects: read
21+
security-events: read
22+
statuses: write
23+
checks: write
24+
id-token: write
25+
926
jobs:
1027
# Set the job key. The key is displayed as the job name
1128
# when a job name is not provided
@@ -14,7 +31,6 @@ jobs:
1431
name: Lint code base
1532
# Set the type of machine to run on
1633
runs-on: ubuntu-latest
17-
1834
steps:
1935
# Checks out a copy of your repository on the ubuntu-latest machine
2036
- name: Checkout code
@@ -29,4 +45,4 @@ jobs:
2945
DEFAULT_BRANCH: ${{ github.ref_name }}
3046
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3147
VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }}
32-
VALIDATE_YAML: true
48+
# VALIDATE_YAML: true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
ansible_extra_args = ["-e", "@extra/playbooks/provision_alma9_variables.yml", "-e", "@variables/almalinux9.yml","--scp-extra-args", "'-O'"]
3+
ansible_verbosity = ["-v"]
4+
ballooning_minimum = "0"
5+
boot_command = "<tab> text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/almalinux/9/proxmox/ks.cfg<enter><wait10>esc<wait60><esc>"
6+
boot_wait = "15s"
7+
cloud-init_path = "extra/files/cloud-init/rhel/generic/cloud.cfg"
8+
cores = "4"
9+
cpu_type = "host"
10+
disable_kvm = false
11+
disks = {
12+
cache_mode = "none"
13+
disk_size = "50G"
14+
format = "raw"
15+
type = "virtio"
16+
storage_pool = "zfs"
17+
io_thread = true
18+
discard = true
19+
}
20+
insecure_skip_tls_verify = true
21+
iso_file = "images:iso/AlmaLinux-9.4-x86_64-dvd.iso"
22+
memory = "4096"
23+
network_adapters = {
24+
bridge = "vmbr0"
25+
model = "virtio"
26+
firewall = false
27+
mac_address = ""
28+
vlan_tag = ""
29+
}
30+
proxmox_node = "proxmox6"
31+
qemu_agent = true
32+
scsi_controller = "virtio-scsi-single"
33+
sockets = "1"
34+
ssh_password = "password"
35+
ssh_username = "root"
36+
task_timeout = "20m"
37+
template = "almalinux9.4"
38+
unmount_iso = true

0 commit comments

Comments
 (0)