Skip to content

Commit 473ee28

Browse files
Copilotabdurriq
andcommitted
Clean up redundant directory changes and add documentation
Co-authored-by: abdurriq <[email protected]>
1 parent aa41689 commit 473ee28

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/oryx/NOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55
See [supportedPlatformVersions.md](https://github.com/microsoft/Oryx/blob/main/doc/supportedPlatformVersions.md) on the Oryx repository for supported platforms. Notably, `oryx` does not support Debian "jammy".
66

77
`bash` is required to execute the `install.sh` script.
8+
9+
## Pinned Oryx Commit
10+
11+
The Oryx repository is pinned to commit `689fdef61a38802f1e1deda40be5933cc75e3631` (2026-01-13) to avoid a breaking change introduced in commit `21c559437d69cb43fd9b34f01f68c43ea4bce318` that added a `GetFileSize` method to `ISourceRepo` without updating the `MemorySourceRepo` test mock implementation, causing compilation failures.
12+
13+
This pin should be reviewed periodically and updated once the upstream issue is resolved.

src/oryx/install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,17 +183,14 @@ mkdir -p ${ORYX}
183183
git clone https://github.com/microsoft/Oryx $GIT_ORYX
184184
cd $GIT_ORYX
185185
git checkout $ORYX_PINNED_COMMIT
186-
cd -
187186

188187
if [[ "${PINNED_SDK_VERSION}" != "" ]]; then
189-
cd $GIT_ORYX
190188
dotnet new globaljson --sdk-version ${PINNED_SDK_VERSION}
191189
fi
192190

193191
SOLUTION_FILE_NAME="Oryx.sln"
194192
echo "Building solution '$SOLUTION_FILE_NAME'..."
195193

196-
cd $GIT_ORYX
197194
${DOTNET_BINARY} build "$SOLUTION_FILE_NAME" -c Debug
198195

199196
${DOTNET_BINARY} publish -property:ValidateExecutableReferencesMatchSelfContained=false -r linux-x64 -o ${BUILD_SCRIPT_GENERATOR} -c Release $GIT_ORYX/src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj --self-contained true

0 commit comments

Comments
 (0)