Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup local archive dir in CI #301

Closed
wants to merge 1 commit into from

Conversation

TerrenceMcGuinness-NOAA
Copy link
Owner

Test CI Updates for clean archive on disk after success

@@ -155,3 +155,16 @@
fi
echo "${URL}"
}

function cleanup_experiment() {

Check notice

Code scanning / shellcheck

The mentioned syntax error was in this function. Note

The mentioned syntax error was in this function.
@@ -155,3 +155,16 @@
fi
echo "${URL}"
}

function cleanup_experiment() {

Check failure

Code scanning / shellcheck

Couldn't parse this brace group. Fix to allow more checks. Error

Couldn't parse this brace group. Fix to allow more checks.
local HOMEDIR=$(grep 'export HOMEDIR=' "${PSLOT_PATH}/config.base" | cut -d'=' -f2 | tr -d '[:space:]')
local ARCHIVEDIR="${HOMEDIR}/archive"
rm -rf "${ARCHIVEDIR}/${pslot}"

Check failure

Code scanning / shellcheck

Expected a '}'. If you have one, try a ; or \n in front of it. Error

Expected a '}'. If you have one, try a ; or \n in front of it.
local HOMEDIR=$(grep 'export HOMEDIR=' "${PSLOT_PATH}/config.base" | cut -d'=' -f2 | tr -d '[:space:]')
local ARCHIVEDIR="${HOMEDIR}/archive"
rm -rf "${ARCHIVEDIR}/${pslot}"

Check failure

Code scanning / shellcheck

Missing '}'. Fix any mentioned problems and try again. Error

Missing '}'. Fix any mentioned problems and try again.
@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA changed the title added a cleanup_experment funciton to ci_utils that cleans local arch… cleanup local archive dir in CI Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant