From 5e219be5787b30e99648faf41b8135c6fdbd152e Mon Sep 17 00:00:00 2001 From: "Jadhav Pooja Sameer (SX/ETM14-EM)" Date: Wed, 27 Dec 2023 14:50:56 +0530 Subject: [PATCH 01/12] Modified Readme.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b35b726a..ef6835aa 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,5 @@ Thanks [@paulgergely](https://twitter.com/paulgergely) for the initial flat design! Also see [elm-flatris](https://github.com/w0rm/elm-flatris). + +#Welcome to Bosch From 1c083f2024d62dc5568bae97fb296816478296f1 Mon Sep 17 00:00:00 2001 From: "Jadhav Pooja Sameer (SX/ETM14-EM)" Date: Wed, 27 Dec 2023 15:00:25 +0530 Subject: [PATCH 02/12] New file.ps1 added --- File.ps1 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 File.ps1 diff --git a/File.ps1 b/File.ps1 new file mode 100644 index 00000000..732c90d8 --- /dev/null +++ b/File.ps1 @@ -0,0 +1,2 @@ + +New-Item -Path "C:\Logs\NewLog1.txt" -ItemType File \ No newline at end of file From 7b5762eda09a2e8f69cdef3626cb55120ca6899f Mon Sep 17 00:00:00 2001 From: "Jadhav Pooja Sameer (SX/ETM14-EM)" Date: Wed, 27 Dec 2023 15:20:16 +0530 Subject: [PATCH 03/12] file modified --- File.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/File.ps1 b/File.ps1 index 732c90d8..dbd418e7 100644 --- a/File.ps1 +++ b/File.ps1 @@ -1,2 +1,4 @@ -New-Item -Path "C:\Logs\NewLog1.txt" -ItemType File \ No newline at end of file +New-Item -Path "C:\Logs\NewLog1.txt" -ItemType File + +#New file get added \ No newline at end of file From 462bdd4055cbc262af5149c46d9748065f6d0f41 Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:21:09 +0530 Subject: [PATCH 04/12] Update File.ps1 --- File.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/File.ps1 b/File.ps1 index dbd418e7..2a0a0df3 100644 --- a/File.ps1 +++ b/File.ps1 @@ -1,4 +1,6 @@ New-Item -Path "C:\Logs\NewLog1.txt" -ItemType File -#New file get added \ No newline at end of file +#New file get added + +#Welcome to Bosch From 9ee74889272ac7504f614413a9c1e102e400a2c6 Mon Sep 17 00:00:00 2001 From: "Jadhav Pooja Sameer (SX/ETM14-EM)" Date: Wed, 27 Dec 2023 15:25:26 +0530 Subject: [PATCH 05/12] Readme file modified --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef6835aa..7889e835 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,4 @@ Thanks [@paulgergely](https://twitter.com/paulgergely) for the initial flat desi Also see [elm-flatris](https://github.com/w0rm/elm-flatris). -#Welcome to Bosch +#Hello, Welcome to GITHUB.COM From 0799da1e5894b0845873804c417f174595832090 Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:26:38 +0530 Subject: [PATCH 06/12] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7889e835..c64bd3d7 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,5 @@ Thanks [@paulgergely](https://twitter.com/paulgergely) for the initial flat desi Also see [elm-flatris](https://github.com/w0rm/elm-flatris). #Hello, Welcome to GITHUB.COM + +#Checking chnages from GITHUB.COM From 032ddd5946c6bd650c030c27ae5c468effa319bf Mon Sep 17 00:00:00 2001 From: "Jadhav Pooja Sameer (SX/ETM14-EM)" Date: Wed, 27 Dec 2023 15:47:36 +0530 Subject: [PATCH 07/12] File modified --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index c64bd3d7..6894e5bd 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,4 @@ Thanks [@paulgergely](https://twitter.com/paulgergely) for the initial flat desi Also see [elm-flatris](https://github.com/w0rm/elm-flatris). -#Hello, Welcome to GITHUB.COM - -#Checking chnages from GITHUB.COM +Also see (https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.freepik.com%2Ffree-photos-vectors%2Fbackground&psig=AOvVaw26y15SgrdFSI5tvqQdabXC&ust=1703758358700000&source=images&cd=vfe&ved=0CBQQjhxqFwoTCIidhNGwr4MDFQAAAAAdAAAAABAI) \ No newline at end of file From b7f84e5eb6ea32441a0577a1c6e507888f58d840 Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:55:36 +0530 Subject: [PATCH 08/12] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..27a798ad --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From b696426106a3f7fe006d25b764e7b5fd92be6743 Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:53:30 +0530 Subject: [PATCH 09/12] Create azure-functions-app-powershell.yml --- .../azure-functions-app-powershell.yml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/azure-functions-app-powershell.yml diff --git a/.github/workflows/azure-functions-app-powershell.yml b/.github/workflows/azure-functions-app-powershell.yml new file mode 100644 index 00000000..94dcbf02 --- /dev/null +++ b/.github/workflows/azure-functions-app-powershell.yml @@ -0,0 +1,49 @@ +# This workflow will deploy a PowerShell project to an Azure Functions App on Windows or Linux when a commit is pushed to your default branch. +# +# This workflow assumes you have already created the target Azure Functions app. +# For instructions see https://learn.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-powershell +# +# To configure this workflow: +# 1. Set up the following secrets in your repository: +# - AZURE_FUNCTIONAPP_PUBLISH_PROFILE +# 2. Change env variables for your configuration. +# +# For more information on: +# - GitHub Actions for Azure: https://github.com/Azure/Actions +# - Azure Functions Action: https://github.com/Azure/functions-action +# - Publish Profile: https://github.com/Azure/functions-action#using-publish-profile-as-deployment-credential-recommended +# - Azure Service Principal for RBAC: https://github.com/Azure/functions-action#using-azure-service-principal-for-rbac-as-deployment-credential +# +# For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples/tree/master/FunctionApp + +name: Deploy PowerShell project to Azure Function App + +on: + push: + branches: ["master"] + +env: + AZURE_FUNCTIONAPP_NAME: 'your-app-name' # set this to your function app name on Azure + AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your function app project, defaults to the repository root + +jobs: + build-and-deploy: + runs-on: windows-latest # For Linux, use ubuntu-latest + environment: dev + steps: + - name: 'Checkout GitHub Action' + uses: actions/checkout@v3 + + # If you want to use Azure RBAC instead of Publish Profile, then uncomment the task below + # - name: 'Login via Azure CLI' + # uses: azure/login@v1 + # with: + # creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }} # set up AZURE_RBAC_CREDENTIALS secrets in your repository + + - name: 'Run Azure Functions Action' + uses: Azure/functions-action@v1 + id: fa + with: + app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }} + package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }} + publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }} # Remove publish-profile to use Azure RBAC From 1f97e5f3866aa38ddbe9ceffed373d043c9faa6e Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:58:06 +0530 Subject: [PATCH 10/12] Create npm-publish-github-packages.yml --- .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 00000000..47a37f98 --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} From d08b757e56110ca01ee135364758624e1d6ec3fb Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Thu, 28 Dec 2023 15:02:33 +0530 Subject: [PATCH 11/12] Create npm-publish.yml --- .github/workflows/npm-publish.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 00000000..6cdebafb --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,33 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci + - run: npm test + + publish-npm: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} From 3e8d7f2f7de892eac93e098e7e121f18fc05e6c0 Mon Sep 17 00:00:00 2001 From: pooja8447 <154794855+pooja8447@users.noreply.github.com> Date: Thu, 28 Dec 2023 15:18:57 +0530 Subject: [PATCH 12/12] Create github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/github-actions-demo.yml diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 00000000..1ca8116c --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,18 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: windows-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}."