-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 25b6540
Showing
87 changed files
with
2,424 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>crafthippie/.github//renovate/preset" | ||
], | ||
"packageRules": [ | ||
{ | ||
"datasources": [ | ||
"docker" | ||
], | ||
"updateTypes": [ | ||
"major", | ||
"minor", | ||
"patch" | ||
], | ||
"enabled": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "Usage: ${0} VERSION" | ||
exit 1 | ||
fi | ||
|
||
VERSION=${1} | ||
shift | ||
|
||
ROOT=$(cd "$(dirname "$0")/../.."; pwd) | ||
|
||
sed \ | ||
-i \ | ||
's|newTag:.*|newTag: '${VERSION}'|' \ | ||
"${ROOT}/deploy/kubernetes/kustomization.yml" | ||
|
||
sed \ | ||
-i \ | ||
's|version = ".*"|version = "'${VERSION}'"|' \ | ||
"${ROOT}/pack.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
commitsOnly: true | ||
anyCommit: true | ||
allowMergeCommits: true | ||
allowRevertCommits: true | ||
|
||
types: | ||
- feat | ||
- fix | ||
- docs | ||
- style | ||
- refactor | ||
- perf | ||
- test | ||
- build | ||
- ci | ||
- chore | ||
- revert | ||
- major | ||
- minor | ||
- patch | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
repository: | ||
name: skyblock | ||
description: Minecraft mod pack Skyblock | ||
homepage: https://crafthippie.github.io/skyblock | ||
topics: docker, image, container, minecraft, server, client | ||
|
||
private: false | ||
has_issues: true | ||
has_wiki: false | ||
has_downloads: false | ||
|
||
default_branch: master | ||
|
||
allow_squash_merge: true | ||
allow_merge_commit: true | ||
allow_rebase_merge: true | ||
|
||
allow_update_branch: true | ||
allow_auto_merge: true | ||
delete_branch_on_merge: true | ||
enable_automated_security_fixes: true | ||
enable_vulnerability_alerts: true | ||
|
||
labels: | ||
- name: bug | ||
color: d73a4a | ||
description: Something isn't working | ||
- name: duplicate | ||
color: cfd3d7 | ||
description: This issue or pull request already exists | ||
- name: enhancement | ||
color: a2eeef | ||
description: New feature or request | ||
- name: good first issue | ||
color: 7057ff | ||
description: Good for newcomers | ||
- name: help wanted | ||
color: 008672 | ||
description: Extra attention is needed | ||
- name: invalid | ||
color: e4e669 | ||
description: This doesn't seem right | ||
- name: question | ||
color: d876e3 | ||
description: Further information is requested | ||
- name: renovate | ||
color: e99695 | ||
description: Automated action from Renovate | ||
- name: wontfix | ||
color: ffffff | ||
description: This will not be worked on | ||
- name: outdated | ||
color: cccccc | ||
description: This is out of scope and outdated | ||
|
||
teams: | ||
- name: admins | ||
permission: admin | ||
- name: bots | ||
permission: admin | ||
- name: members | ||
permission: maintain | ||
|
||
branches: | ||
- name: master | ||
protection: | ||
required_pull_request_reviews: null | ||
required_status_checks: | ||
strict: true | ||
contexts: [] | ||
enforce_admins: false | ||
restrictions: | ||
apps: | ||
- renovate | ||
users: [] | ||
teams: | ||
- admins | ||
- bots | ||
- members | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
name: client | ||
|
||
"on": | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
|
||
jobs: | ||
client: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout source | ||
id: source | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure aws | ||
id: aws | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: eu-central-1 | ||
|
||
- name: Install packwiz | ||
id: packwiz | ||
uses: actionhippie/install-packwiz@v1 | ||
|
||
- name: Build package | ||
id: package | ||
run: make build | ||
|
||
- name: Sign package | ||
id: gpgsign | ||
uses: actionhippie/gpgsign@v1 | ||
with: | ||
private_key: ${{ secrets.GNUPG_KEY }} | ||
passphrase: ${{ secrets.GNUPG_PASSWORD }} | ||
detach_sign: true | ||
files: | | ||
dist/*.mrpack | ||
- name: Upload release | ||
id: upload | ||
if: startsWith(github.ref, 'refs/tags/') | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
allowUpdates: true | ||
omitBody: true | ||
artifacts: dist/* | ||
|
||
- name: Upload version | ||
id: version | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: | | ||
aws s3 sync dist/ s3://dl.webhippie.de/minecraft/skyblock/${{ github.ref_name }}/ | ||
- name: Upload testing | ||
id: testing | ||
if: startsWith(github.ref, 'refs/heads/') | ||
run: | | ||
aws s3 sync dist/ s3://dl.webhippie.de/minecraft/skyblock/testing/ | ||
... |
Oops, something went wrong.