瀏覽代碼

[bitnami/mastodon] :zap: :arrow_up: Update dependency references (#35183)

* [bitnami/mastodon] Release 13.0.8 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/mastodon] Mastodon 4.4.1

Signed-off-by: Gonzalo Gomez Gracia <gonzalo.gomez@broadcom.com>

---------

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Signed-off-by: Gonzalo Gomez Gracia <gonzalo.gomez@broadcom.com>
Co-authored-by: Gonzalo Gomez Gracia <gonzalo.gomez@broadcom.com>
Bitnami Bot 2 月之前
父節點
當前提交
328116c05c

+ 1 - 0
.vib/mastodon/cypress/cypress/e2e/mastodon.cy.js

@@ -17,6 +17,7 @@ it('allows to publish a tweet with an image', () => {
       force: true,
     });
     cy.get('[type="submit"]').should('be.enabled').click();
+    cy.get('button[class="link-button"]').contains('Post anyway').click();
     cy.get('.item-list').contains(`${tweet.text} ${random}`);
     // The image will get renamed so we can only check if the new post contains an image
     cy.contains('.status-public', `${tweet.text} ${random}`).within(() => {

+ 1 - 1
.vib/mastodon/cypress/cypress/support/commands.js

@@ -30,6 +30,6 @@ Cypress.Commands.add(
     cy.get('#user_password').type(`${password}{enter}`);
     // We click on Home to skip a welcome page
     cy.contains('a', 'Home').click();
-    cy.contains('Administration');
+    cy.contains('Preferences');
   }
 );

+ 6 - 2
bitnami/mastodon/CHANGELOG.md

@@ -1,8 +1,12 @@
 # Changelog
 
-## 13.0.7 (2025-07-15)
+## 13.0.8 (2025-07-17)
 
-* [bitnami/mastodon] :zap: :arrow_up: Update dependency references ([#35139](https://github.com/bitnami/charts/pull/35139))
+* [bitnami/mastodon] :zap: :arrow_up: Update dependency references ([#35183](https://github.com/bitnami/charts/pull/35183))
+
+## <small>13.0.7 (2025-07-15)</small>
+
+* [bitnami/mastodon] :zap: :arrow_up: Update dependency references (#35139) ([419ff09](https://github.com/bitnami/charts/commit/419ff09ba4b51e863621777d0a17c339b4ed8c5c)), closes [#35139](https://github.com/bitnami/charts/issues/35139)
 
 ## <small>13.0.6 (2025-07-06)</small>
 

+ 4 - 4
bitnami/mastodon/Chart.yaml

@@ -5,13 +5,13 @@ annotations:
   category: CMS
   images: |
     - name: mastodon
-      image: docker.io/bitnami/mastodon:4.3.9-debian-12-r1
+      image: docker.io/bitnami/mastodon:4.4.1-debian-12-r0
     - name: os-shell
-      image: docker.io/bitnami/os-shell:12-debian-12-r48
+      image: docker.io/bitnami/os-shell:12-debian-12-r49
   licenses: Apache-2.0
   tanzuCategory: application
 apiVersion: v2
-appVersion: 4.3.9
+appVersion: 4.4.1
 dependencies:
 - condition: redis.enabled
   name: redis
@@ -51,4 +51,4 @@ maintainers:
 name: mastodon
 sources:
 - https://github.com/bitnami/charts/tree/main/bitnami/mastodon
-version: 13.0.7
+version: 13.0.8

+ 1 - 1
bitnami/mastodon/templates/_helpers.tpl

@@ -273,7 +273,7 @@ Return the proper Mastodon sidekiq fullname
 Return true if the init job should be created
 */}}
 {{- define "mastodon.createInitJob" -}}
-{{- if or .Values.initJob.migrateAndCreateAdmin.migrateDB .Values.initJob.migrateAndCreateAdmin .Values.initJob.precompileAssets .Values.initJob.migrateAndCreateAdmin.migrateElasticsearch -}}
+{{- if or .Values.initJob.migrateAndCreateAdmin.migrateDB .Values.initJob.migrateAndCreateAdmin .Values.initJob.precompileAssets.enabled .Values.initJob.migrateAndCreateAdmin.migrateElasticsearch -}}
     {{- true -}}
 {{- end -}}
 {{- end -}}

+ 2 - 1
bitnami/mastodon/templates/init-job/init-job-configmap.yaml

@@ -37,6 +37,7 @@ data:
     info "Migrating database"
     psql_connection_string="postgresql://${MASTODON_DATABASE_USERNAME}:${MASTODON_DATABASE_PASSWORD}@${MASTODON_DATABASE_HOST}:${MASTODON_DATABASE_PORT_NUMBER}/${MASTODON_DATABASE_NAME}"
     mastodon_wait_for_postgresql_connection "$psql_connection_string"
+    mastodon_rake_execute db:prepare
     mastodon_rake_execute db:migrate
     {{- end }}
 
@@ -74,7 +75,7 @@ data:
     mastodon_wait_for_elasticsearch_connection "$elasticsearch_connection_string"
     {{- end }}
 
-    {{- if and .Values.initJob.precompileAssets .Values.enableS3 }}
+    {{- if and .Values.initJob.precompileAssets.enabled .Values.enableS3 }}
     mastodon_wait_for_s3_connection "$MASTODON_S3_HOSTNAME" "$MASTODON_S3_PORT_NUMBER"
     {{- end }}
   {{- if .Values.initJob.precompileAssets }}

+ 3 - 0
bitnami/mastodon/templates/init-job/init-job.yaml

@@ -327,6 +327,9 @@ spec:
             - name: empty-dir
               mountPath: /opt/bitnami/mastodon/public
               subPath: app-public-dir
+            - name: empty-dir
+              mountPath: /opt/bitnami/mastodon/node_modules/.vite-temp
+              subPath: app-vite-temp-dir
             - name: empty-dir
               mountPath: /tmp
               subPath: tmp-dir

+ 2 - 2
bitnami/mastodon/values.yaml

@@ -90,7 +90,7 @@ diagnosticMode:
 image:
   registry: docker.io
   repository: bitnami/mastodon
-  tag: 4.3.9-debian-12-r1
+  tag: 4.4.1-debian-12-r0
   digest: ""
   ## Specify a imagePullPolicy
   ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
@@ -1762,7 +1762,7 @@ defaultInitContainers:
     image:
       registry: docker.io
       repository: bitnami/os-shell
-      tag: 12-debian-12-r48
+      tag: 12-debian-12-r49
       pullPolicy: IfNotPresent
       ## Optionally specify an array of imagePullSecrets.
       ## Secrets must be manually created in the namespace.