108 Commits

Author SHA1 Message Date
ducoterra
d83da677dd upgrade to 1.4.0 2022-02-04 21:25:39 -05:00
ducoterra
ab49c18f15 Merge update from Common 2021-12-13 15:14:25 -05:00
ducoterra
db2b6d66e3 Squashed '.gitlab/' changes from fe577bf..465f46a
465f46a Merge branch 'add-docker-compose-targets' into 'main'
f6aed2c add docker-compose init, up, and down targets
88716ad populate default values for VERSION and IMAGE file when docker-init is run
16ee2f3 Merge branch 'various-docker-fixes' into 'main'
5b3e196 fix docker build and remove release
4bf9d45 Merge branch 'prefix-docker-commands' into 'main'
91b77b3 don't reset head after subtree pull, it breaks things
66b4362 prefix all docker commands with docker-
ba2827a Merge branch 'allow-specify-branch' into 'main'
4de5558 ignore .gitlab
71ff227 Allow pulling specific branch with BRANCH_NAME
6430416 Merge branch 'add-helm-and-kube' into 'main'
bce675f Add install, upgrade, and uninstall for helm
1532f30 Add kubectl.makefile
cf41f2e Merge branch 'remove-push' into 'main'
ef81c95 Remove unused commands
81c19cc Don't use remote common
ea1e248 Update subtree add README
756cc8c Remove make-push
a4b7e34 Squash subtree on pull
524c5be Fix PROJECT_NAME variable
47dea48 Add automated commit to chart-release
REVERT: fe577bf remove old forge versions before unzipping
REVERT: 6c4354d Automated release for version 1.0.1
REVERT: 6fd156e genericize the container run commands by normalizing file names
REVERT: b776273 add update-version, remove get-server
REVERT: 4488fbf move values to helm/values.yaml
REVERT: dad1e4c sync versions to chart.yaml
REVERT: a171258 remove truenas chart stuff
REVERT: 84abbd4 Merge update from Common
REVERT: a13cfe6 Squashed '.gitlab/' changes from 6430416..16ee2f3
REVERT: 8b0a8fa setenv is deprecated
REVERT: 6213e7f pin FROM to use 8-jdk-bullseye
REVERT: 9dc2f0e switch to correct image in docker-compose
REVERT: b0991ea ignore versions folder where we keep pack zip files
REVERT: f8fc83b remove default values
REVERT: e2c677b add unzip and copy properties init container, don't mount properties
REVERT: d118b2d add the-1122-pack values
REVERT: a280110 Squashed '.gitlab/' changes from cf41f2e..6430416
REVERT: 6d11fde Merge update from Common
REVERT: 4497566 Squashed '.gitlab/' changes from 731ada6..cf41f2e
REVERT: 0520668 Merge update from Common
REVERT: 2de53de Remove .common
REVERT: a85a7aa Merge branch 'common-subtree'
REVERT: a074005 Add '.gitlab/' from commit '731ada6a3d65b2347ccf204cfe09ee278a4f0594'
REVERT: 422f4d4 remove .gitlab subtree
REVERT: a5aa0ca Automated release for version 1.0.2
REVERT: 65b3a84 make subtree "split" overhaul
REVERT: d181d45 Overhaul for get-server v. 2.0.0
REVERT: 0d2235b Merge branch 'common-makefile' into 'master'
REVERT: dbe0d47 Merge branch 'master' into 'common-makefile'
REVERT: c7c547c Switch to common Makefile
REVERT: a403f6f Merge commit '32cd04c7ec7aacf8e3a402e3aed310a6ea94b586' as '.common'
REVERT: 32cd04c Squashed '.common/' content from commit f187522
REVERT: 8d190e4 Add minecraft logo
REVERT: ba5ab53 Allow custom server versions
REVERT: a820e9a Allow custom server versions
REVERT: 9e788ee Add IMAGE and VERSION files
REVERT: d3b0f86 Switch to openjdk-latest and don't copy server.jar
REVERT: 2f7d4c7 Add Makefile
REVERT: aa253e6 Remove server.jar and docker-compose.yaml
REVERT: 773c1d6 Move install-specific values to a values folder
REVERT: dae5a09 Fix RAM issue with deploy
REVERT: 44053ab truenas compatibility update
REVERT: 807b186 set memory requirements to avoid sudden container death
REVERT: 99666ba add setenv
REVERT: 1b6b8bb update RAM for new cluster
REVERT: 95c7fa7 merge templates
REVERT: 7e0ff9e upgrade to 1.6.4
REVERT: 12fa8ec remove extra opts and remove threading
REVERT: 7d34b3a add charts for each server
REVERT: 95b0bd6 switch to configmap model
REVERT: ff2c9af servers to nvme
REVERT: 1dfb1f6 nvme for minecraft
REVERT: 3faf5c9 don't auto deploy
REVERT: 072bee6 update to 1.16.1
REVERT: e6a0429 fix port issue
REVERT: 7df518d set image
REVERT: ca4d1ee use tag in deploy
REVERT: 1ccc5cd fix tags
REVERT: 3ce71a6 add gitlab ci
REVERT: 151867f switch back to minecraft 1.15.2
REVERT: abc90be add images
REVERT: b727538 upgrade to 20w12a
REVERT: 17b0594 upgrade to 20w12a
REVERT: 9929e5d upgrade to 20w12a
REVERT: 00386c7 just copy files to mc_data
REVERT: 0c75d91 switch to ducoterra namespace
REVERT: 8bdae44 add README for backups
REVERT: 6264d75 set namespace to minecraft
REVERT: f59775d use a loadbalancer
REVERT: e54fdbe update IP
REVERT: 22987e0 comment horrible CMD
REVERT: 38b9dff add server.properties and update k8s with ram env
REVERT: da7cb2c add ram env
REVERT: 53e37ba switch to java 8 and only copy files that exist
REVERT: 0253598 add build script
REVERT: 095bbaa init

