update to deno
This commit is contained in:
@@ -5,11 +5,16 @@ import { Szci } from '../szci.classes.szci.ts';
|
||||
|
||||
export const handleCli = async (szciRefArg: Szci, argvArg: any) => {
|
||||
logger.log('info', 'checking execution context');
|
||||
const presentRunnerTags = Deno.env.get("CI_RUNNER_TAGS").split(',').map((stringArg) =>
|
||||
const ciRunnerTags = Deno.env.get("CI_RUNNER_TAGS");
|
||||
if (!ciRunnerTags) {
|
||||
logger.log('error', 'CI_RUNNER_TAGS environment variable is not set');
|
||||
Deno.exit(1);
|
||||
}
|
||||
const presentRunnerTags = ciRunnerTags.split(',').map((stringArg) =>
|
||||
stringArg.trim()
|
||||
);
|
||||
let allDesiredGitlabRunnerTagsPresent = true;
|
||||
for (const desiredRunnerTag of szciRefArg.npmciConfig.getConfig().gitlabRunnerTags) {
|
||||
for (const desiredRunnerTag of szciRefArg.szciConfig.getConfig().gitlabRunnerTags) {
|
||||
if (!presentRunnerTags.includes(desiredRunnerTag)) {
|
||||
allDesiredGitlabRunnerTagsPresent = false;
|
||||
logger.log(
|
||||
|
||||
Reference in New Issue
Block a user