diff --git a/.github/workflows/00a-basic-filters.yml b/.github/workflows/00a-basic-filters.yml index 64e52c0..9120dd9 100644 --- a/.github/workflows/00a-basic-filters.yml +++ b/.github/workflows/00a-basic-filters.yml @@ -25,13 +25,12 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -40,4 +39,4 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script - run: echo Hello, world! + run: echo Hello, world! \ No newline at end of file diff --git a/.github/workflows/01-basic-multiple-jobs.yml b/.github/workflows/01-basic-multiple-jobs.yml index 2d0460e..292966c 100644 --- a/.github/workflows/01-basic-multiple-jobs.yml +++ b/.github/workflows/01-basic-multiple-jobs.yml @@ -12,13 +12,12 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" job1: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -27,7 +26,7 @@ jobs: run: echo Hello from job1 job2: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -36,10 +35,10 @@ jobs: run: echo Hello from job2 job3: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: # Runs a single command using the runners shell - name: Hello Job3 - run: echo Hello from job3 + run: echo Hello from job3 \ No newline at end of file diff --git a/.github/workflows/02-basic-multiple-jobs-needs.yml b/.github/workflows/02-basic-multiple-jobs-needs.yml index 2990fff..edd8dfe 100644 --- a/.github/workflows/02-basic-multiple-jobs-needs.yml +++ b/.github/workflows/02-basic-multiple-jobs-needs.yml @@ -12,13 +12,12 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" job1: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: # Runs a single command using the runners shell @@ -26,7 +25,7 @@ jobs: run: echo Hello from job1 job1a: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: # Runs a single command using the runners shell @@ -34,7 +33,7 @@ jobs: run: echo Hello from job1 job2: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale needs: [job1, job1a] # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -43,11 +42,11 @@ jobs: run: echo Hello from job2 job3: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale needs: [job2, job1] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Runs a single command using the runners shell - name: Run a one-line script - run: echo Hello from job3 + run: echo Hello from job3 \ No newline at end of file diff --git a/.github/workflows/03-steps.yml b/.github/workflows/03-steps.yml index e9745e9..9f8bfc7 100644 --- a/.github/workflows/03-steps.yml +++ b/.github/workflows/03-steps.yml @@ -11,13 +11,12 @@ on: branches: [main] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -56,4 +55,4 @@ jobs: # Reference a specific version - uses: actions/checkout@v4.1.1 # Reference a branch - - uses: actions/checkout@main + - uses: actions/checkout@main \ No newline at end of file diff --git a/.github/workflows/04-environment-variables.yaml b/.github/workflows/04-environment-variables.yaml index bfa7246..2b0eb78 100644 --- a/.github/workflows/04-environment-variables.yaml +++ b/.github/workflows/04-environment-variables.yaml @@ -12,7 +12,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - env: Greeting: 'Hello' Name: 'World' @@ -22,7 +21,7 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -31,4 +30,4 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script - run: echo "$Greeting, $Name!" + run: echo "$Greeting, $Name!" \ No newline at end of file diff --git a/.github/workflows/04-environment-variables2.yaml b/.github/workflows/04-environment-variables2.yaml index 8c1cab1..2f50c7e 100644 --- a/.github/workflows/04-environment-variables2.yaml +++ b/.github/workflows/04-environment-variables2.yaml @@ -12,7 +12,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - env: Greeting: 'Hello' Location: 'Workflow' @@ -22,7 +21,7 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale env: Location: 'Job' @@ -39,7 +38,7 @@ jobs: Location: 'Step' build2: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -48,5 +47,4 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script - run: echo "$Greeting, $Name! from $Location" - \ No newline at end of file + run: echo "$Greeting, $Name! from $Location" \ No newline at end of file diff --git a/.github/workflows/05-conditionals.yml b/.github/workflows/05-conditionals.yml index 37939fc..0d5d3ba 100644 --- a/.github/workflows/05-conditionals.yml +++ b/.github/workflows/05-conditionals.yml @@ -12,7 +12,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - env: Greeting: 'Hello' Name: 'World' @@ -22,7 +21,7 @@ jobs: # This workflow contains a single job called "build" greeting: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -35,4 +34,4 @@ jobs: - name: Run Goodbye run: echo "$Greeting $Name" - if: ${{ env.Greeting == 'Goodbye'}} + if: ${{ env.Greeting == 'Goodbye'}} \ No newline at end of file diff --git a/.github/workflows/06-expressions.yml b/.github/workflows/06-expressions.yml index 34de15b..6302e35 100644 --- a/.github/workflows/06-expressions.yml +++ b/.github/workflows/06-expressions.yml @@ -13,7 +13,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - env: formatting: ${{ format('{{Hello {0} {1} {2}!}}', 'Mona', 'the', 'Octocat') }} endsWith: ${{ endsWith('Hello world', 'ld') }} @@ -26,7 +25,7 @@ jobs: # This workflow contains a single job called "build" job1: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -40,4 +39,4 @@ jobs: - name: Print containsArray run: echo "$containsArray" - name: Print Presenters - run: echo "$presentersString" + run: echo "$presentersString" \ No newline at end of file diff --git a/.github/workflows/07-contexts.yml b/.github/workflows/07-contexts.yml index c2224fe..fe70178 100644 --- a/.github/workflows/07-contexts.yml +++ b/.github/workflows/07-contexts.yml @@ -5,7 +5,7 @@ on: push jobs: dump_contexts_to_log: - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - name: Dump GitHub context id: github_context_step @@ -19,4 +19,4 @@ jobs: - name: Dump strategy context run: echo '${{ toJSON(strategy) }}' - name: Dump matrix context - run: echo '${{ toJSON(matrix) }}' + run: echo '${{ toJSON(matrix) }}' \ No newline at end of file diff --git a/.github/workflows/08-secrets.yml b/.github/workflows/08-secrets.yml index 64d34d2..ec42f75 100644 --- a/.github/workflows/08-secrets.yml +++ b/.github/workflows/08-secrets.yml @@ -12,7 +12,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - env: Greeting: 'Hello' @@ -21,7 +20,7 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -49,4 +48,4 @@ jobs: - name: Parse Structured Objects run: echo "$Structured" env: - Structured: ${{fromJson(secrets.Structured).clientSecret}} + Structured: ${{fromJson(secrets.Structured).clientSecret}} \ No newline at end of file diff --git a/.github/workflows/09-node.js-matrix.yml b/.github/workflows/09-node.js-matrix.yml index 9938309..ebcd8dd 100644 --- a/.github/workflows/09-node.js-matrix.yml +++ b/.github/workflows/09-node.js-matrix.yml @@ -24,7 +24,7 @@ jobs: matrix: node-version: [12.x, 14.x, 16.x] os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} + runs-on: tenki-staging-standard-autoscale steps: - uses: actions/checkout@v4.1.1 - name: Use Node.js ${{ matrix.node-version }} @@ -33,4 +33,4 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - - run: npm test + - run: npm test \ No newline at end of file diff --git a/.github/workflows/10-dotnet.yml b/.github/workflows/10-dotnet.yml index 0201463..49966df 100644 --- a/.github/workflows/10-dotnet.yml +++ b/.github/workflows/10-dotnet.yml @@ -23,7 +23,7 @@ defaults: jobs: build: - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - uses: actions/checkout@v4.1.1 @@ -64,7 +64,7 @@ jobs: deploy-webapp: needs: [build] environment: dotnet - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: # Checkout code - name: Download IaC @@ -101,4 +101,4 @@ jobs: uses: azure/webapps-deploy@v3 with: app-name: ${{ steps.deploy.outputs.webAppName }} # Replace with your app name - package: 'webapp' + package: 'webapp' \ No newline at end of file diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 9f9d946..2d9b110 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -10,7 +10,7 @@ on: branches: [main] paths: - 'aspire-sample/**' - + # GitHub Actions workflow to deploy to Azure using azd # To configure required secrets for connecting to Azure, simply run `azd pipeline config` @@ -19,14 +19,14 @@ on: permissions: id-token: write contents: read - + defaults: run: working-directory: aspire-sample jobs: build: - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale env: AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }} AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }} @@ -36,10 +36,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - + - name: Install azd uses: Azure/setup-azd@v2.0.0 - + - name: Log in with Azure (Federated Credentials) if: ${{ env.AZURE_CLIENT_ID != '' }} run: | @@ -48,13 +48,13 @@ jobs: --federated-credential-provider "github" ` --tenant-id "$Env:AZURE_TENANT_ID" shell: pwsh - + - name: Log in with Azure (Client Credentials) if: ${{ env.AZURE_CREDENTIALS != '' }} run: | $info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable; Write-Host "::add-mask::$($info.clientSecret)" - + azd auth login ` --client-id "$($info.clientId)" ` --client-secret "$($info.clientSecret)" ` @@ -62,14 +62,14 @@ jobs: shell: pwsh env: AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - + - name: Restore Aspire Workload run: dotnet workload restore - + - name: Provision Infrastructure run: azd provision --no-prompt env: AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }} - + - name: Deploy Application - run: azd deploy --no-prompt + run: azd deploy --no-prompt \ No newline at end of file diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 27f2303..8b4f3ec 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -20,7 +20,7 @@ defaults: jobs: build: environment: docker - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - uses: actions/checkout@v4.1.1 @@ -36,4 +36,4 @@ jobs: push: true tags: | ${{ secrets.DOCKER_USERNAME }}/static-site:latest - ${{ secrets.DOCKER_USERNAME }}/static-site:${{ github.sha }} + ${{ secrets.DOCKER_USERNAME }}/static-site:${{ github.sha }} \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 083945f..72017e3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,14 +2,13 @@ name: lint on: workflow_call: - jobs: lint: name: Lint code - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - uses: actions/checkout@v4.1.1 - name: Lint code run: | - az bicep build --file bicep/main.bicep + az bicep build --file bicep/main.bicep \ No newline at end of file diff --git a/.github/workflows/marp-pages.yml b/.github/workflows/marp-pages.yml index e7da68c..26b853c 100644 --- a/.github/workflows/marp-pages.yml +++ b/.github/workflows/marp-pages.yml @@ -7,7 +7,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read @@ -23,7 +22,7 @@ concurrency: jobs: # Build job build: - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - uses: actions/checkout@v4.1.1 - name: Copy images @@ -44,4 +43,4 @@ jobs: path: 'build' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/pr-closed.yml b/.github/workflows/pr-closed.yml index 7be649d..a983911 100644 --- a/.github/workflows/pr-closed.yml +++ b/.github/workflows/pr-closed.yml @@ -14,7 +14,7 @@ env: jobs: remove: - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - uses: azure/login@v2 name: Sign in to Azure @@ -28,4 +28,4 @@ jobs: inlineScript: | az group delete \ --name ${{ env.resourceGroupName }} \ - --yes + --yes \ No newline at end of file diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 3ede138..3ebffbd 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -16,7 +16,7 @@ jobs: uses: ./.github/workflows/lint.yml deploy: - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale steps: - uses: actions/checkout@v4.1.1 - uses: azure/login@v2 @@ -44,4 +44,4 @@ jobs: environmentType=Test - name: Show website hostname run: | - echo "Access the website at this address: https://${{ steps.deploy.outputs.appServiceAppHostName }}" + echo "Access the website at this address: https://${{ steps.deploy.outputs.appServiceAppHostName }}" \ No newline at end of file diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 249b0fe..1284141 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -15,7 +15,7 @@ permissions: {} jobs: build: name: Lint - runs-on: ubuntu-latest + runs-on: tenki-staging-standard-autoscale permissions: contents: read @@ -35,4 +35,4 @@ jobs: uses: super-linter/super-linter@v7.2.1 # x-release-please-version env: # To report GitHub Actions status checks - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file