From 20cd50e73c57d16d8bca550db5457bb06a0aff64 Mon Sep 17 00:00:00 2001 From: ks6088ts Date: Wed, 16 Oct 2024 13:37:05 +0900 Subject: [PATCH] template-python -> workshop-azure-iot --- .devcontainer/devcontainer.json | 4 ++-- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/docker-release.yaml | 4 ++-- .github/workflows/ghcr-release.yaml | 2 +- Makefile | 2 +- README.md | 2 +- pyproject.toml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 71c3a3a..c2e4ef0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "template-python", + "name": "workshop-azure-iot", // https://mcr.microsoft.com/en-us/product/devcontainers/python/tags "image": "mcr.microsoft.com/devcontainers/python:dev-3.10-bookworm", "customizations": { @@ -13,4 +13,4 @@ }, "postCreateCommand": "pipx install poetry && make install-deps-dev", "remoteUser": "vscode" -} +} \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b30be71..9b0c18b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -43,7 +43,7 @@ What kind of change does this Pull Request introduce? ``` git clone git@github.com:ks6088ts-labs/workshop-azure-iot.git -cd template-python +cd workshop-azure-iot ``` - Test the code diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index 4af3797..34d18cc 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -37,5 +37,5 @@ jobs: GIT_REVISION=${{ github.sha }} GIT_TAG=${{steps.set_version.outputs.no-dash}} tags: | - ${{ secrets.DOCKERHUB_USERNAME }}/template-python:${{steps.set_version.outputs.no-dash}} - ${{ secrets.DOCKERHUB_USERNAME }}/template-python:latest + ${{ secrets.DOCKERHUB_USERNAME }}/workshop-azure-iot:${{steps.set_version.outputs.no-dash}} + ${{ secrets.DOCKERHUB_USERNAME }}/workshop-azure-iot:latest diff --git a/.github/workflows/ghcr-release.yaml b/.github/workflows/ghcr-release.yaml index 2c07fda..3d03de2 100644 --- a/.github/workflows/ghcr-release.yaml +++ b/.github/workflows/ghcr-release.yaml @@ -4,7 +4,7 @@ on: tags: - "v*" env: - IMAGE_NAME: template-python + IMAGE_NAME: workshop-azure-iot jobs: ghcr: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index bef4fe7..be6c316 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ ci-test: install-deps-dev format-check lint test ## run CI tests # Docker # --- DOCKER_REPO_NAME ?= ks6088ts -DOCKER_IMAGE_NAME ?= template-python +DOCKER_IMAGE_NAME ?= workshop-azure-iot DOCKER_COMMAND ?= python workshop_azure_iot/core.py # Tools diff --git a/README.md b/README.md index 2c5a0b8..e2200c8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![docker-release](https://github.com/ks6088ts-labs/workshop-azure-iot/actions/workflows/docker-release.yaml/badge.svg)](https://github.com/ks6088ts-labs/workshop-azure-iot/actions/workflows/docker-release.yaml) [![ghcr-release](https://github.com/ks6088ts-labs/workshop-azure-iot/actions/workflows/ghcr-release.yaml/badge.svg)](https://github.com/ks6088ts-labs/workshop-azure-iot/actions/workflows/ghcr-release.yaml) -# template-python +# workshop-azure-iot This is a template repository for Python diff --git a/pyproject.toml b/pyproject.toml index a34a639..d4ee27e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "template-python" +name = "workshop-azure-iot" version = "0.0.1" description = "A GitHub template repository for Python" authors = ["ks6088ts "]