Skip to content

Commit

Permalink
Merge remote-tracking branch 'clangenofficial/development'
Browse files Browse the repository at this point in the history
  • Loading branch information
afellowcorn committed Jan 10, 2025
2 parents 467663d + fdab408 commit 2b31454
Show file tree
Hide file tree
Showing 2,012 changed files with 402,956 additions and 347,645 deletions.
42 changes: 0 additions & 42 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Bug report
description: Create a report to help us improve
title: "[BUG] "
body:
- type: dropdown
id: type
attributes:
label: Type of bug
description: What kind of issue are you experiencing?
options:
- Please choose an option...
- UI - anything to do with the user interface - maybe a button is not working, or the way some assets are formatted seems to be off.
- Sprite - an issue with the art in the game
- Audio - issues related to the audio system
- Code - general bugs related to how the game runs and responds to you.
- 'Typo - misspellings or incorrect grammar - IMPORTANT: "bugs" of this type are collected here: https://github.com/ClanGenOfficial/clangen/issues/1818'
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Describe the bug
placeholder: "ex.: This bug implies that the cat is never..."
validations:
required: true
- type: dropdown
id: grade
attributes:
label: Grade
description: How much of an impact does this issue have on play?
options:
- Please choose an option...
- Game-breaking - a bug that makes it impossible to play the game
- Dire - Still playable, but a major feature is broken
- Important - The bug has a large effect on the gameplay but is not urgent
- Regular - A typical bug that should be seen to soon, but doesn't necessarily break the game or inhibit the player
- Non-vital - This bug can easily be ignored and does not have a large impact on play
- Unimportant - This bug has little to no impact on play.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the behavior
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: patrol
attributes:
label: Patrol ID + Outcome Print (if applicable)
placeholder: If you don't know what this means, you probably don't need to fill it out.
- type: input
id: version
attributes:
label: "Commit # or Game Version Number"
validations:
required: true
- type: textarea
id: additional_context
attributes:
label: Additional context
placeholder: Add any other context about the problem here.
- type: textarea
id: screenshots
attributes:
label: Screenshots
placeholder: If applicable, add screenshots to help explain your problem.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Describe the project. Please be detailed.


**Scope of Project**
Please choose from following list, feel free to give further details:
Please choose from the following list, feel free to give further details:
- Requires Specific Skills (please specify skills)
- Medium-sized Project (a new feature that is on the smaller size)
- Large Project (substantial new feature, like a new page for a new purpose)
Expand All @@ -21,4 +21,4 @@ We encourage you to have already made progress or to plan to also contribute art


**Relevant Links**
Is there a draft PR already made? Is there a forum post for it? Link them here.
Is there a draft PR already made? Is there a forum post for it? Link them here.
12 changes: 6 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<!-- Write BELOW The Headers and ABOVE The comments else it may not be viewable. -->
<!-- You can view CONTRIBUTING.md for a detailed description of the pull request process. -->
<!-- Be sure to name your PR something descriptive and succinct; include Bugfix:, Feature:, Enhancement: or Content: in the title to describe what type of PR it is. -->
<!-- Be sure to name your PR something descriptive and succinct; include Bugfix: Feature: Enhancement: or Content: in the title to describe what type of PR it is. -->

## About The Pull Request

<!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage senior developers from merging your PR! -->

## Why This Is Good For ClanGen

<!-- If this is a bugfix, you can remove this section. -->
<!-- If this is a bug fix, you can remove this section. -->
<!-- Please add a short description of why you think these changes would benefit the game. -->
<!-- If this PR was the result of discussion/testing on the discord, please add a link to the discord conversation here. -->
<!-- If you have multiple features that can stand on their own, or unrelated bugfixes, please create separate PRs for them. -->

## Linked Issues

<!-- If this is not related to an issue, you can remove this section. -->
<!-- If this was in response to a github issue, please write it here with the format Fixes: #1234 so that github knows to link the issues. -->
<!-- If this is unrelated to an issue, you can remove this section. -->
<!-- If this was in response to a GitHub issue, please write it here with the format Fixes: #1234 so that GitHub knows to link the issues. -->
<!-- If this PR was the result of discussion/testing on the discord, please add a link to the discord conversation here. -->

## Proof of Testing

<!-- Include any screenshots, debugging steps or links to beta testing threads here. At least one form of proof of testing is REQUIRED for all new content. You must be able to run the code locally before you PR it here. -->
<!-- Include any screenshots, debugging steps, or links to beta testing threads here. At least one form of proof of testing is REQUIRED for all new content. You must be able to run the code locally before you PR it here. -->

## Changelog/Credits

<!-- Include any changes that should be made to the changelog of the game here, or any changes to the credits file of the game. -->
<!-- Include any changes that should be made to the changelog of the game here or any changes to the credits file of the game. -->
<!-- This is just for easy access later for senior developers gathering this information; this process is not automated. -->
62 changes: 62 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Docker Build and Push

on:
push:
branches: [ "development" ]
paths:
- ".github/workflows/build-docs.yml"
- "Dockerfile"
- "docs/**"
- "docs-resources/**"
- "mkdocs.yml"
- "pyproject.toml"
- "poetry.lock"

jobs:
build:
runs-on: ubuntu-latest
if: vars.DO_BUILD_DOCS == 'true'
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ secrets.REGISTRY_URL }}/clangen/clangen-docs
tags: |
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Login to private registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
secrets: |
mkdocs_git_committers_apikey=${{ secrets.GITHUB_TOKEN }}
- name: Set up kubernetex context
uses: azure/setup-kubectl@v3
- name: Set Kubernetes context
uses: Azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.DOCS_RESTART_KUBECONFIG }}
- name: Restart deployment
run: kubectl rollout restart deployment/clangen-docs -n clangen
Loading

0 comments on commit 2b31454

Please sign in to comment.