Skip to content
代码片段 群组 项目
未验证 提交 24e7168b 编辑于 作者: Jennifer Li's avatar Jennifer Li 提交者: GitLab
浏览文件

Print df log in before script

上级 a6dcb433
No related branches found
No related tags found
无相关合并请求
......@@ -16,6 +16,7 @@
- export GOPATH=$CI_PROJECT_DIR/.go
- mkdir -p $GOPATH
- source scripts/utils.sh
- log_disk_usage # https://gitlab.com/gitlab-org/gitlab/-/issues/478880
.default-before_script:
before_script:
......
......@@ -483,3 +483,11 @@ function define_trigger_branch_in_build_env() {
echo "TRIGGER_BRANCH=${TRIGGER_BRANCH}" >> $BUILD_ENV
fi
}
function log_disk_usage() {
echo -e "df -h"
df -h
echo -e "\n\nls -lhS tmp"
ls -lhS tmp
}
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册