git-subtree-dir: .gitlab
git-subtree-split: 465f46ad48404c13c25d7e9a961d7a4ce7ee997a
2021-12-13 15:14:25 -05:00
ducoterra
16b7867abc Merge update from Common 2021-12-13 15:14:14 -05:00
ducoterra
0864aaa62e Squashed '.gitlab/' changes from 16ee2f3..fe577bf
fe577bf remove old forge versions before unzipping
6c4354d Automated release for version 1.0.1
6fd156e genericize the container run commands by normalizing file names
b776273 add update-version, remove get-server
4488fbf move values to helm/values.yaml
dad1e4c sync versions to chart.yaml
a171258 remove truenas chart stuff
84abbd4 Merge update from Common
a13cfe6 Squashed '.gitlab/' changes from 6430416..16ee2f3
8b0a8fa setenv is deprecated
6213e7f pin FROM to use 8-jdk-bullseye
9dc2f0e switch to correct image in docker-compose
b0991ea ignore versions folder where we keep pack zip files
f8fc83b remove default values
e2c677b add unzip and copy properties init container, don't mount properties
d118b2d add the-1122-pack values
a280110 Squashed '.gitlab/' changes from cf41f2e..6430416
6d11fde Merge update from Common
4497566 Squashed '.gitlab/' changes from 731ada6..cf41f2e
0520668 Merge update from Common
2de53de Remove .common
a85a7aa Merge branch 'common-subtree'
a074005 Add '.gitlab/' from commit '731ada6a3d65b2347ccf204cfe09ee278a4f0594'
422f4d4 remove .gitlab subtree
a5aa0ca Automated release for version 1.0.2
65b3a84 make subtree "split" overhaul
d181d45 Overhaul for get-server v. 2.0.0
0d2235b Merge branch 'common-makefile' into 'master'
dbe0d47 Merge branch 'master' into 'common-makefile'
c7c547c Switch to common Makefile
a403f6f Merge commit '32cd04c7ec7aacf8e3a402e3aed310a6ea94b586' as '.common'
32cd04c Squashed '.common/' content from commit f187522
8d190e4 Add minecraft logo
ba5ab53 Allow custom server versions
a820e9a Allow custom server versions
9e788ee Add IMAGE and VERSION files
d3b0f86 Switch to openjdk-latest and don't copy server.jar
2f7d4c7 Add Makefile
aa253e6 Remove server.jar and docker-compose.yaml
773c1d6 Move install-specific values to a values folder
dae5a09 Fix RAM issue with deploy
44053ab truenas compatibility update
807b186 set memory requirements to avoid sudden container death
99666ba add setenv
1b6b8bb update RAM for new cluster
95c7fa7 merge templates
7e0ff9e upgrade to 1.6.4
12fa8ec remove extra opts and remove threading
7d34b3a add charts for each server
95b0bd6 switch to configmap model
ff2c9af servers to nvme
1dfb1f6 nvme for minecraft
3faf5c9 don't auto deploy
072bee6 update to 1.16.1
e6a0429 fix port issue
7df518d set image
ca4d1ee use tag in deploy
1ccc5cd fix tags
3ce71a6 add gitlab ci
151867f switch back to minecraft 1.15.2
abc90be add images
b727538 upgrade to 20w12a
17b0594 upgrade to 20w12a
9929e5d upgrade to 20w12a
00386c7 just copy files to mc_data
0c75d91 switch to ducoterra namespace
8bdae44 add README for backups
6264d75 set namespace to minecraft
f59775d use a loadbalancer
e54fdbe update IP
22987e0 comment horrible CMD
38b9dff add server.properties and update k8s with ram env
da7cb2c add ram env
53e37ba switch to java 8 and only copy files that exist
0253598 add build script
095bbaa init
REVERT: 16ee2f3 Merge branch 'various-docker-fixes' into 'main'
REVERT: 5b3e196 fix docker build and remove release
REVERT: 4bf9d45 Merge branch 'prefix-docker-commands' into 'main'
REVERT: 91b77b3 don't reset head after subtree pull, it breaks things
REVERT: 66b4362 prefix all docker commands with docker-
REVERT: ba2827a Merge branch 'allow-specify-branch' into 'main'
REVERT: 4de5558 ignore .gitlab
REVERT: 71ff227 Allow pulling specific branch with BRANCH_NAME
REVERT: 6430416 Merge branch 'add-helm-and-kube' into 'main'
REVERT: bce675f Add install, upgrade, and uninstall for helm
REVERT: 1532f30 Add kubectl.makefile
REVERT: cf41f2e Merge branch 'remove-push' into 'main'
REVERT: ef81c95 Remove unused commands
REVERT: 81c19cc Don't use remote common
REVERT: ea1e248 Update subtree add README
REVERT: 756cc8c Remove make-push
REVERT: a4b7e34 Squash subtree on pull
REVERT: 524c5be Fix PROJECT_NAME variable
REVERT: 47dea48 Add automated commit to chart-release

git-subtree-dir: .gitlab
git-subtree-split: fe577bfc4c
2021-12-13 15:14:14 -05:00
ducoterra
fe577bfc4c remove old forge versions before unzipping 2021-12-13 14:51:49 -05:00
ducoterra
6c4354d193 Automated release for version 1.0.1 2021-12-13 12:53:52 -05:00
ducoterra
6fd156e929 genericize the container run commands by normalizing file names 2021-12-13 12:40:15 -05:00
ducoterra
b7762734d3 add update-version, remove get-server 2021-12-13 12:18:21 -05:00
ducoterra
4488fbf92f move values to helm/values.yaml 2021-12-13 12:18:07 -05:00
ducoterra
dad1e4c082 sync versions to chart.yaml 2021-12-13 12:17:43 -05:00
ducoterra
a171258edd remove truenas chart stuff 2021-12-13 12:17:33 -05:00
ducoterra
a13cfe64d0 Squashed '.gitlab/' changes from 6430416..16ee2f3
16ee2f3 Merge branch 'various-docker-fixes' into 'main'
5b3e196 fix docker build and remove release
4bf9d45 Merge branch 'prefix-docker-commands' into 'main'
91b77b3 don't reset head after subtree pull, it breaks things
66b4362 prefix all docker commands with docker-
ba2827a Merge branch 'allow-specify-branch' into 'main'
4de5558 ignore .gitlab
71ff227 Allow pulling specific branch with BRANCH_NAME

