From da6af42c8f39867d5ede4121c1319ab4b870ae9f Mon Sep 17 00:00:00 2001 From: L00163331 Date: Tue, 22 Aug 2023 00:08:39 +0100 Subject: [PATCH 1/4] yaml --- .vscode/launch.json | 16 ++++++++++++++++ iot-central-CICD | 1 + 2 files changed, 17 insertions(+) create mode 100644 .vscode/launch.json create mode 160000 iot-central-CICD diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..699f527 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "name": "PowerShell: Launch Current File", + "type": "PowerShell", + "request": "launch", + "script": "${file}", + "args": [] + } + ] +} \ No newline at end of file diff --git a/iot-central-CICD b/iot-central-CICD new file mode 160000 index 0000000..6fbd32f --- /dev/null +++ b/iot-central-CICD @@ -0,0 +1 @@ +Subproject commit 6fbd32f1d1d54a2ae6897fc705ba9d0b8ca24ba2 From f54a1f79160eab91356256d097d393ec79305830 Mon Sep 17 00:00:00 2001 From: L00163331 Date: Tue, 22 Aug 2023 00:20:52 +0100 Subject: [PATCH 2/4] yaml --- iot-central-CICD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iot-central-CICD b/iot-central-CICD index 6fbd32f..104f9ab 160000 --- a/iot-central-CICD +++ b/iot-central-CICD @@ -1 +1 @@ -Subproject commit 6fbd32f1d1d54a2ae6897fc705ba9d0b8ca24ba2 +Subproject commit 104f9abf61b30095fc8a37e3aa990ef7c9dc413a From dc7c7b2903a64587aae99744f2889bfd21838ffd Mon Sep 17 00:00:00 2001 From: L00163331 Date: Tue, 22 Aug 2023 00:30:08 +0100 Subject: [PATCH 3/4] dev --- .vscode/azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .vscode/azure-pipelines.yml diff --git a/.vscode/azure-pipelines.yml b/.vscode/azure-pipelines.yml new file mode 100644 index 0000000..163127a --- /dev/null +++ b/.vscode/azure-pipelines.yml @@ -0,0 +1,15 @@ +trigger: +- master + +jobs: +- job: BuildDockerImage + pool: + vmImage: 'ubuntu-latest' + steps: + - task: Docker@2 + inputs: + containerRegistry: 'myregistry' + repository: 'my-iot-app' + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' + tags: 'v1' From 5da251a761351fdb839eb2acf91f555af385b029 Mon Sep 17 00:00:00 2001 From: L00163331 Date: Thu, 31 Aug 2023 13:36:39 +0100 Subject: [PATCH 4/4] new device properties added --- .devcontainer/devcontainer.json | 32 ++++++++++++++++++++++++++++++++ .vscode/extensions.json | 5 +++++ 2 files changed, 37 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .vscode/extensions.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..140b26f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,32 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/alpine +{ + "name": "Alpine", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:alpine-3.18", + "features": { + "ghcr.io/flexwie/devcontainer-features/op:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.azure-account" + ] + } + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..8f5956f --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "ms-vscode.azure-account" + ] +} \ No newline at end of file