Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maze
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rafael László
Maze
Commits
dd28e907
Commit
dd28e907
authored
3 years ago
by
Rafael László
Browse files
Options
Downloads
Patches
Plain Diff
Update runner disk space and reformat tf files
parent
6fcb5827
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
terraform/main.tf
+2
-2
2 additions, 2 deletions
terraform/main.tf
terraform/router.tf
+2
-2
2 additions, 2 deletions
terraform/router.tf
terraform/runner.tf
+24
-23
24 additions, 23 deletions
terraform/runner.tf
with
28 additions
and
27 deletions
terraform/main.tf
+
2
−
2
View file @
dd28e907
terraform
{
required_providers
{
proxmox
=
{
source
=
"Telmate/proxmox"
source
=
"Telmate/proxmox"
version
=
"2.7.1"
}
}
...
...
@@ -10,7 +10,7 @@ terraform {
}
provider
"proxmox"
{
pm_api_url
=
"https://10.152.211.122:8006/api2/json"
pm_api_url
=
"https://10.152.211.122:8006/api2/json"
pm_tls_insecure
=
true
}
...
...
This diff is collapsed.
Click to expand it.
terraform/router.tf
+
2
−
2
View file @
dd28e907
...
...
@@ -15,7 +15,7 @@ resource "proxmox_lxc" "router" {
startup
=
"order=1"
unprivileged
=
true
ssh_public_keys
=
local
.
ssh_keys
ssh_public_keys
=
local
.
ssh_keys
rootfs
{
storage
=
"ssd"
...
...
@@ -34,7 +34,7 @@ resource "proxmox_lxc" "router" {
name
=
"eth1"
bridge
=
"vmbr0"
ip
=
"192.168.99.254/22"
ip6
=
"fd00::9:254/96"
ip6
=
"fd00::9:254/96"
hwaddr
=
"7A:9C:F7:A8:5D:1C"
}
}
This diff is collapsed.
Click to expand it.
terraform/runner.tf
+
24
−
23
View file @
dd28e907
resource
"proxmox_vm_qemu"
"gitlab-runner"
{
name
=
"gitlab-runner"
desc
=
"Docker Gitlab Runner"
vmid
=
6050
name
=
"gitlab-runner"
desc
=
"Docker Gitlab Runner"
vmid
=
6050
target_node
=
"maze"
target_node
=
"maze"
clone
=
"ubuntu-cloudinit-21.04"
clone
=
"ubuntu-cloudinit-21.04"
agent
=
1
agent
=
1
cores
=
6
sockets
=
1
vcpus
=
0
memory
=
18000
cores
=
6
sockets
=
1
vcpus
=
0
memory
=
18000
os_type
=
"cloud-init"
os_type
=
"cloud-init"
disk
{
size
=
"
20
G"
type
=
"virtio"
storage
=
"ssd"
}
disk
{
size
=
"
35
G"
type
=
"virtio"
storage
=
"ssd"
}
network
{
model
=
"virtio"
bridge
=
"vmbr0"
}
network
{
model
=
"virtio"
bridge
=
"vmbr0"
macaddr
=
"7A:19:32:CF:F5:EB"
}
nameserver
=
"8.8.8.8"
ipconfig0
=
"ip=192.168.96.50/22,gw=192.168.99.254"
sshkeys
=
<<-
EOT
nameserver
=
"8.8.8.8"
ipconfig0
=
"ip=192.168.96.50/22,gw=192.168.99.254"
sshkeys
=
<<-
EOT
ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIHXuXr
/
Mz1ENkvZ
+
Ntc9dF1r8VK62XaZtsMaV7N
+
CMZ8
rlacko
@
personal
EOT
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment