Skip to content

Commit

Permalink
use original docker data directory
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <helenxiehz@gmail.com>
  • Loading branch information
helenxie-bit committed Oct 22, 2024
1 parent c6e91cd commit b1a2390
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/e2e-test-tune-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ jobs:
tune-api: true
training-operator: true

- name: Get YAML file of Experiment
if: always()
run: |
echo "Fetching the YAML file of the experiment..."
kubectl get experiment tune-example-2 -n default -o yaml
- name: Monitor Memory Usage After Run
if: always()
run: free -h
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/template-setup-e2e-test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,6 @@ runs:
echo "Disk usage after cleanup:"
df -h
- name: Move docker data directory
shell: bash
run: |
echo "Stopping docker service ..."
sudo systemctl stop docker
DOCKER_DEFAULT_ROOT_DIR=/var/lib/docker
DOCKER_ROOT_DIR=/mnt/docker
echo "Moving ${DOCKER_DEFAULT_ROOT_DIR} -> ${DOCKER_ROOT_DIR}"
sudo mv ${DOCKER_DEFAULT_ROOT_DIR} ${DOCKER_ROOT_DIR}
echo "Creating symlink ${DOCKER_DEFAULT_ROOT_DIR} -> ${DOCKER_ROOT_DIR}"
sudo ln -s ${DOCKER_ROOT_DIR} ${DOCKER_DEFAULT_ROOT_DIR}
echo "$(sudo ls -l ${DOCKER_DEFAULT_ROOT_DIR})"
echo "Starting docker service ..."
sudo systemctl daemon-reload
sudo systemctl start docker
echo "Docker service status:"
sudo systemctl --no-pager -l -o short status docker
- name: Setup kubectl
uses: azure/setup-kubectl@v4
Expand Down

0 comments on commit b1a2390

Please sign in to comment.