Skip to content

Commit

Permalink
fix: fix warnings for not used inputs, installed atop for in-vm memor…
Browse files Browse the repository at this point in the history
…y stats, increased 5m timeout in vm creation
  • Loading branch information
librarian committed Jan 16, 2024
1 parent 293cdec commit e5e4ec6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/prepare/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
sudo apt-get update
sudo apt-get install -y --no-install-recommends git wget gnupg lsb-release curl xz-utils tzdata cmake \
python3-dev python3-pip ninja-build antlr3 m4 libidn11-dev libaio1 libaio-dev make clang-14 lld-14 llvm-14 file \
distcc strace qemu-kvm dpkg-dev
distcc strace qemu-kvm dpkg-dev atop
sudo pip3 install conan==1.59 pytest==7.1.3 pytest-timeout pytest-xdist==3.3.1 setproctitle==1.3.2 grpcio grpcio-tools PyHamcrest tornado xmltodict pyarrow boto3 moto[server] psutil pygithub==1.59.1 pyinstaller==5.13.2 cryptography packaging six pyyaml
- name: install ccache
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/packer/github-runner.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ build {
"echo \"deb https://apt.llvm.org/${var.LSB_RELEASE}/ llvm-toolchain-${var.LSB_RELEASE}-14 main\" | sudo tee /etc/apt/sources.list.d/llvm.list >/dev/null",
"sudo apt-get update",
"echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections",
"sudo apt-get install -y --no-install-recommends git wget gnupg lsb-release curl xz-utils tzdata cmake python3-dev python3-pip ninja-build antlr3 m4 libidn11-dev libaio1 libaio-dev make clang-14 lld-14 llvm-14 file distcc s3cmd qemu-kvm",
"sudo apt-get install -y --no-install-recommends git wget gnupg lsb-release curl xz-utils tzdata cmake python3-dev python3-pip ninja-build antlr3 m4 libidn11-dev libaio1 libaio-dev make clang-14 lld-14 llvm-14 file distcc s3cmd qemu-kvm dpkg-dev",
"sudo pip3 install conan==1.59 pytest==7.1.3 pyinstaller==5.13.2 pytest-timeout pytest-xdist==3.3.1 setproctitle==1.3.2 six pyyaml packaging cryptography grpcio grpcio-tools PyHamcrest tornado xmltodict pyarrow boto3 moto[server] psutil pygithub==1.59.1",
"curl -L https://github.com/ccache/ccache/releases/download/v${var.CCACHE_VERSION}/ccache-${var.CCACHE_VERSION}-linux-${var.OS_ARCH}.tar.xz | sudo tar -xJ -C /usr/local/bin/ --strip-components=1 --no-same-owner ccache-${var.CCACHE_VERSION}-linux-${var.OS_ARCH}/ccache",

# Other packages
"sudo apt-get install -y git jq tree tmux",
"sudo apt-get install -y git jq tree tmux atop",

# Clean
"rm -rf .sudo_as_admin_successful",
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_and_test_cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
uses: ./.github/actions/build_cmake
if: inputs.run_build
with:
build_preset: ${{ inputs.build_preset }}
bazel_remote_uri: ${{ vars.REMOTE_CACHE_URL_YA || '' }}
bazel_remote_username: ${{ secrets.REMOTE_CACHE_USERNAME }}
bazel_remote_password: ${{ secrets.REMOTE_CACHE_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test_on_demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
steps:
- name: Start YC runner
id: start-yc-runner
uses: librarian/[email protected].12
uses: librarian/[email protected].13
timeout-minutes: 60
with:
mode: start
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
run: sleep ${{ needs.build-and-test.outputs.sleep_after_tests }}

- name: Stop YC runner
uses: librarian/[email protected].12
uses: librarian/[email protected].13
timeout-minutes: 60
with:
mode: stop
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test_on_demand_cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
steps:
- name: Start YC runner
id: start-yc-runner
uses: librarian/[email protected].12
uses: librarian/[email protected].13
timeout-minutes: 60
with:
mode: start
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
run: sleep ${{ needs.build-and-test.outputs.sleep_after_tests }}

- name: Stop YC runner
uses: librarian/[email protected].12
uses: librarian/[email protected].13
timeout-minutes: 60
with:
mode: stop
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_and_test_ya.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ jobs:
bazel_remote_uri: ${{ vars.REMOTE_CACHE_URL_YA || '' }}
link_threads: ${{ inputs.link_threads }}
test_threads: ${{ inputs.test_threads }}
sleep_after_tests: ${{ inputs.sleep_after_tests }}

- id: failure
name: set sleep_after_tests in case of failure
Expand Down

0 comments on commit e5e4ec6

Please sign in to comment.