git-subtree-dir: .gitlab
git-subtree-split: 16ee2f3ddcc1235cb4a6b7a38c82d52859e8408f
2021-12-13 12:06:42 -05:00
ducoterra
84abbd4cab Merge update from Common 2021-12-13 12:06:42 -05:00
ducoterra
8b0a8fab1f setenv is deprecated 2021-12-13 12:06:38 -05:00
ducoterra
6213e7face pin FROM to use 8-jdk-bullseye 2021-12-13 12:04:10 -05:00
ducoterra
9dc2f0eee7 switch to correct image in docker-compose 2021-12-13 12:00:31 -05:00
ducoterra
b0991eadef ignore versions folder where we keep pack zip files 2021-12-13 12:00:07 -05:00
ducoterra
f8fc83bf3a remove default values 2021-12-13 11:59:01 -05:00
ducoterra
e2c677b960 add unzip and copy properties init container, don't mount properties 2021-12-13 11:58:54 -05:00
ducoterra
d118b2d011 add the-1122-pack values 2021-12-13 11:58:32 -05:00
ducoterra
a280110e97 Squashed '.gitlab/' changes from cf41f2e..6430416
6430416 Merge branch 'add-helm-and-kube' into 'main'
bce675f Add install, upgrade, and uninstall for helm
1532f30 Add kubectl.makefile

git-subtree-dir: .gitlab
git-subtree-split: 64304160b9a4bb369bd89019e887d65b4e206896
2021-12-05 22:21:09 -05:00
ducoterra
6d11fde3e6 Merge update from Common 2021-12-05 22:21:09 -05:00
ducoterra
44975664b6 Squashed '.gitlab/' changes from 731ada6..cf41f2e
cf41f2e Merge branch 'remove-push' into 'main'
ef81c95 Remove unused commands
81c19cc Don't use remote common
ea1e248 Update subtree add README
756cc8c Remove make-push
a4b7e34 Squash subtree on pull
524c5be Fix PROJECT_NAME variable
47dea48 Add automated commit to chart-release

git-subtree-dir: .gitlab
git-subtree-split: cf41f2e7768da3a340b86debcddc949b588448c7
2021-11-02 15:48:46 -04:00
ducoterra
05206686ad Merge update from Common 2021-11-02 15:48:46 -04:00
ducoterra
2de53def19 Remove .common 2021-11-02 12:46:40 -04:00
ducoterra
a85a7aa84f Merge branch 'common-subtree' 2021-11-02 12:45:47 -04:00
ducoterra
a07400506a Add '.gitlab/' from commit '731ada6a3d65b2347ccf204cfe09ee278a4f0594'
git-subtree-dir: .gitlab
git-subtree-mainline: 422f4d49bd
git-subtree-split: 731ada6a3d
2021-11-02 11:59:31 -04:00
ducoterra
422f4d49bd remove .gitlab subtree 2021-11-02 11:59:08 -04:00
Reese
731ada6a3d Merge branch 'make-update-fixes' into 'main'
Update README with "common" remote

