mirror of https://github.com/certd/certd
chore:
parent
a2c43b50a6
commit
6693d1acfb
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
# 判断$CERTD_VERSION 是否存在
|
|
||||||
if [ -n "$CERTD_VERSION" ]; then
|
|
||||||
echo "CERTD_VERSION is set = $CERTD_VERSION"
|
|
||||||
else
|
|
||||||
echo "CERTD_VERSION is not set"
|
|
||||||
echo "请先输入一个版本号(如 1.0.6):"
|
|
||||||
read CERTD_VERSION
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "您输入的版本号是: $CERTD_VERSION"
|
|
||||||
sudo -E docker compose up -d
|
|
|
@ -283,7 +283,7 @@ export class Executor {
|
||||||
}
|
}
|
||||||
if (notification.type === "email") {
|
if (notification.type === "email") {
|
||||||
try {
|
try {
|
||||||
this.options.emailService?.send({
|
await this.options.emailService?.send({
|
||||||
userId: this.pipeline.userId,
|
userId: this.pipeline.userId,
|
||||||
subject,
|
subject,
|
||||||
content,
|
content,
|
||||||
|
|
|
@ -227,8 +227,10 @@ export class Flyway {
|
||||||
if (history.hash !== hash && this.allowHashNotMatch === false) {
|
if (history.hash !== hash && this.allowHashNotMatch === false) {
|
||||||
throw new Error(file + `hash conflict ,old: ${history.hash} != new: ${hash}`);
|
throw new Error(file + `hash conflict ,old: ${history.hash} != new: ${hash}`);
|
||||||
}
|
}
|
||||||
|
this.logger.info('[ midfly ] script<' + file + '> already executed');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
this.logger.info('[ midfly ] script<' + file + '> not yet execute');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
export const dnsList = [
|
||||||
|
|
||||||
|
]
|
|
@ -1,9 +1,9 @@
|
||||||
import { IsTaskPlugin, pluginGroups, RunStrategy, sp, Step, TaskInput } from "@certd/pipeline";
|
import { IsTaskPlugin, pluginGroups, RunStrategy, sp, Step, TaskInput } from "@certd/pipeline";
|
||||||
import type { CertInfo } from "./acme.js";
|
import type { CertInfo } from "../acme";
|
||||||
import { CertReader } from "./cert-reader.js";
|
import { CertReader } from "../cert-reader";
|
||||||
import { CertApplyBasePlugin } from "./base.js";
|
import { CertApplyBasePlugin } from "../base";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import { EabAccess } from "../../access";
|
import { EabAccess } from "../../../access";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
export { CertReader };
|
export { CertReader };
|
|
@ -1,2 +1,2 @@
|
||||||
export * from "./cert-plugin/index.js";
|
export * from "./cert-plugin/index.js";
|
||||||
export * from "./cert-plugin/lego.js";
|
export * from "./cert-plugin/lego/index.js";
|
||||||
|
|
Loading…
Reference in New Issue