Skip to content

Commit e998408

Browse files
committed
Update build.yaml
1 parent ab69f0a commit e998408

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
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:
@@ -86,6 +89,7 @@ jobs:
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
@@ -94,6 +98,7 @@ jobs:
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

0 commit comments

Comments
 (0)