fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-13 15:37:19 +02:00
parent c216f167ab
commit da443d0734
5 changed files with 19 additions and 14 deletions

View File

@ -5,7 +5,7 @@
"githost": "gitlab.com", "githost": "gitlab.com",
"gitscope": "losslessone/services/initzone", "gitscope": "losslessone/services/initzone",
"gitrepo": "spark", "gitrepo": "spark",
"description": "A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure.", "description": "A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure and used by @serve.zone/cloudly as a cluster node server system manager.",
"npmPackagename": "@losslessone_private/spark", "npmPackagename": "@losslessone_private/spark",
"license": "MIT", "license": "MIT",
"projectDomain": "https://lossless.one", "projectDomain": "https://lossless.one",
@ -24,7 +24,11 @@
"task scheduling", "task scheduling",
"CLI", "CLI",
"logging", "logging",
"server maintenance" "server maintenance",
"serve.zone",
"cluster management",
"system manager",
"server configuration"
] ]
} }
}, },

View File

@ -2,7 +2,7 @@
"name": "@serve.zone/spark", "name": "@serve.zone/spark",
"version": "1.0.89", "version": "1.0.89",
"private": false, "private": false,
"description": "A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure.", "description": "A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure and used by @serve.zone/cloudly as a cluster node server system manager.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",
"author": "Task Venture Capital GmbH", "author": "Task Venture Capital GmbH",
@ -71,6 +71,10 @@
"task scheduling", "task scheduling",
"CLI", "CLI",
"logging", "logging",
"server maintenance" "server maintenance",
"serve.zone",
"cluster management",
"system manager",
"server configuration"
] ]
} }

View File

@ -1,2 +1,2 @@
- this package is part of serve.zone and that spark's main purpose is the be used by @serve.zone/cloudly as a cluster node server system manager. - make sure to mention that this package is part of serve.zone and **spark's main purpose** is the be used by @serve.zone/cloudly as a cluster node server system manager.
- it is used to maintain and configure servers on the base OS level - it is used to maintain and configure servers on the base OS level

View File

@ -1,5 +1,5 @@
# @serve.zone/spark # @serve.zone/spark
A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure. A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the serve.zone infrastructure. It's mainly designed to be utilized by @serve.zone/cloudly as a cluster node server system manager, maintaining and configuring servers on the base OS level.
## Install ## Install
To install `@serve.zone/spark`, run the following command in your terminal: To install `@serve.zone/spark`, run the following command in your terminal:
@ -22,7 +22,7 @@ import { Spark } from '@serve.zone/spark';
``` ```
### Initializing Spark ### Initializing Spark
Create an instance of the `Spark` class to start using Spark. This instance will serve as the main entry point for interacting with the Spark functionalities. Create an instance of the `Spark` class to start using Spark. This instance will serve as the main entry point for interacting with Spark functionalities.
```typescript ```typescript
const sparkInstance = new Spark(); const sparkInstance = new Spark();
@ -45,7 +45,7 @@ await sparkInstance.sparkUpdateManager.updateServices();
``` ```
### Managing Configuration and Logging ### Managing Configuration and Logging
Spark allows for extensive configuration and logging customization. Use the `SparkLocalConfig` and logging features to tailor Spark's operation to your needs. Spark allows extensive configuration and logging customization. Use the `SparkLocalConfig` and logging features to tailor Spark's operation to your needs.
```typescript ```typescript
// Accessing the local configuration // Accessing the local configuration
@ -280,9 +280,6 @@ createDockerSecret();
This example shows how to create a Docker secret using Spark's `SparkUpdateManager` class, ensuring that sensitive information is securely stored and managed. This example shows how to create a Docker secret using Spark's `SparkUpdateManager` class, ensuring that sensitive information is securely stored and managed.
## Conclusion
`@serve.zone/spark` is a comprehensive toolkit for orchestrating and managing server environments and Docker-based services. By leveraging its CLI and programmatic interfaces, you can automate and streamline server operations, configurations, updates, and task scheduling, ensuring your infrastructure is responsive, updated, and maintained efficiently.
## License and Legal Information ## License and Legal Information
This repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. This repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository.

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@serve.zone/spark', name: '@serve.zone/spark',
version: '1.0.89', version: '1.0.90',
description: 'A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure.' description: 'A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure and used by @serve.zone/cloudly as a cluster node server system manager.'
} }