From 7178c0d8861565ec3ec7504838db2ce945726fe3 Mon Sep 17 00:00:00 2001 From: Paul Lewis Date: Wed, 25 Oct 2023 13:15:26 +0100 Subject: [PATCH 1/2] Updated release instructions (#658) Added more explicit steps to follow Co-authored-by: Gordon Byers --- docs/ReleasingHelper.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/ReleasingHelper.md b/docs/ReleasingHelper.md index dd29c0b9a..4485b9181 100644 --- a/docs/ReleasingHelper.md +++ b/docs/ReleasingHelper.md @@ -5,6 +5,16 @@ Usually a release of the Helper Web App will be accompanied by changes to the bicep code. In which case a new symantec release tag needs to be chosen (0.8.2 or 0.8.5 etc). There is a [GitHub action workflow](https://github.com/Azure/AKS-Construction/actions/workflows/release.yml) which is initiated manually but automates the release, all that needs to be provided is the new release tag. +- If you are not a member of the [AKS Construction Admins](https://github.com/orgs/Azure/teams/aks-construction-admins) or [AKS Construction Maintainers](https://github.com/orgs/Azure/teams/aks-construction-maintainers) groups, please ask a member of either group to be available to review your deployment - **you won't be able to complete the release without their review** +- Trigger the [Release bicep and helper](https://github.com/Azure/AKS-Construction/actions/workflows/release.yml) action, incrementing the release version by 1 (e.g. 0.10.1 :arrow_right: 0.10.2) +- Wait for the workflow to run to completion + - If any errors occur, examine the output of the job that failed and troubleshoot the issue(s). You may need to submit a fix via PR, which will require an additional person to review and approve + - If there are no errors, the action will pause on the "Deploy Web App to Prod Pages" job - you will need a repo admin or maintainer to review and approve this job to create the final release +- Navigate to the [Releases](https://github.com/Azure/AKS-Construction/releases) page and check your new release has appeared + - It should be showing with the "Pre-release" label + - Edit the release, scroll to the bottom of the page and select "Set as the latest release" and save the change +- Open that [AKS Construction helper](https://azure.github.io/AKS-Construction/) and verify that your release is now the current release + ## Releasing just the Helper Web App Occasionally there will be UI improvements that we want to release that do not have any dependencies in a new release. From 6b00075f02b56e21221551ea2e3130481564f3f5 Mon Sep 17 00:00:00 2001 From: Oliver Gulich <70239916+oliverlabs@users.noreply.github.com> Date: Wed, 25 Oct 2023 13:16:21 +0100 Subject: [PATCH 2/2] Update codeql-analysis.yml (#652) * Update codeql-analysis.yml upping the codeql version to a supported one * Update codeql-analysis.yml further updates --------- Co-authored-by: Gordon Byers --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8ac79991e..bef056266 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2