This commit is contained in:
2024-11-16 17:43:21 -05:00
parent 359eee3eb9
commit 66d7cc445a
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -9,6 +9,7 @@ import { saveFileIfItChanged } from "@jjHelpers/saveFileIfItChanged";
import * as YAML from "js-yaml"; import * as YAML from "js-yaml";
import { subRepositoryClean, subRepositoryPull, subRepositoryPushChanges } from "@jjHelpers/gitSubRepoUtils"; import { subRepositoryClean, subRepositoryPull, subRepositoryPushChanges } from "@jjHelpers/gitSubRepoUtils";
import moment from "moment"; import moment from "moment";
import { bashRunAndReturnSync } from "@jjHelpers/bashUtils";
const logger = makeJJlogger({ const logger = makeJJlogger({
filename: "jj/cli/secrets.ts", filename: "jj/cli/secrets.ts",
@@ -186,6 +187,15 @@ export const commitSecretMeta = async () => {
); );
logger.success(`commitSecretMeta for ${process.env.JJ_CLI_SELECTED_COMMIT} done`); logger.success(`commitSecretMeta for ${process.env.JJ_CLI_SELECTED_COMMIT} done`);
try {
const res = await bashRunAndReturnSync({
command: `jj portainer syncSecret`,
});
console.log(res);
} catch (err) {
//
}
//
}; };
export const secrets = async () => { export const secrets = async () => {
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "jj-command-line", "name": "jj-command-line",
"description": "jj cli", "description": "jj cli",
"version": "1.0.13", "version": "1.0.14",
"author": "Jason Jafari", "author": "Jason Jafari",
"bin": { "bin": {
"jj": "./jj.sh" "jj": "./jj.sh"