diff --git a/.github/workflows/test-suite.yaml b/.github/workflows/test-suite.yaml index d627cfd4..7b5a6734 100644 --- a/.github/workflows/test-suite.yaml +++ b/.github/workflows/test-suite.yaml @@ -13,26 +13,24 @@ jobs: - active-standby-kubernetes - api - deploytarget - - features-variables - features-kubernetes - features-kubernetes-2 + - features-variables + - services - tasks - - dbaas - - ssh-portal - ## Re-enable any of these below tests in your branch for specific testing - ## - drupal-php74 - ## - drupal-php80 - ## - drupal-postgres + ## Re-enable any of these tests in your branch for specific testing + ## - bitbucket + ## - bulk-deployment ## - drush + ## - generic + ## - github + ## - gitlab ## - image-cache - ## - node-mongodb ## - nginx ## - node ## - python - ## - elasticsearch - ## - github - ## - gitlab - ## - bitbucket + ## - ssh-legacy + ## - workflows steps: # Continue after getting a shell via: `touch continue` diff --git a/charts/lagoon-build-deploy/Chart.yaml b/charts/lagoon-build-deploy/Chart.yaml index 5acc408d..ce8ac0ea 100644 --- a/charts/lagoon-build-deploy/Chart.yaml +++ b/charts/lagoon-build-deploy/Chart.yaml @@ -12,17 +12,15 @@ maintainers: - name: smlx email: scott.leggett@amazee.io url: https://amazee.io -kubeVersion: ">= 1.19.0-0" +kubeVersion: ">= 1.21.0-0" type: application -version: 0.19.0 +version: 0.20.0 appVersion: v0.9.0 annotations: artifacthub.io/changes: | - kind: changed - description: bump remote-controller to v0.9.0 - - kind: changed - description: remove monitoringUrls from CRDs (require CRDs to be updated, see installation notes) + description: introduced minimum kubernetes version 1.21 diff --git a/charts/lagoon-core/Chart.yaml b/charts/lagoon-core/Chart.yaml index 6237294b..117e4583 100644 --- a/charts/lagoon-core/Chart.yaml +++ b/charts/lagoon-core/Chart.yaml @@ -11,7 +11,7 @@ maintainers: - name: shreddedbacon email: ben.jackson@amazee.io url: https://amazee.io -kubeVersion: ">= 1.19.0-0" +kubeVersion: ">= 1.21.0-0" # Application charts are a collection of templates that can be packaged into # versioned archives to be deployed. @@ -21,13 +21,13 @@ type: application # time you make changes to the chart and its templates, including the app # version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.22.0 +version: 1.23.0 # This is the version number of the application being deployed. This version # number should be incremented each time you make changes to the application. # Versions are not expected to follow Semantic Versioning. They should reflect # the version the application is using. -appVersion: v2.11.0 +appVersion: v2.12.0 dependencies: - name: nats @@ -41,4 +41,6 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: configured dynamic apiVersion for HorizontalPodAutoscaler + description: introduced minimum kubernetes version 1.21 + - kind: changed + description: update Lagoon appVersion to v2.12.0 diff --git a/charts/lagoon-core/ci/linter-values.yaml b/charts/lagoon-core/ci/linter-values.yaml index b45baa19..4d8f1d1d 100644 --- a/charts/lagoon-core/ci/linter-values.yaml +++ b/charts/lagoon-core/ci/linter-values.yaml @@ -23,13 +23,6 @@ defaultIngressClassName: nginx lagoonAPIURL: https://api.example.com/graphql keycloakAPIURL: https://keycloak.example.com/auth -buildDeployImage: - default: - image: uselagoon/build-deploy-image:latest - edge: - enabled: true - image: uselagoon/build-deploy-image:edge - api: replicaCount: 1 image: @@ -84,14 +77,11 @@ ui: replicaCount: 1 image: repository: uselagoon/ui - tag: main backupHandler: replicaCount: 1 image: repository: uselagoon/backup-handler - autoscaling: - enabled: true insightsHandler: image: diff --git a/charts/lagoon-logging/Chart.yaml b/charts/lagoon-logging/Chart.yaml index 487c4c19..e5fba8c9 100644 --- a/charts/lagoon-logging/Chart.yaml +++ b/charts/lagoon-logging/Chart.yaml @@ -9,7 +9,7 @@ maintainers: - name: smlx email: scott.leggett@amazee.io url: https://amazee.io -kubeVersion: ">= 1.19.0-0" +kubeVersion: ">= 1.21.0-0" # Application charts are a collection of templates that can be packaged into # versioned archives to be deployed. @@ -19,7 +19,7 @@ type: application # time you make changes to the chart and its templates, including the app # version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.74.3 +version: 0.75.0 dependencies: - name: logging-operator @@ -32,5 +32,5 @@ dependencies: # Valid supported kinds are added, changed, deprecated, removed, fixed and security annotations: artifacthub.io/changes: | - - kind: fixed - description: Reduce DNS cache TTL from 6 hours to 1 hour to adapt to DNS changes more quickly. + - kind: changed + description: introduced minimum kubernetes version 1.21 diff --git a/charts/lagoon-logs-concentrator/Chart.yaml b/charts/lagoon-logs-concentrator/Chart.yaml index 477e2c1c..987d3527 100644 --- a/charts/lagoon-logs-concentrator/Chart.yaml +++ b/charts/lagoon-logs-concentrator/Chart.yaml @@ -9,7 +9,7 @@ maintainers: - name: smlx email: scott.leggett@amazee.io url: https://amazee.io -kubeVersion: ">= 1.19.0-0" +kubeVersion: ">= 1.21.0-0" # Application charts are a collection of templates that can be packaged into # versioned archives to be deployed. @@ -19,7 +19,7 @@ type: application # time you make changes to the chart and its templates, including the app # version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.44.0 +version: 0.45.0 # This section is used to collect a changelog for artifacthub.io # It should be started afresh for each release @@ -27,4 +27,4 @@ version: 0.44.0 annotations: artifacthub.io/changes: | - kind: changed - description: configured dynamic apiVersion for HorizontalPodAutoscaler + description: introduced minimum kubernetes version 1.21 diff --git a/charts/lagoon-remote/Chart.lock b/charts/lagoon-remote/Chart.lock index 70f738f7..ff38a176 100644 --- a/charts/lagoon-remote/Chart.lock +++ b/charts/lagoon-remote/Chart.lock @@ -1,7 +1,7 @@ dependencies: - name: lagoon-build-deploy repository: https://uselagoon.github.io/lagoon-charts/ - version: 0.18.1 + version: 0.19.0 - name: dioscuri repository: https://amazeeio.github.io/charts/ version: 0.4.1 @@ -11,5 +11,5 @@ dependencies: - name: nats repository: https://nats-io.github.io/k8s/helm/charts/ version: 0.18.3 -digest: sha256:1018b08ca55534e25872062782c15d58d4ae03129374ce015e62306ce319b353 -generated: "2022-11-24T11:53:05.091683188+11:00" +digest: sha256:8a65f7fdd1dd221e3e780b71b9c3e31e6918cb93f6e652527afc6302c294ab34 +generated: "2023-02-03T12:00:16.291578794+11:00" diff --git a/charts/lagoon-remote/Chart.yaml b/charts/lagoon-remote/Chart.yaml index ecd7685d..bab52198 100644 --- a/charts/lagoon-remote/Chart.yaml +++ b/charts/lagoon-remote/Chart.yaml @@ -10,7 +10,7 @@ maintainers: - name: smlx email: scott.leggett@amazee.io url: https://amazee.io -kubeVersion: ">= 1.19.0-0" +kubeVersion: ">= 1.21.0-0" # Application charts are a collection of templates that can be packaged into # versioned archives to be deployed. @@ -19,11 +19,11 @@ type: application # This is the chart version. This version number should be incremented each # time you make changes to the chart and its templates, including the app # version. -version: 0.73.0 +version: 0.74.0 dependencies: - name: lagoon-build-deploy - version: ~0.18.0 + version: ~0.19.0 repository: https://uselagoon.github.io/lagoon-charts/ condition: lagoon-build-deploy.enabled - name: dioscuri @@ -45,4 +45,8 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: Update ssh-portal to v0.27.2. + description: introduced minimum kubernetes version 1.21 + - kind: changed + description: update docker-host image to v3.3.0 + - kind: changed + description: update lagoon-build-deploy chart to v0.19.0 diff --git a/charts/lagoon-remote/values.yaml b/charts/lagoon-remote/values.yaml index 6d95d38a..f5d08216 100644 --- a/charts/lagoon-remote/values.yaml +++ b/charts/lagoon-remote/values.yaml @@ -27,7 +27,7 @@ dockerHost: repository: uselagoon/docker-host pullPolicy: Always # Overrides the image tag whose default is "latest". - tag: "v3.1.0" + tag: "v3.3.0" name: docker-host diff --git a/charts/lagoon-test/Chart.yaml b/charts/lagoon-test/Chart.yaml index 86ad6abe..8dfcc991 100644 --- a/charts/lagoon-test/Chart.yaml +++ b/charts/lagoon-test/Chart.yaml @@ -7,13 +7,13 @@ maintainers: - name: smlx email: scott.leggett@amazee.io url: https://amazee.io -kubeVersion: ">= 1.19.0-0" +kubeVersion: ">= 1.21.0-0" type: application -version: 0.41.0 +version: 0.42.0 -appVersion: v2.10.0 +appVersion: v2.12.0 # This section is used to collect a changelog for artifacthub.io # It should be started afresh for each release @@ -21,4 +21,10 @@ appVersion: v2.10.0 annotations: artifacthub.io/changes: | - kind: added - description: Add ssh-token environment variables to test container. + description: added services test and deprecated old tests + - kind: changed + description: introduced minimum kubernetes version 1.21 + - kind: changed + description: Use new startup probe on api-data-watcher-pusher. + - kind: changed + description: update Lagoon appVersion to v2.12.0 diff --git a/charts/lagoon-test/templates/local-api-data-watcher-pusher.deployment.yaml b/charts/lagoon-test/templates/local-api-data-watcher-pusher.deployment.yaml index 07b4627d..eadd3040 100644 --- a/charts/lagoon-test/templates/local-api-data-watcher-pusher.deployment.yaml +++ b/charts/lagoon-test/templates/local-api-data-watcher-pusher.deployment.yaml @@ -49,16 +49,13 @@ spec: key: JWTSECRET - name: TOKEN value: {{ required "A valid .Values.token required!" .Values.token | quote }} - readinessProbe: + startupProbe: exec: command: - - /bin/sh - - -c - # this container uses wget to inject test fixtures into the lagoon api. - # once wget stops running, it's good to go. - - "for i in $(seq 4); do pgrep wget && exit 1 || sleep 1; done" - initialDelaySeconds: 32 - timeoutSeconds: 8 + - test + - -f + - /tmp/api-data-pushed + failureThreshold: 90 resources: {{- toYaml .Values.localAPIDataWatcherPusher.resources | nindent 10 }} {{- with .Values.localAPIDataWatcherPusher.nodeSelector }} diff --git a/charts/lagoon-test/values.yaml b/charts/lagoon-test/values.yaml index 30046d25..0bea382c 100644 --- a/charts/lagoon-test/values.yaml +++ b/charts/lagoon-test/values.yaml @@ -135,7 +135,23 @@ tests: tests: [] # This value is required when suiteEnabled is true, and must be set to one or # more of the valid test suites: - # - features-kubernetes # - active-standby-kubernetes + # - api + # - deploytarget + # - features-kubernetes + # - features-kubernetes-2 + # - features-variables + # - services + # - ssh-portal + # - tasks + # - bitbucket + # - bulk-deployment + # - drush + # - generic + # - github + # - gitlab + # - image-cache # - nginx - # - drupal + # - node + # - python + # - workflows