This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: rbac.authorization.k8s.io/v1 | |
| kind: Role | |
| metadata: | |
| name: dev-role | |
| namespace: dev | |
| rules: | |
| - name: dev-role-permissions | |
| apiGroups: [""] | |
| resources: ["pods"] | |
| verbs: ["get", "list", "watch", "create", "update", "delete"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // List of Parameters | |
| param location string = resourceGroup().location | |
| param appServiceName string = 'demowebapp' | |
| param storageAccountName string = 'demostorageaccount' | |
| param appServicePlanName string = 'demowebapp-asp' | |
| // VNET Provisioning | |
| resource vnet 'Microsoft.Network/virtualNetworks@2022-07-01' = { | |
| name: 'demo-vnet' | |
| location: location |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Defining CI pipeline /workflow for the solar system project | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'feature/*' | |
| pull_request: | |
| branches: [main] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cd-pipeline.yml | |
| trigger: | |
| - main | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| variables: | |
| artifactName: 'LibraryContainerAppJob' | |
| containerRegistry: '<Your_ACR_Name>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trigger: | |
| - feature/POC-Demo | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| variables: | |
| packageName: 'LibraryContainerAppJob' | |
| packageVersion: '$(Build.BuildNumber)' | |
| sourcePath: 'ConsoleDemo.Library' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # infra-pipeline.yml | |
| trigger: | |
| - main | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| variables: | |
| resourceGroupName: '<Your_Resource_Group_Name>' | |
| location: '<Your_Location>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Author: Debjyoti Ganguly | |
| Date: 14th Jan 2025 | |
| */ | |
| @description('The name of the Azure Container Registry') | |
| param registryName string | |
| @description('The location of the Azure Container Registry') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Author :- Debjyoti | |
| name: 'sample workflow file' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - feature/feature-5.2 | |
| pull-request: | |
| branches: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Author: Debjoti | |
| name: 'Calculate Daylight Duration' | |
| description: 'A GitHub Action to calculate the duration of daylight based on sunrise and sunset times.' | |
| inputs: | |
| sun_rise_time: | |
| description: 'The time of sunrise in hours (24-hour format).' | |
| required: true | |
| default: 6 | |
| sun_set_time: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Sample GitHub Actions workflow file to upload a SARIF file created outside the repo to GitHub Advanced Security. | |
| name: "Upload SARIF" | |
| // Run workflow each time code is pushed to your repository and on a schedule. | |
| //The scheduled workflow runs every Thursday at 15:45 UTC. | |
| on: | |
| push: | |
| schedule: |