Skip to content

Commit

Permalink
Initial version of script building OCI module image (kyma-project#181)
Browse files Browse the repository at this point in the history
initial version of script building OCI module image
  • Loading branch information
jaroslaw-pieszka authored and ukff committed Mar 7, 2023
1 parent 2a9e569 commit 66bcc75
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions hack/create_module_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

# This script has the following argument: ci, for example:
# ./create_module_image.sh ci

# standard bash error handling
set -o nounset # treat unset variables as an error and exit immediately.
set -o errexit # exit immediately when a command fails.
set -E # needs to be set if we want the ERR trap
set -o pipefail # prevents errors in a pipeline from being masked

# Expected variables:
# PULL_NUMBER - PR number

echo "PULL_NUMBER: ${PULL_NUMBER}"

echo "Creating module image - TBD"


0 comments on commit 66bcc75

Please sign in to comment.