fix(dockerfile): Update Docker base images to use code.foss.global instead of registry.gitlab.com
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@serve.zone/coreflow',
|
||||
version: '1.0.132',
|
||||
description: 'A comprehensive solution for managing Docker and scaling applications across servers, handling tasks from service provisioning to network traffic management.'
|
||||
version: '1.0.133',
|
||||
description: 'A comprehensive tool for managing Docker-based applications and services, enabling efficient scaling, network management, and integration with cloud services.'
|
||||
}
|
||||
|
@ -28,14 +28,12 @@ export class ClusterManager {
|
||||
*/
|
||||
public async start() {
|
||||
const config = await this.coreflowRef.cloudlyConnector.getConfigFromCloudly();
|
||||
await this.setDockerAuth(config);
|
||||
this.readyDeferred.resolve();
|
||||
|
||||
// subscriptions
|
||||
this.configSubscription =
|
||||
this.coreflowRef.cloudlyConnector.cloudlyClient.configUpdateSubject.subscribe(
|
||||
async (dataArg) => {
|
||||
await this.setDockerAuth(dataArg.configData);
|
||||
this.coreflowRef.taskManager.updateBaseServicesTask.trigger();
|
||||
}
|
||||
);
|
||||
@ -63,10 +61,6 @@ export class ClusterManager {
|
||||
this.configSubscription ? this.configSubscription.unsubscribe() : null;
|
||||
}
|
||||
|
||||
public async setDockerAuth(configArg: plugins.servezoneInterfaces.data.IClusterConfig) {
|
||||
await this.dockerHost.auth(configArg.data.registryInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* provisions base services
|
||||
*/
|
||||
@ -191,7 +185,11 @@ export class ClusterManager {
|
||||
/**
|
||||
* provision services obtained from cloudly
|
||||
*/
|
||||
public async provisionWorkloadServices(configData: plugins.servezoneInterfaces.data.IClusterConfig) {
|
||||
public async provisionWorkloadServices(configData: plugins.servezoneInterfaces.data.ICluster) {
|
||||
// lets get the config + deploymentDirectives
|
||||
|
||||
|
||||
|
||||
for (const containerConfig of configData.data.containers) {
|
||||
await this.provisionSpecificWorkloadService(containerConfig);
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
import * as loleLog from '@losslessone_private/lole-log';
|
||||
import * as plugins from './coreflow.plugins.js';
|
||||
import { projectInfoNpm } from './coreflow.info.js';
|
||||
|
||||
export const logger = loleLog.createLoleLogger({
|
||||
companyUnit: 'Lossless Cloud',
|
||||
containerName: 'coreflow',
|
||||
containerVersion: projectInfoNpm.version,
|
||||
sentryAppName: 'coreflow',
|
||||
sentryDsn: 'https://2a449cd768b34a1b9b5ec34845b4bbd0@sentry.io/1762080',
|
||||
zone: 'servezone',
|
||||
export const logger = new plugins.smartlog.Smartlog({
|
||||
logContext: {
|
||||
containerName: 'coreflow',
|
||||
environment: 'production',
|
||||
runtime: 'node',
|
||||
zone: 'servezone',
|
||||
},
|
||||
});
|
||||
logger.enableConsole();
|
||||
|
Reference in New Issue
Block a user