mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
Validation should be inside container
This commit is contained in:
parent
291489d6d9
commit
f826ac73c5
3 changed files with 14 additions and 14 deletions
7
.github/workflows/deploy-DEV.yml
vendored
7
.github/workflows/deploy-DEV.yml
vendored
|
@ -63,13 +63,6 @@ jobs:
|
|||
shell: bash
|
||||
run: .automation/validate-docker-labels.sh
|
||||
|
||||
#########################################
|
||||
# Validates the docker libs/executables #
|
||||
#########################################
|
||||
- name: Run Docker libs/executables test cases
|
||||
shell: bash
|
||||
run: .automation/validate-docker.sh
|
||||
|
||||
#####################################
|
||||
# Run Linter against Test code base #
|
||||
#####################################
|
||||
|
|
|
@ -342,6 +342,11 @@ COPY TEMPLATES /action/lib/.automation
|
|||
###################################
|
||||
RUN /action/lib/linterVersions.sh
|
||||
|
||||
##################################4
|
||||
# Run validations of built image #
|
||||
##################################
|
||||
RUN /action/lib/validate-docker.sh
|
||||
|
||||
######################
|
||||
# Set the entrypoint #
|
||||
######################
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
###########
|
||||
# Globals #
|
||||
###########
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # GitHub Workspace
|
||||
GITHUB_SHA="${GITHUB_SHA}" # Sha used to create this branch
|
||||
BUILD_DATE="${BUILD_DATE}" # Date the container was built
|
||||
let LOG_TRACE=LOG_DEBUG=LOG_VERBOSE=LOG_NOTICE=LOG_WARN=LOG_ERROR=true # Enable all loging
|
||||
ERROR=0 # Error count
|
||||
|
||||
|
@ -17,7 +14,7 @@ ERROR=0 # Error
|
|||
# Source Function Files #
|
||||
#########################
|
||||
# shellcheck source=/dev/null
|
||||
source "${GITHUB_WORKSPACE}/lib/log.sh" # Source the function script(s)
|
||||
source /action/lib/log.sh
|
||||
|
||||
################################################################################
|
||||
############################ FUNCTIONS BELOW ###################################
|
||||
|
@ -25,9 +22,9 @@ source "${GITHUB_WORKSPACE}/lib/log.sh" # Source the function script(s)
|
|||
################################################################################
|
||||
#### Function Header ###########################################################
|
||||
Header() {
|
||||
info "-------------------------------------------"
|
||||
info "----- GitHub Actions validate docker ------"
|
||||
info "-------------------------------------------"
|
||||
info "---------------------------------------"
|
||||
info "----- Post-build validate docker ------"
|
||||
info "---------------------------------------"
|
||||
}
|
||||
################################################################################
|
||||
#### Function ValidatePowershellModules ########################################
|
||||
|
@ -69,6 +66,11 @@ Footer() {
|
|||
################################## MAIN ########################################
|
||||
################################################################################
|
||||
|
||||
##########
|
||||
# Header #
|
||||
##########
|
||||
Header
|
||||
|
||||
#################
|
||||
# Validate libs #
|
||||
#################
|
Loading…
Reference in a new issue