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 add CSI IBM Driver operator CI #189

Draft
wants to merge 72 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
782cf90
add CSI IBM Driver operator CI
matancarmeli7 Jul 1, 2021
ccd312e
change wait for driver script
matancarmeli7 Jul 1, 2021
3881a4e
change does_the_docker_image_has_tag
matancarmeli7 Jul 1, 2021
11658a1
add docker-hub command
matancarmeli7 Jul 1, 2021
b32d494
not fail on getting the image tags
matancarmeli7 Jul 1, 2021
0cf1015
add break in does_the_docker_image_has_tag
matancarmeli7 Jul 5, 2021
b6dd4ec
add permissions to edit cr files
matancarmeli7 Jul 8, 2021
205dfcc
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Jul 8, 2021
9546870
change olm verification to olm validation
matancarmeli7 Jul 8, 2021
a420bee
remove sudo from changing the cr files
matancarmeli7 Jul 8, 2021
359459b
answer some code review comments
matancarmeli7 Jul 12, 2021
564df3e
change the image tag
matancarmeli7 Jul 12, 2021
8dad6ff
change the directory that it will check the image_version
matancarmeli7 Jul 12, 2021
80b68d9
change the image_version check to certified dir
matancarmeli7 Jul 12, 2021
69cd690
change saving driver logs script
matancarmeli7 Jul 12, 2021
bba693e
use run_action_on_pod function
matancarmeli7 Jul 12, 2021
5ded798
fix save logs
matancarmeli7 Jul 12, 2021
0485341
cahnge the edit of the cr file
matancarmeli7 Jul 12, 2021
d30934d
fix some problems
matancarmeli7 Jul 12, 2021
0f5f33c
create github_actions firectory
matancarmeli7 Jul 12, 2021
4081c49
fix syntax errors in wait for k8s cluster
matancarmeli7 Jul 13, 2021
e6d3c1d
fix is_pod_ready function
matancarmeli7 Jul 13, 2021
5e00875
fix some syntax errors in deploy driver
matancarmeli7 Jul 14, 2021
f7b7c6b
change the node ripository yaml path
matancarmeli7 Jul 14, 2021
ed5a5a4
remove cluster setup from driver repository
matancarmeli7 Jul 21, 2021
4314f6a
add build_number env variable
matancarmeli7 Jul 21, 2021
fd7fa44
fix setup ci dependencies
matancarmeli7 Jul 21, 2021
2306ea5
change are_pods_ready in wait for k8s
matancarmeli7 Jul 26, 2021
0f39210
add edit_operator_yaml_image function
matancarmeli7 Jul 26, 2021
949bdcf
change get_image_tags_from_branch script name
matancarmeli7 Jul 26, 2021
4df43a6
help the deer readers to read wait for driver
matancarmeli7 Jul 27, 2021
9c6da84
add is_wanted_image_in_pod
matancarmeli7 Jul 27, 2021
df5f840
add driver_images_tag env to wait for driver
matancarmeli7 Jul 27, 2021
ccdd46d
fix wait for driver
matancarmeli7 Jul 29, 2021
a0e8eb4
fix function is_expected_image_in_pod
matancarmeli7 Jul 29, 2021
fcffa32
answer some code review comments
matancarmeli7 Aug 3, 2021
3cb03f3
remove variables from yq command
matancarmeli7 Aug 3, 2021
16e7869
change commit sha parameter
matancarmeli7 Aug 4, 2021
5e4ecaa
fix operator image branch for test parameter
matancarmeli7 Aug 4, 2021
a38ca6d
change CSI_Build_and_push_images variable
matancarmeli7 Aug 4, 2021
d6f412f
fix the assert for images function
matancarmeli7 Aug 4, 2021
38f2573
change the image_in_pod command
matancarmeli7 Aug 4, 2021
c97bade
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Aug 4, 2021
d2a3d02
change driver logs artifactes upload
matancarmeli7 Aug 4, 2021
5f36254
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Aug 8, 2021
4963b9b
add get_pod_images_by_type function
matancarmeli7 Aug 10, 2021
0b6be16
code review comments
matancarmeli7 Aug 10, 2021
8bc6d03
fix spelling problem
matancarmeli7 Aug 10, 2021
4d9db61
add parameter to wiat for driver
matancarmeli7 Aug 11, 2021
32eaf69
change get driver branch script name
matancarmeli7 Aug 16, 2021
55f17ea
fix save logs with describe
matancarmeli7 Aug 16, 2021
46ecb71
change github_actions/operator directory to driver
matancarmeli7 Aug 17, 2021
ea0e064
add action_name parameter to run_action_and_save_output
matancarmeli7 Aug 17, 2021
d51d2ac
add csiblock1 secret
matancarmeli7 Aug 18, 2021
773eada
add deploy operator
matancarmeli7 Aug 19, 2021
55bfc12
move deploy_operator to operator dir
matancarmeli7 Aug 22, 2021
512c38c
change deploy_objects path
matancarmeli7 Aug 22, 2021
96860e2
use docker manifest to search for tags
matancarmeli7 Aug 22, 2021
dd9b171
change deploy_objects to deployment
matancarmeli7 Aug 23, 2021
fcf3bda
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Oct 3, 2021
98159ca
remove cds
matancarmeli7 Oct 3, 2021
914818a
change build_and_push_images stage
matancarmeli7 Oct 3, 2021
e480a64
insert specific python version and pip version
matancarmeli7 Oct 4, 2021
aba7bb0
add setup_yq.sh
matancarmeli7 Oct 4, 2021
ab28403
add pr comments answer
matancarmeli7 Oct 12, 2021
3642121
edit get_driver_image script
matancarmeli7 Oct 17, 2021
3ee4e46
remove backticks
matancarmeli7 Oct 31, 2021
f9c7828
change names of parameters
matancarmeli7 Nov 2, 2021
3ff23d6
align setup_ci with driver
matancarmeli7 Nov 2, 2021
1ed494f
fix spacing problem
matancarmeli7 Nov 2, 2021
8cea7ba
Merge branch 'develop' into task/CSI-2625_add_another_stage_before_th…
matancarmeli7 Feb 21, 2022
c0b3acd
test stuff
matancarmeli7 Feb 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/operator_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ jobs:
mkdir -p build/_output/reports && chmod 777 build/_output/reports
./build/ci/run_unittests.sh

Run_OLM_verifications:
Run_OLM_validation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run OLM verifications
- name: Run OLM validation
run: |
./build/ci/run_olm_verification.sh
./build/ci/run_olm_validation.sh

CSI-Build-and-push-images:
runs-on: ubuntu-latest
needs:
- Unit_testing
- Run_OLM_verifications
- Run_OLM_validation
strategy:
matrix:
image_type: ['nodeagent', 'operator']
oriyarde marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
1 change: 1 addition & 0 deletions build/ci/deploy_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ docker exec -i $kind_node_name apt-get update
docker exec -i $kind_node_name apt -y install open-iscsi

cd $(dirname $cr_file)
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
Expand Down