moves un-used files to deprecated folder

This commit is contained in:
2022-03-30 06:57:27 -05:00
parent b620de0f11
commit d2d5c5d5ba
6 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
def repository = "registry.c.test-chamber-13.lan"
def repositoryCreds = "harbor-repository-creds"
def dockerFile = """
FROM ${repository}/dockerhub/cm2network/steamcmd:latest
LABEL maintainer="The_Spider <spider@smoothnet.org>"
EXPOSE 15777/udp
EXPOSE 15000/udp
EXPOSE 777/udp
RUN /home/steam/steamcmd/steamcmd.sh +quit && \\
/home/steam/steamcmd/steamcmd.sh +force_install_dir /home/steam/SatisfactoryDedicatedServer +login anonymous +app_update 1690800 validate +quit
WORKDIR /home/steam/SatisfactoryDedicatedServer
ENTRYPOINT ["/bin/bash" "-c" "./FactoryServer.sh -multihome=0.0.0.0"]
"""
def label = "kubernetes-${UUID.randomUUID().toString()}"
def templateName = "pipeline-worker"
podTemplate (
label: label,
name: templateName,
yaml: functions.podYaml(
repo: repository,
templateName: templateName,
kaniko: true,
alpine: true
)
){
node (label) {
functions.buildContainer(
repository: repository,
imageDest: "${repository}/library/statafactory-server:latest",
dockerFile: dockerFile,
repoCreds: repositoryCreds,
)
functions.deletePod(
kubeAuth: "rancher-admin-token",
kubeURL: "https://rancher.test-chamber-13.lan/k8s/clusters/c-mc9cq",
namespace: "game-servers",
selector: "app=satasfactory"
)
}
}