Skip to content

Commit

Permalink
Merge pull request #209 from red-hat-storage/sync_ds--main
Browse files Browse the repository at this point in the history
Syncing latest changes from main for odf-must-gather
  • Loading branch information
openshift-merge-bot[bot] authored Nov 11, 2024
2 parents 9f0b201 + af5296e commit de70d3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
FROM registry.ci.openshift.org/ocp/4.17:cli

WORKDIR /tmp
WORKDIR /usr/bin
COPY collection-scripts .

COPY . .

RUN mkdir -p /templates

COPY collection-scripts/* /usr/bin/
COPY templates/* /templates/
WORKDIR /
COPY templates ./templates

# We do not need it as of now
# jq is not preinstalled on openshift/origin-cli either
Expand Down
3 changes: 3 additions & 0 deletions collection-scripts/gather_clusterscoped_resources
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ commands_get+=("volumesnapshotclass")
commands_get+=("volumesnapshotcontent")
commands_get+=("volumegroupsnapshotclass")
commands_get+=("volumegroupsnapshotcontent")
commands_get+=("storageclusterpeers")

# collect yaml output of OC commands
oc_yamls=()
Expand All @@ -41,6 +42,7 @@ oc_yamls+=("volumesnapshotclass")
oc_yamls+=("volumesnapshotcontent")
oc_yamls+=("volumegroupsnapshotclass")
oc_yamls+=("volumegroupsnapshotcontent")
oc_yamls+=("storageclusterpeers")

# collect describe output of OC commands
commands_desc=()
Expand All @@ -59,6 +61,7 @@ commands_desc+=("volumesnapshotclass")
commands_desc+=("volumesnapshotcontent")
commands_desc+=("volumegroupsnapshotclass")
commands_desc+=("volumegroupsnapshotcontent")
commands_desc+=("storageclusterpeers")

# collection path for OC commands
mkdir -p "${BASE_COLLECTION_PATH}/cluster-scoped-resources/oc_output/"
Expand Down

0 comments on commit de70d3e

Please sign in to comment.