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

CSI-2625 create driver ci #344

Draft
wants to merge 45 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
1ac05dc
create driver ci
matancarmeli7 Jun 30, 2021
6aff2f7
move env vars place
matancarmeli7 Jul 1, 2021
1fe56d8
add environment variables to yq command
matancarmeli7 Jul 1, 2021
572dddc
show all pods while wating
matancarmeli7 Jul 1, 2021
88672c3
change the images check
matancarmeli7 Jul 1, 2021
0eb3674
add docker-hub command
matancarmeli7 Jul 1, 2021
1e6d6be
not fail on getting the image tags
matancarmeli7 Jul 1, 2021
34f9715
made yq butifule
matancarmeli7 Jul 5, 2021
057884f
change the .bash_profile path
matancarmeli7 Jul 5, 2021
683a5a2
add CSI-3164
matancarmeli7 Jul 7, 2021
90add39
add permissions to edit cr files
matancarmeli7 Jul 8, 2021
364b42b
allow editing cr file
matancarmeli7 Jul 8, 2021
782645f
answer some code review comments
matancarmeli7 Jul 12, 2021
e6a4b96
change the image tag
matancarmeli7 Jul 12, 2021
1ea7d40
change saving driver logs script
matancarmeli7 Jul 12, 2021
605d016
use run_action_on_pod function
matancarmeli7 Jul 12, 2021
ed661c5
fix save logs
matancarmeli7 Jul 12, 2021
12050f8
cahnge the edit of the cr file
matancarmeli7 Jul 12, 2021
c2fba0b
fix some problems
matancarmeli7 Jul 12, 2021
d640b79
create github_actions firectory
matancarmeli7 Jul 12, 2021
31438ff
create github_actions firectory
matancarmeli7 Jul 12, 2021
6d906c0
fix syntax errors in wait for k8s cluster
matancarmeli7 Jul 13, 2021
31d711b
fix is_pod_ready function
matancarmeli7 Jul 13, 2021
0827d76
fix some syntax errors in deploy driver
matancarmeli7 Jul 14, 2021
2ba9b3a
change the node ripository yaml path
matancarmeli7 Jul 14, 2021
36d7a6e
remove cluster setup from driver repository
matancarmeli7 Jul 21, 2021
e3aa5d6
fix get_image_tag_from_branch script path
matancarmeli7 Jul 21, 2021
f854cb0
add build_number env variable
matancarmeli7 Jul 21, 2021
b4300ee
fix setup ci dependencies
matancarmeli7 Jul 21, 2021
7e6c394
change get_image_tags_from_branch script name
matancarmeli7 Jul 26, 2021
684aecc
add commit sha to docker image
matancarmeli7 Jul 27, 2021
1c9a227
change the order in the get branch script
matancarmeli7 Jul 27, 2021
0477825
change stages names
matancarmeli7 Aug 3, 2021
3496a4a
change commit sha parameter
matancarmeli7 Aug 4, 2021
a04194b
Merge branch 'develop' of https://github.com/IBM/ibm-block-csi-driver…
matancarmeli7 Aug 4, 2021
90f3e06
add csiblock1 secret
matancarmeli7 Aug 18, 2021
fb1f865
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Aug 18, 2021
a4b84c1
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Oct 3, 2021
8ff6f1c
fix setup_ci_dependencies script comments
matancarmeli7 Oct 3, 2021
3b3c0b9
add setup_yq.sh file
matancarmeli7 Oct 4, 2021
fadd666
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Oct 31, 2021
cda5430
PR
matancarmeli7 Oct 31, 2021
43aabe1
avoid double assignment
matancarmeli7 Nov 1, 2021
9bc70b5
align setup_ci with operator
matancarmeli7 Nov 2, 2021
a05503f
fix spacing problem
matancarmeli7 Nov 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions scripts/ci/deploy_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ docker exec -i $kind_node_name apt-get update
docker exec -i $kind_node_name apt -y install open-iscsi

cd $(dirname $cr_file)
sudo yq eval ".spec.controller.repository |= env(controller_repository_for_test)" $(basename $cr_file) -i
sudo yq eval ".spec.controller.tag |= env(driver_images_tag)" $(basename $cr_file) -i
sudo yq eval ".spec.node.repository |= env(node_repository_for_test)" $(basename $cr_file) -i
sudo yq eval ".spec.node.tag |= env(driver_images_tag)" $(basename $cr_file) -i
chmod 777 $(basename $cr_file)
zingero marked this conversation as resolved.
Show resolved Hide resolved
yq eval ".spec.controller.repository |= env(controller_repository_for_test)" $(basename $cr_file) -i
yq eval ".spec.controller.tag |= env(driver_images_tag)" $(basename $cr_file) -i
yq eval ".spec.node.repository |= env(node_repository_for_test)" $(basename $cr_file) -i
yq eval ".spec.node.tag |= env(driver_images_tag)" $(basename $cr_file) -i
cd -

cd $(dirname $operator_file)
Expand Down