From 4085dbfc55764a8f36496525bea26086e5e203ae Mon Sep 17 00:00:00 2001 From: James Ives Date: Thu, 19 Sep 2024 09:36:01 -0800 Subject: [PATCH] build: Resolve issue with nested files not correctly mapping inside the container #patch (#37) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build: add auto-labeler and sponsors information (#17) * Update README.md * Create sponsors.yml * Create label.yml * test: resolve issue thing * style: remove typo * chore: update * build(deps): bump softprops/action-gh-release from 1 to 2 (#18) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/checkout from 3 to 4 (#19) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: 📝 Improve documentation (#21) * docs: docker whale image * Update README.md * Update README.md * Update README.md * docs: add more examples * docs: add more examples * docs: improve docs * Update README.md * Update README.md * Update README.md * test * Update BUILDING_AN_IMAGE.md * Update label.yml * Delete crowbar.png * Update README.md * Update sponsors.yml * docs: more doc improvements/spell checks etc * Deploying to beta from @ JamesIves/hlds-docker@ee94d7ce3c59b132a08827d977fb9df8e620a0b7 🚀 * Update sponsors.yml * Update README.md * docs: server -> joinable not error * Update CUSTOM_MODS.md * Update SERVER_CONFIGS_AND_PLUGINS.md * Update README.md * Update README.md * Update BUG.yml * docs: fix clipping issue * build: :wrench: adjust docker-compose.local to docker-compose.build as it more accurately describes its task * feat: split things into container dir * docs: shuffle docs around * Update beta.yml * Update publish.yml * Update README.md * docs: improve REAMDE * Update README.md * Update CONTRIBUTING.md * docs: remove old examples * docs: cleanup docs * Update Dockerfile * Update Dockerfile * Update Dockerfile * docs: more doc examples. * Update docker-compose.yml * Update .gitignore * Update entrypoint.sh * build(deps): bump anothrNick/github-tag-action from 1.69.0 to 1.70.0 (#24) Bumps [anothrNick/github-tag-action](https://github.com/anothrnick/github-tag-action) from 1.69.0 to 1.70.0. - [Release notes](https://github.com/anothrnick/github-tag-action/releases) - [Commits](https://github.com/anothrnick/github-tag-action/compare/1.69.0...1.70.0) --- updated-dependencies: - dependency-name: anothrNick/github-tag-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: 📝 Improved bug report form and added rcon_password example (#26) * Update BUG.yml * t * Update BUG.yml * Update BUG.yml * docs: include private sponsors [skip ci] * chore: Update sponsors 💖 [skip ci] * docs: update sponsors again [skip ci] * chore: Update sponsors 💖 [skip ci] * Update sponsors.yml * chore: Update sponsors 💖 [skip ci] * chore: Update sponsors 💖 [skip ci] * feat: support titles with legacy beta versions, ie valve-legacy, cstrike-legacy and czero-legacy * fix: properly pass in flags * fix: adjust how flags are passed in * build: :wrench: Rename FLAGS -> FLAG to mirror GAME * fix: pass in correct game name * docs: remove build: docker as its not needed * build(startup): :wrench: Setup initial build debug scripts * build: add meta data for image * fix: adjust ordering of ascii art * chore: adjust default startup to use hldm * Squashed commit of the following: commit 3e3d74c47cd969d2ceb5428b0d3364ea859044bb Author: James Ives Date: Mon Sep 9 09:48:14 2024 -0400 docs: update bug template #minor * chore: Update sponsors 💖 [skip ci] * fix: recursively push files (#34) * Fix: Ensure existing files are updated accordingly. (#36) --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JamesIves --- README.md | 2 +- container/entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b25d960..ce40d4a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Special thank you to all the past and present [GitHub Sponsors](https://github.com/sponsors/JamesIves) 💖. -Chooksta69  MattWillFlood  jonathan-milan-pollock  raoulvdberge  robjtede  hadley  kevinchalet  Yousazoe  github  annegentle  planetoftheweb  melton1968  szepeviktor  sckott  provinzkraut  electrovir  Griefed  MontezumaIves       +Chooksta69  MattWillFlood  jonathan-milan-pollock  raoulvdberge  robjtede  hadley  kevinchalet  Yousazoe  github  annegentle  planetoftheweb  melton1968  szepeviktor  sckott  provinzkraut  electrovir  Griefed  MontezumaIves       ## Getting Started 🚀 diff --git a/container/entrypoint.sh b/container/entrypoint.sh index 318730c..b8342a6 100644 --- a/container/entrypoint.sh +++ b/container/entrypoint.sh @@ -11,12 +11,12 @@ fi # Push mods and config files from their temp directories to the server directories. if [ -d /temp/mods ] then - rsync --chown=steam:steam /temp/mods/* /opt/steam/hlds + rsync --recursive --update --chown=steam:steam /temp/mods/* /opt/steam/hlds fi if [ -d /temp/config ] then - rsync --chown=steam:steam /temp/config/* /opt/steam/hlds/$GAME + rsync --recursive --update --chown=steam:steam /temp/config/* /opt/steam/hlds/$GAME fi