-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal: update vcpkg & docker-related files (#1295)
- Loading branch information
Showing
10 changed files
with
40 additions
and
167 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
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
SKYMP_VCPKG_DEPS_IMAGE=skymp/skymp-vcpkg-deps:20221216-1 | ||
SKYMP_VCPKG_DEPS_IMAGE=skymp/skymp-vcpkg-deps:20230105-1 |
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,30 @@ | ||
#!/usr/bin/env bash | ||
|
||
# run from repository root: | ||
# nice ./misc/build-docker-image.sh YYYYMMDD-rev | ||
|
||
if [ "" == "$1" ]; then | ||
echo Expected version tag >&2 | ||
exit 1 | ||
fi | ||
VERSION_TAG="$1" | ||
shift | ||
|
||
set -e | ||
set -x | ||
|
||
VCPKG_URL="`git -C vcpkg remote get-url origin`" | ||
VCPKG_COMMIT="`git -C vcpkg rev-parse HEAD`" | ||
|
||
sed -i -r -e 's/(skymp-(vcpkg-deps|runtime-base):)[-0-9a-zA-Z]+/\1'"$VERSION_TAG"'/g' ci/github_env_linux ci/deploy/remote/branchctl.sh | ||
|
||
podman build . --target=skymp-vcpkg-deps --tag=skymp/skymp-vcpkg-deps:"$VERSION_TAG" --cpu-quota=$((100000*10)) --build-arg VCPKG_URL="$VCPKG_URL" --build-arg VCPKG_COMMIT="$VCPKG_COMMIT" | ||
podman build . --target=skymp-runtime-base --tag=skymp/skymp-runtime-base:"$VERSION_TAG" --cpu-quota=$((100000*10)) --build-arg VCPKG_URL="$VCPKG_URL" --build-arg VCPKG_COMMIT="$VCPKG_COMMIT" | ||
|
||
set +x | ||
echo -n 'ENTER to push' | ||
read | ||
set -x | ||
|
||
podman push localhost/skymp/skymp-vcpkg-deps:"$VERSION_TAG" docker.io/skymp/skymp-vcpkg-deps:"$VERSION_TAG" | ||
podman push localhost/skymp/skymp-runtime-base:"$VERSION_TAG" docker.io/skymp/skymp-runtime-base:"$VERSION_TAG" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule vcpkg
updated
1006 files