Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .vib/streampark/cypress/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
pageLoadTimeout: 240000,
defaultCommandTimeout: 90000,
viewportWidth: 1920,
viewportHeight: 1080,
e2e: {
setupNodeEvents(on, config) {},
baseUrl: 'https://localhost',
supportFile: false,
},
component: {
supportFile: false,
},
})
13 changes: 13 additions & 0 deletions .vib/streampark/cypress/cypress/e2e/streampark.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright Broadcom, Inc. All Rights Reserved.
// SPDX-License-Identifier: APACHE-2.0

it('passes', () => {
cy.visit('/')
/* ==== Generated with Cypress Studio ==== */
cy.get('#form_item_account').clear('ad');
cy.get('#form_item_account').type('admin');
cy.get('#form_item_password').clear();
cy.get('#form_item_password').type('streampark');
cy.get(':nth-child(3) > .ant-col > .ant-form-item-control-input > .ant-form-item-control-input-content > .ant-btn > span').click();
/* ==== End Cypress Studio ==== */
});
2 changes: 2 additions & 0 deletions .vib/streampark/runtime-parameters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service:
type: LoadBalancer
47 changes: 47 additions & 0 deletions .vib/streampark/vib-publish.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"phases": {
"package": {
"context": {
"credentials": [
{
"url": "{VIB_ENV_CHARTS_REGISTRY}",
"authn": {
"username": "{VIB_ENV_CHARTS_REGISTRY_USERNAME}",
"password": "{VIB_ENV_CHARTS_REGISTRY_PASSWORD}"
}
}
],
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/streampark"
}
},
"actions": [
{
"action_id": "helm-package"
},
{
"action_id": "helm-lint"
}
]
},
"publish": {
"actions": [
{
"action_id": "helm-publish",
"params": {
"repository": {
"kind": "S3",
"url": "{VIB_ENV_S3_URL}",
"authn": {
"access_key_id": "{VIB_ENV_S3_ACCESS_KEY_ID}",
"secret_access_key": "{VIB_ENV_S3_SECRET_ACCESS_KEY}",
"role": "{VIB_ENV_S3_ROLE_ARN}"
}
}
}
}
]
}
}
}
59 changes: 59 additions & 0 deletions .vib/streampark/vib-verify.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"phases": {
"package": {
"context": {
"credentials": [
{
"url": "{VIB_ENV_CHARTS_REGISTRY}",
"authn": {
"username": "{VIB_ENV_CHARTS_REGISTRY_USERNAME}",
"password": "{VIB_ENV_CHARTS_REGISTRY_PASSWORD}"
}
}
],
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/streampark"
}
},
"actions": [
{
"action_id": "helm-package"
},
{
"action_id": "helm-lint"
}
]
},
"verify": {
"context": {
"resources": {
"url": "{SHA_ARCHIVE}",
"path": "/bitnami/streampark"
},
"target_platform": {
"target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
"size": {
"name": "S4"
}
}
},
"actions": [
{
"action_id": "cypress",
"params": {
"resources": {
"path": "/.vib/streampark/cypress"
},
"endpoint": "lb-streampark-https",
"app_protocol": "HTTP",
"env": {
"username": "admin",
"password": "streampark"
}
}
}
]
}
}
}
23 changes: 23 additions & 0 deletions bitnami/streampark/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
5 changes: 5 additions & 0 deletions bitnami/streampark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 2.1.5 (2025-05-21)

* [bitnami/streampark] upload the whole Streampark templates and VIB test case ([#33774](https://github.com/bitnami/charts/pull/33774))
43 changes: 43 additions & 0 deletions bitnami/streampark/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0

# This Helm chart is based on the original chart from the Apache Software Foundation.
# Modifications have been made by PO-YU SHEN on 2025/04/29.
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v2
name: streampark
description: A Helm chart for the Apache StreamPark
home: https://streampark.apache.org
icon: https://streampark.apache.org/image/logo_name.png
type: application
version: 2.1.5
appVersion: 2.1.5
dependencies:
- condition: postgresql.enabled
name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: ~12.12.10
- condition: mysql.enabled
name: mysql
repository: oci://registry-1.docker.io/bitnamicharts
version: ~12.3.0
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.30.0
15 changes: 15 additions & 0 deletions bitnami/streampark/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM busybox:latest as busybox
WORKDIR /
RUN mkdir /mysql-connector \
&& wget -O mysql-connector.tar.gz https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-9.3.0.tar.gz \
&& tar -zxvf mysql-connector.tar.gz -C /mysql-connector --strip-components=1

FROM apache/flink:1.17.2 as flink-1.17
FROM apache/flink:1.18.1 as flink-1.18
FROM apache/flink:1.19.1 as flink-1.19

FROM apache/streampark:2.1.5
COPY --from=busybox /mysql-connector/mysql-*.jar /streampark/lib
COPY --from=flink-1.17 /opt/flink /streampark/flink-1.17
COPY --from=flink-1.18 /opt/flink /streampark/flink-1.18
COPY --from=flink-1.19 /opt/flink /streampark/flink-1.19
15 changes: 15 additions & 0 deletions bitnami/streampark/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Apache StreamPark (incubating)
Copyright 2022-2024 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

-----------------------------------------------------------------------
This product contains code from the Apache Maven Wrapper Project:

Apache Maven Wrapper
Copyright 2013-2022 The Apache Software Foundation

The original idea and initial implementation of the maven-wrapper module is derived
from the Gradle Wrapper which was written originally by Hans Dockter and Adam Murdoch.
Copyright 2007 the original author or authors.
Loading
Loading