See merge request services/common!4
2021-11-02 15:50:30 +00:00
ducoterra
c3e6d733c6 Switch to "subtree split" push strategy
Split the subtree into a new branch before pushing to common. This
creates a new branch automatically and ensures no weird histories get
committed to common.
2021-11-02 11:48:15 -04:00
ducoterra
3c91292fea Make user stash their own damn changes
Stashing is so annoying to deal with in a scripted way. Just force the
user to stash their own changes. Only subtree pull if it's possible.
2021-11-02 11:47:29 -04:00
ducoterra
d86b5052a8 Add PROJECT_NAME and VERSION
Add PROJECT_NAME and VERSION variables to Makefile.
2021-11-02 11:46:53 -04:00
ducoterra
9d0c9c6388 Update README with "common" remote
Add instructions for adding subtree using a remote called "common". You
need the remote to properly contribute back upstream from a child
project.
2021-11-02 11:45:57 -04:00
Reese
30fb8c2171 Merge branch 'docker-buidlx-overhaul' into 'main'
Switch to container-builder buildx platform

See merge request services/common!2
2021-11-02 15:44:36 +00:00
Reese
fd96b3f3a3 Merge branch 'git-release' into 'main'
Add make git-release

See merge request services/common!3
2021-11-02 15:44:26 +00:00
ducoterra
a6053ed3f0 Add make git-release
Add command which makes an automated release from the VERSION file.
Commits and tags everything not staged in the repo.
2021-11-02 10:25:18 -04:00
ducoterra
3563c5c2aa Add make docker-release
Add docker-release command which updates the image tag in the
docker-compose.yaml and runs a `make push`.
2021-11-02 10:23:53 -04:00
ducoterra
40a217b585 Use buildx to create multi-arch images
clear and set the buildx context on push. Then use --push with buildx
build to push the multi-arch images immediately after creating them.
This gets around the need to store them locally (which won't work for
something like an M1 mac).
2021-11-02 10:22:48 -04:00
ducoterra
5e2bc5f872 Switch to container-builder buildx platform
Continue using buildx with a new container builder name
"container-builder".
2021-11-02 10:19:21 -04:00
ducoterra
a5aa0cacbe Automated release for version 1.0.2 2021-11-02 10:08:38 -04:00
ducoterra
65b3a84e96 make subtree "split" overhaul
In order to create cleaner histories we should be using subtree split
and push in order to preview the changes as an MR before pushing to
main.
2021-11-02 10:07:50 -04:00
ducoterra
d181d452e8 Overhaul for get-server v. 2.0.0
Since get-server downloads its own jarfile this commit overhauls a lot
of the minecraft deploy to match the new strategy. It also updates the
README and adds makefile targets for a few new commands.
2021-11-02 10:05:01 -04:00
ducoterra
9eed50962c Don't squash on pull
Don't squash updates on pull
2021-11-01 20:32:27 -04:00
ducoterra
b07a2c095b Run update after make-push
To close things out we should re-run make-update to ensure changes are
pulled back into the repo we updated from.
2021-11-01 10:05:43 -04:00
ducoterra
22a952dd53 Remove warning from make-update
make-update isn't as destructive as it once was. It should be safe to
run as long as the developer is fixes any weird merge conflicts after
stash pop.
2021-11-01 10:02:35 -04:00
ducoterra
0f6eeb776e Add make-stash-drop command
Sometimes you can get stuck in a loop where git stash pop preserves the
stash commit. Dropping that commit if it's a STASH commit after an
update is totally fine.
2021-11-01 10:01:12 -04:00
ducoterra
f81d846f31 Only pop stash if changes
Only pop the stash if the most recent stash commit matches the STASH
name.
2021-11-01 09:56:37 -04:00
ducoterra
afed93f58a Add warning to make-update and make-push
Add warning before make-update and make-push to alert developers that
running the commands might be destructive. Allow cancelling the command
up to 3 seconds before continuing. Also explain that merge conflicts
warrant a re-run of the command.
2021-11-01 09:38:00 -04:00
ducoterra
6239af7f74 Ignore git stash pop failures
In the event the stash is empty, don't run stash pop.
2021-11-01 09:23:36 -04:00