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

WIP: Crw-3071Use same arguments in all build scripts #114

Open
wants to merge 2 commits into
base: devspaces-3-rhel-8
Choose a base branch
from

Conversation

SDawley
Copy link
Collaborator

@SDawley SDawley commented Jun 23, 2022

What does this PR do?

Updates dsc scripts to use the same arguments as the rest of the devspaces build scripts (where possible)

WIP because there are corresponding changes that need to be made in jenkins so they can be merged at the same time.

What issues does this PR fix or reference?

https://issues.redhat.com/browse/CRW-3071

'-v') CSV_VERSION="$2"; shift 1;;
'-b'|'--crw-branch') MIDSTM_BRANCH="$2"; shift 1;; # branch of redhat-developer/devspaces/pom.xml to check as default CHE_VERSION
'-v') CSV_VERSION="$2"; DS_VERSION="${CSV_VERSION%.*}" shift 2;;
'-b') MIDSTM_BRANCH="$2"; shift 2;; # branch of redhat-developer/devspaces/pom.xml to check as default CHE_VERSION
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indents are different on line 81 and 82.

please make sure that -v always means CSV_VERSION (x.y.z), not DS_VERSION / image tag (x.y) == -t

./build/scripts/sync.sh -b ${MIDSTM_BRANCH} -s ${SOURCE_DIR} -t ${DSC_DIR} \
--crw-version ${DS_VERSION}
./build/scripts/sync.sh -b ${MIDSTM_BRANCH} -s ${SOURCEDIR} -t ${DSC_DIR} \
-v ${DS_VERSION}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be -t for tag/DS_VERSION (x.y) not -v for CSV_VERSION (x.y.z).

@benoitf benoitf removed their request for review April 11, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants