This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch release-v0.20-auto-cherry-pick-6862 in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 483b5813b15f0fb4d5abe4f960039428e97b5fad Author: abeizn <[email protected]> AuthorDate: Tue Jan 23 14:32:32 2024 +0800 fix: add devops version file and add asf header to .example files (#6862) --- .licenserc.yaml | 2 - config-ui/env.example | 16 ++++ devops/releases/lake-v0.10.0-beta1/env.example | 16 ++++ devops/releases/lake-v0.10.0/env.example | 16 ++++ devops/releases/lake-v0.10.1/env.example | 16 ++++ devops/releases/lake-v0.11.0/env.example | 16 ++++ devops/releases/lake-v0.12.0/env.example | 16 ++++ devops/releases/lake-v0.13.0/env.example | 16 ++++ devops/releases/lake-v0.14.0/env.example | 16 ++++ devops/releases/lake-v0.15.0/env.example | 16 ++++ devops/releases/lake-v0.16.0/env.example | 16 ++++ devops/releases/lake-v0.17.0/env.example | 16 ++++ devops/releases/lake-v0.18.0/env.example | 16 ++++ devops/releases/lake-v0.19.0/env.example | 16 ++++ devops/releases/lake-v0.20.0/docker-compose.yml | 86 ++++++++++++++++++++++ .../{lake-v0.18.0 => lake-v0.20.0}/env.example | 24 ++++-- devops/releases/lake-v0.7.0/env.example | 16 ++++ devops/releases/lake-v0.8.0/env.example | 16 ++++ devops/releases/lake-v0.9.0/env.example | 16 ++++ env.example | 16 ++++ 20 files changed, 376 insertions(+), 8 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 8245b4e91..70b9f774b 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -27,9 +27,7 @@ header: - "logs" - "mocks" - "vendor" - - "env.example" - "**/*.log" - - "**/env.example" - "**/*.csv" - "**/*.json" - "**/*.json.tmpl" diff --git a/config-ui/env.example b/config-ui/env.example index 085d00bbb..f4b3451dc 100644 --- a/config-ui/env.example +++ b/config-ui/env.example @@ -1,3 +1,19 @@ +# 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. +# + # About Basic Information # DEVLAKE_LOGO= # DEVLAKE_COPYRIGHT= diff --git a/devops/releases/lake-v0.10.0-beta1/env.example b/devops/releases/lake-v0.10.0-beta1/env.example index 1f48cac19..20d6961cc 100644 --- a/devops/releases/lake-v0.10.0-beta1/env.example +++ b/devops/releases/lake-v0.10.0-beta1/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.10.0/env.example b/devops/releases/lake-v0.10.0/env.example index 1f48cac19..20d6961cc 100644 --- a/devops/releases/lake-v0.10.0/env.example +++ b/devops/releases/lake-v0.10.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.10.1/env.example b/devops/releases/lake-v0.10.1/env.example index 1f48cac19..20d6961cc 100644 --- a/devops/releases/lake-v0.10.1/env.example +++ b/devops/releases/lake-v0.10.1/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.11.0/env.example b/devops/releases/lake-v0.11.0/env.example index a031fb917..666c7f1b5 100644 --- a/devops/releases/lake-v0.11.0/env.example +++ b/devops/releases/lake-v0.11.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.12.0/env.example b/devops/releases/lake-v0.12.0/env.example index 778e06c8f..5d05aed9c 100644 --- a/devops/releases/lake-v0.12.0/env.example +++ b/devops/releases/lake-v0.12.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.13.0/env.example b/devops/releases/lake-v0.13.0/env.example index 42f9a303f..ac622eb5a 100644 --- a/devops/releases/lake-v0.13.0/env.example +++ b/devops/releases/lake-v0.13.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.14.0/env.example b/devops/releases/lake-v0.14.0/env.example index 42cbdd9a1..da937f86d 100644 --- a/devops/releases/lake-v0.14.0/env.example +++ b/devops/releases/lake-v0.14.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.15.0/env.example b/devops/releases/lake-v0.15.0/env.example index d906ac405..e964a8947 100644 --- a/devops/releases/lake-v0.15.0/env.example +++ b/devops/releases/lake-v0.15.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.16.0/env.example b/devops/releases/lake-v0.16.0/env.example index a66eaf195..700a3a47a 100644 --- a/devops/releases/lake-v0.16.0/env.example +++ b/devops/releases/lake-v0.16.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.17.0/env.example b/devops/releases/lake-v0.17.0/env.example index a66eaf195..700a3a47a 100644 --- a/devops/releases/lake-v0.17.0/env.example +++ b/devops/releases/lake-v0.17.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.18.0/env.example b/devops/releases/lake-v0.18.0/env.example index c3b790ac1..d04cb2399 100644 --- a/devops/releases/lake-v0.18.0/env.example +++ b/devops/releases/lake-v0.18.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.19.0/env.example b/devops/releases/lake-v0.19.0/env.example index c3b790ac1..d04cb2399 100644 --- a/devops/releases/lake-v0.19.0/env.example +++ b/devops/releases/lake-v0.19.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.20.0/docker-compose.yml b/devops/releases/lake-v0.20.0/docker-compose.yml new file mode 100644 index 000000000..01d14e923 --- /dev/null +++ b/devops/releases/lake-v0.20.0/docker-compose.yml @@ -0,0 +1,86 @@ +# 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. +# +version: "3" +services: + mysql: + image: mysql:8 + volumes: + - mysql-storage:/var/lib/mysql + restart: always + ports: + - 3306:3306 + environment: + MYSQL_ROOT_PASSWORD: admin + MYSQL_DATABASE: lake + MYSQL_USER: merico + MYSQL_PASSWORD: merico + TZ: UTC + command: --character-set-server=utf8mb4 + --collation-server=utf8mb4_bin + --skip-log-bin + + grafana: + image: devlake.docker.scarf.sh/apache/devlake-dashboard:v0.20.0 + ports: + - 3002:3000 + volumes: + - grafana-storage:/var/lib/grafana + environment: + GF_SERVER_ROOT_URL: "http://localhost:4000/grafana" + GF_USERS_DEFAULT_THEME: "light" + MYSQL_URL: mysql:3306 + MYSQL_DATABASE: lake + MYSQL_USER: merico + MYSQL_PASSWORD: merico + TZ: UTC + restart: always + depends_on: + - mysql + + devlake: + image: devlake.docker.scarf.sh/apache/devlake:v0.20.0 + ports: + - 8080:8080 + restart: always + volumes: + - devlake-log:/app/logs + env_file: + - ./.env + environment: + LOGGING_DIR: /app/logs + TZ: UTC + depends_on: + - mysql + + config-ui: + image: devlake.docker.scarf.sh/apache/devlake-config-ui:v0.20.0 + ports: + - 4000:4000 + env_file: + - ./.env + environment: + DEVLAKE_ENDPOINT: devlake:8080 + GRAFANA_ENDPOINT: grafana:3000 + TZ: UTC + #ADMIN_USER: devlake + #ADMIN_PASS: merico + depends_on: + - devlake + +volumes: + mysql-storage: + grafana-storage: + devlake-log: diff --git a/devops/releases/lake-v0.18.0/env.example b/devops/releases/lake-v0.20.0/env.example similarity index 53% copy from devops/releases/lake-v0.18.0/env.example copy to devops/releases/lake-v0.20.0/env.example index c3b790ac1..0398ef210 100644 --- a/devops/releases/lake-v0.18.0/env.example +++ b/devops/releases/lake-v0.20.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# @@ -22,18 +38,12 @@ API_TIMEOUT=120s API_RETRY=3 API_REQUESTS_PER_HOUR=10000 PIPELINE_MAX_PARALLEL=1 -#TEMPORAL_URL=temporal:7233 -TEMPORAL_URL= -TEMPORAL_TASK_QUEUE= # Debug Info Warn Error LOGGING_LEVEL= LOGGING_DIR=./logs ENABLE_STACKTRACE=false FORCE_MIGRATION=false -# Lake TAP API -TAP_PROPERTIES_DIR= - ########################## # Sensitive information encryption key ########################## @@ -43,3 +53,5 @@ ENCRYPTION_SECRET= # Set if skip verify and connect with out trusted certificate when use https ########################## IN_SECURE_SKIP_VERIFY= + +# SKIP_COMMIT_FILES=true diff --git a/devops/releases/lake-v0.7.0/env.example b/devops/releases/lake-v0.7.0/env.example index 42846badf..e241cf7e3 100644 --- a/devops/releases/lake-v0.7.0/env.example +++ b/devops/releases/lake-v0.7.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.8.0/env.example b/devops/releases/lake-v0.8.0/env.example index 42846badf..e241cf7e3 100644 --- a/devops/releases/lake-v0.8.0/env.example +++ b/devops/releases/lake-v0.8.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/devops/releases/lake-v0.9.0/env.example b/devops/releases/lake-v0.9.0/env.example index 578decc2d..ae2956f64 100644 --- a/devops/releases/lake-v0.9.0/env.example +++ b/devops/releases/lake-v0.9.0/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # ############# diff --git a/env.example b/env.example index 522d2327e..3812bd1f7 100755 --- a/env.example +++ b/env.example @@ -1,3 +1,19 @@ +# 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. +# + ############# # Lake core # #############
