Added gitea CT
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
String[] ImgVariantList = ['minmal', 'default']
|
||||
String[] ImgVariantList = ['minmal', 'default' , 'gitea' ]
|
||||
|
||||
pipeline {
|
||||
agent { label 'LXCBuilder' }
|
||||
|
||||
@@ -256,6 +256,21 @@ files:
|
||||
# Stuff to do before rebooting
|
||||
::shutdown:/sbin/openrc shutdown
|
||||
|
||||
#Readme for FirstRunScript
|
||||
- path: /root/ReadMe
|
||||
generator: dump
|
||||
content: |-
|
||||
To setup this container edit and run the FirstRun script `/opt/Setup/Scripts/FirstRun.sh`
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
#FileForGitea
|
||||
- path: /opt/Setup
|
||||
generator: copy
|
||||
source: CT-Files/gitea
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
packages:
|
||||
manager: apk
|
||||
update: true
|
||||
@@ -271,6 +286,13 @@ packages:
|
||||
action: install
|
||||
variants:
|
||||
- default
|
||||
- packages:
|
||||
- py3-pip
|
||||
- xz
|
||||
- git
|
||||
action: install
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
repositories:
|
||||
- name: /etc/apk/repositories
|
||||
@@ -307,5 +329,14 @@ actions:
|
||||
echo "Europe/Amsterdam" > /etc/timezone
|
||||
ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
|
||||
|
||||
#Run provided init script
|
||||
- trigger: post-files
|
||||
action: |-
|
||||
#!/bin/sh
|
||||
ash /opt/Setup/Scripts/Init.sh
|
||||
rm /opt/Setup/Scripts/Init.sh
|
||||
variants:
|
||||
- gitea
|
||||
|
||||
mappings:
|
||||
architecture_map: alpinelinux
|
||||
|
||||
@@ -862,14 +862,14 @@ files:
|
||||
variants:
|
||||
- imgbuilder
|
||||
|
||||
#Readme for imgbuilder
|
||||
#Readme for FirstRunScript
|
||||
- path: /root/ReadMe
|
||||
generator: dump
|
||||
content: |-
|
||||
To setup Jenkins on this system edit and run the FirstRun script `/opt/Setup/Scripts/FirstRun.sh`
|
||||
Make sure a container with imgbuilder is all ready up and running
|
||||
To setup this container run the FirstRun script `/opt/Setup/Scripts/FirstRun.sh`
|
||||
variants:
|
||||
- imgbuilder
|
||||
- mysql
|
||||
|
||||
#FilesForJenkinsVariant
|
||||
- path: /root/ReadMe
|
||||
|
||||
Reference in New Issue
Block a user