Skip to content

Commit 2b9a26e

Browse files
committed
fix(ci): More cleanups by adding step names
1 parent 52e3cc9 commit 2b9a26e

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/create-release.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,29 +54,27 @@ jobs:
5454
python -m pip install poetry
5555
poetry --version
5656
57+
5758
- run: |
5859
sudo apt-get -y install jq
5960
poetry run pip install tox uw-it-build-fingerprinter
60-
- run: |
61-
poetry run tox -e build-layers -- \
62-
-t ${{ env.version }} --release ${{ env.version }} --cache \
63-
--build-arg HUSKY_DIRECTORY_VERSION=${{ env.version }}
61+
62+
- name: Build and test
63+
run: |
64+
poetry run tox -e build-layers -- -t ${{ env.version }} --release ${{ env.version }} --cache --build-arg HUSKY_DIRECTORY_VERSION=${{ env.version }}
6465
poetry run tox -e unit-tests
65-
# Build layers with the -k option to avoid installing a lot of
66-
# unnecessary dependencies. We can also skip black/flake8 for
67-
# this phase, because the code has already been accepted into
68-
# the repository.
69-
name: Validate build
7066
7167
- name: Create release ${{ needs.configure-release.outputs.version }}
7268
uses: ncipollo/release-action@v1
7369
with:
7470
tag: ${{ needs.configure-release.outputs.version }}
7571
if: github.ref == 'refs/heads/main'
7672

77-
- run: docker push gcr.io/uwit-mci-iam/husky-directory:${{ env.version }}
73+
- name: Push Docker image
74+
run: docker push gcr.io/uwit-mci-iam/husky-directory:${{ env.version }}
7875
if: github.ref == 'refs/heads/main'
7976

80-
- run: |
77+
- name: Deploy
78+
run: |
8179
./scripts/deploy.sh -t dev -v ${{ env.version }} \
8280
${{ github.ref != 'refs/heads/main' && '-x' || '' }}

0 commit comments

Comments
 (0)