switch to EL8 image and fix pipeline

This commit is contained in:
Zheyu Shen 2024-10-16 06:44:57 +08:00
Родитель f50e9116cb
Коммит 0db935e56c
3 изменённых файлов: 6 добавлений и 4 удалений

4
.github/workflows/nuget.yml поставляемый
Просмотреть файл

@ -25,5 +25,5 @@ jobs:
-e PUBLISH_PACKAGE_PASSWORD=${{ secrets.AZURE_ARTIFACTS_PASSWORD }} \
-v "$(pwd):/hpcpack-linux-agent" \
-w "/hpcpack-linux-agent/nodemanager" \
ghcr.io/phusion/holy-build-box/hbb-64 \
bash build_and_get_artifact.sh
phusion/holy-build-box:latest \
bash build_and_get_artifact.sh

Просмотреть файл

@ -4,7 +4,7 @@
We offer an script to help build artifacts. You can build and get artifacts under `build` by running:
```bash
docker run -t -i --rm -v `pwd`/../:/hpcpack-linux-agent ghcr.io/phusion/holy-build-box/hbb-64 bash /hpcpack-linux-agent/nodemanager/build_and_get_artifact.sh
docker run -t -i --rm -v `pwd`/../:/hpcpack-linux-agent phusion/holy-build-box:latest bash /hpcpack-linux-agent/nodemanager/build_and_get_artifact.sh
```
## Conding Convention

Просмотреть файл

@ -13,7 +13,9 @@ export SHLIB_CXXFLAGS="$SHLIB_CXXFLAGS -O0"
set -x
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
yum update -y
yum install yum-utils -y
yum-config-manager --add-repo http://download.mono-project.com/repo/centos8/
yum update -y
yum install perl-IPC-Cmd kernel-devel mono-complete -y
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe