From 16318a8f962cdf6c05a5ac4c44af62bdc8b603ea Mon Sep 17 00:00:00 2001 From: Bartlomiej Gmerek Date: Mon, 25 Nov 2024 12:18:40 +0100 Subject: [PATCH] Updates versions for v1.6 --- .github/dependabot.yml | 30 +++++++++++++++ .github/workflows/1_5_scheduled_runs.yaml | 45 +++++++++++++++++++++++ .github/workflows/main.yaml | 4 +- .github/workflows/promote.yaml | 1 + README.md | 2 +- terraform/variables.tf | 2 +- 6 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/1_5_scheduled_runs.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4d2f8f89..ca2c179d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -32,3 +32,33 @@ updates: terraform_modules: patterns: - "*" + + - package-ecosystem: "github-actions" + target-branch: v1.5 + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore: " + labels: + - v1.5 + + - package-ecosystem: "pip" + target-branch: v1.5 + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore: " + labels: + - v1.5 + + - package-ecosystem: "terraform" + target-branch: v1.5 + directory: "/terraform/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore: " + labels: + - v1.5 \ No newline at end of file diff --git a/.github/workflows/1_5_scheduled_runs.yaml b/.github/workflows/1_5_scheduled_runs.yaml new file mode 100644 index 00000000..1696412b --- /dev/null +++ b/.github/workflows/1_5_scheduled_runs.yaml @@ -0,0 +1,45 @@ +name: Release 1.5 + +on: + schedule: + - cron: '0 3 * * 0' + +jobs: + codeql: + name: CodeQL Analysis + uses: canonical/sdcore-github-workflows/.github/workflows/codeql-analysis.yml@v2.2.0 + with: + branch-name: "v1.5" + + lint-report: + uses: canonical/sdcore-github-workflows/.github/workflows/lint-report.yaml@v2.2.0 + with: + branch-name: "v1.5" + + terraform-check: + uses: canonical/sdcore-github-workflows/.github/workflows/terraform.yaml@v2.2.0 + with: + branch-name: "v1.5" + + static-analysis: + uses: canonical/sdcore-github-workflows/.github/workflows/static-analysis.yaml@v2.2.0 + with: + branch-name: "v1.5" + + unit-tests-with-coverage: + uses: canonical/sdcore-github-workflows/.github/workflows/unit-test.yaml@v2.2.0 + with: + branch-name: "v1.5" + + integration-test: + uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@v2.2.0 + with: + branch-name: "v1.5" + charm-file-name: "sdcore-amf-k8s_ubuntu-22.04-amd64.charm" + + update-libs: + name: Update libs + uses: canonical/sdcore-github-workflows/.github/workflows/update-libs.yaml@v2.2.0 + with: + branch-name: "v1.5" + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a8354eb5..1b356db7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -53,7 +53,7 @@ jobs: if: ${{ github.ref_name == 'main' }} uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@v2.2.0 with: - track-name: 1.5 + track-name: 1.6 secrets: CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} @@ -68,7 +68,7 @@ jobs: uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@v2.2.0 with: branch-name: ${{ github.ref_name }} - track-name: 1.5 + track-name: 1.6 secrets: CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }} diff --git a/.github/workflows/promote.yaml b/.github/workflows/promote.yaml index 570c70ba..81232ff2 100644 --- a/.github/workflows/promote.yaml +++ b/.github/workflows/promote.yaml @@ -15,6 +15,7 @@ on: description: Name of the charmhub track to publish options: - '1.5' + - '1.6' - latest diff --git a/README.md b/README.md index ac41d2b0..c225cee0 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ juju add-model user-plane Deploy the UPF: ```bash -juju deploy sdcore-upf-k8s --trust --channel=1.5/edge +juju deploy sdcore-upf-k8s --trust --channel=1.6/edge ``` ### Exposing the UPF externally diff --git a/terraform/variables.tf b/terraform/variables.tf index 749669e5..5a49bbb0 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -10,7 +10,7 @@ variable "app_name" { variable "channel" { description = "The channel to use when deploying a charm." type = string - default = "1.5/edge" + default = "1.6/edge" } variable "config" {