File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 6363 run : |
6464 rm -rf /tmp/.buildkit-cache
6565 mv /tmp/.buildkit-cache-new /tmp/.buildkit-cache
66+
67+ - name : Print changelog
68+ run : echo ${{steps.build_changelog.outputs.changelog}}
6669
6770 - name : Deploy
6871 env :
8689 WS_TASKS_SECRET_KEY : ${{ secrets.WS_TASKS_SECRET_KEY }}
8790 run : |
8891 mkdir -p ~/.ssh
92+ echo Starting SSH agent
8993 eval `ssh-agent -s`
9094
9195 ssh-keyscan ${{ vars.AZURE_DOCKER_HOST_IP }} >> ~/.ssh/known_hosts
9498 chmod 600 ~/.ssh/github_actions
9599 ssh-add ~/.ssh/github_actions
96100
101+ echo Configuring docker context
97102 docker context create dev --docker "host=ssh://github-actions@${{ vars.AZURE_DOCKER_HOST_IP }}"
98103 docker context use dev
99104
@@ -105,12 +110,14 @@ jobs:
105110 #docker rmi $(docker images -q)
106111
107112 # remove images no longer in use--may need disk space to pull
113+ echo Pruning old docker images
108114 docker image prune -a -f
109115
110116 # pull new images, recreate containers
111117 docker compose -f docker-compose.deploy.yml --env-file tdei_uw.env up -d --force-recreate --remove-orphans
112118
113119 # check what was deployed, just to save in the GH logs
120+ echo Waiting for deployment to complete; listing deployed artifacts
114121 sleep 30s
115122 docker ps
116123
You can’t perform that action at this time.
0 commit comments