-
Notifications
You must be signed in to change notification settings - Fork 0
/
mixed-acceptance-src.yml
965 lines (919 loc) · 28.9 KB
/
mixed-acceptance-src.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
version: 2
plan:
project-key: VFS
key: MAOST
name: mixed acceptance src
description: Acceptance tests using different clients concurrently. Environment deployed from sources.
variables:
quarantineSourcePlan: VFS-MAOST
quarantineSourceBranch: develop
repositories:
- onedata-acceptance:
scope: global
branches:
create: manually
delete:
after-deleted-days: never
after-inactive-days: 30
link-to-jira: true
notifications:
- events:
- plan-failed
recipients:
- users:
- plgjliput
labels: []
triggers: []
dependencies:
require-all-stages-passing: true
enabled-for-branches: true
block-strategy: none
plans: []
other:
concurrent-build-plugin: "3"
all-other-apps:
custom:
com.atlassian.bamboo.plugin.hungbuildkiller:
stopped.enabled: "true"
add_comment_when_hung.enabled: "true"
buildExpiryConfig:
period: weeks
expiryTypeBuildLog: "true"
enabled: "true"
expiryTypeArtifact: "true"
duration: "1"
stages:
- Qnthack - copy quarantine:
manual: false
final: false
jobs:
- Qnthack - copy quarantine
- Qnthack - terminate build
- Acceptance Test:
manual: false
final: false
jobs:
- _Codetag Tracker
- _Autoformatter check
- _Static analysis
- Access tokens
- Access tokens id caveats
- Access tokens path caveats
- ACL one entry
- ACL two entries
- File details API
- Archive privileges
- Archives
- Automation
- Create file
- Datasets
- Directories movement
- Directories multi
- Directories remove metadata
- Directories set metadata
- Directories times
- File content
- Files movement
- Files multi
- Files remove metadata
- Files set metadata
- Files times
- Groups basic
- LUMA
- Nested directories create
- Nested directories remove
- Onepanel
- Permission POSIX
- Permission POSIX multi
- QoS
- Remove file
- Rename file
- Single directory
- Single directory 2
- Spaces basic
- Storage sync
- Tokens
- Workflows with input files
- Qnthack - rerun:
manual: false
final: true
jobs:
- Qnthack - rerun
Qnthack - copy quarantine:
key: COPQU
other: &common-opts
clean-working-dir: true
all-other-apps:
custom:
auto: {}
buildHangingConfig.enabled: 'false'
tasks:
- checkout: &fake-checkout
conditions:
- variable:
exists: fake.var
- script: &quarantine-hack-run-script-on-third-build
interpreter: BINSH_OR_CMDEXE
scripts:
- |-
# The script which copies the quarantined test cases resides on the bamboo server.
# For more details about the script look at https://git.onedata.org/projects/VFS/repos/bamboos/browse/bamboo-server/quarantine-copy.sh?at=refs%2Fheads%2Ffeature%2FVFS-9519-auto-quarantine-test-cases-for-new-branches
# The script is run indirectly by the CGI script used in the curl command.
echo curl 10.87.23.72:3080/cgi-bin/quarantine-copy?${bamboo.quarantineSourcePlan}+${bamboo.planKey}
curl 10.87.23.72:3080/cgi-bin/quarantine-copy?${bamboo.quarantineSourcePlan}+${bamboo.planKey}
description: Copy quarantined test cases
conditions:
- variable:
matches:
# copy quarantine is run on build 3,4,5 just in case the expected numbering has been
# disturbed by early branch pushing or manual plan branch running
bamboo.buildNumber: '[3-5]'
- script: &always-successful
interpreter: BINSH_OR_CMDEXE
description: Always successful
scripts:
- true
Qnthack - terminate build:
key: TERMB
other: *common-opts
tasks:
- checkout: *fake-checkout
- script: *always-successful
- script:
<<: *quarantine-hack-run-script-on-third-build
scripts:
- |-
echo Terminating build...
false
description: Terminate build
conditions:
- variable:
matches:
# Terminate build for build number 3.
# When normal undisturbed flow takes place there is no sense in
# further building and testing as the code has not changed yet
bamboo.buildNumber: '3'
_Codetag Tracker:
key: CDTR
other: &common-opts
clean-working-dir: true
all-other-apps:
custom:
auto: {}
clover:
useLocalLicenseKey: "true"
buildHangingConfig.enabled: "false"
tasks:
- checkout: &checkout-default-repository
path: onedata-acceptance
force-clean-build: "true"
description: Checkout Default Repository
- script: &run-script
interpreter: SHELL
scripts:
- |-
cd onedata-acceptance
git remote set-url origin ${bamboo.repository.git.repositoryUrl}
git remote -v
make submodules
description: Init submodules
conditions:
- variable:
matches:
bamboo.buildNumber: '[4-9]|.{2,}'
- script: &run-script-working-dir
<<: *run-script
scripts:
- |-
echo ${bamboo.planRepository.branchName}
make codetag-tracker BRANCH=${bamboo.planRepository.branchName}
working-dir: onedata-acceptance
description: Codetag Tracker
requirements: []
artifact-subscriptions: []
_Autoformatter check:
key: BLFR
other: *common-opts
tasks:
- checkout: *checkout-default-repository
- script:
<<: *run-script-working-dir
scripts:
- make black-check
description: Black formatting
_Static analysis:
key: STAN
other: *common-opts
tasks:
- checkout: *checkout-default-repository
- script:
<<: *run-script-working-dir
scripts:
- make static-analysis
description: Static analysis
Access tokens: &acceptance-mixed-tests-in-chrome-job
key: CLT
other: *common-opts
tasks:
- script: &clear-env
<<: *run-script
scripts:
- curl ${bamboo.OnedataFinalTasksURL} | bash -
description: Clear env
- script: &restart-minikube
<<: *run-script
scripts:
- sudo ${HOME}/restart_minikube.sh
description: Restart minikube
- checkout: *checkout-default-repository
- script: &init-submodules
<<: *run-script
conditions:
- variable:
matches:
bamboo.buildNumber: '[2-9]|.{2,}'
- script: &quarantine-hack-pull-surefire
<<: *run-script-working-dir
scripts:
- |-
#!/bin/bash
ARTIFACT="surefire_${bamboo_shortJobName// /_}.tar.gz"
echo ./bamboos/artifacts/pull_artifact.py --hostname ${bamboo.artifactRepoHostname} --port ${bamboo.artifactRepoPort} \
--username ${bamboo.artifactRepoUsername} --branch ${bamboo.quarantineSourceBranch} --plan ${bamboo.planRepository.name} \
--artifact-name ${ARTIFACT}
let c=3
while : ; do
./bamboos/artifacts/pull_artifact.py --hostname ${bamboo.artifactRepoHostname} --port ${bamboo.artifactRepoPort} \
--username ${bamboo.artifactRepoUsername} --branch ${bamboo.quarantineSourceBranch} --plan ${bamboo.planRepository.name} \
--artifact-name ${ARTIFACT}
tar zxf ${ARTIFACT}
if [ -f test-reports/results*.xml ]; then
break
else
let c=$c-1
if [[ $c < 0 ]]; then
echo "Giving up... The surefire file 'results.xml' could not be pulled. Does it exist in the develop?" >&2
break
fi
echo "The surefire file 'results.xml' could not be pulled, retrying in 30 seconds..." >&2
sleep 30
fi
done
touch test-reports/results*.xml
description: Pull surefire artifact and unpack it
conditions:
- variable:
matches:
bamboo.buildNumber: '2|3'
- script: &download-artifacts
<<: *run-script-working-dir
scripts:
- |-
echo one_env/onenv pull_artifacts --hostname ${bamboo.artifactRepoHostname} --port ${bamboo.artifactRepoPort} branchConfig.yaml
one_env/onenv pull_artifacts --hostname ${bamboo.artifactRepoHostname} --port ${bamboo.artifactRepoPort} branchConfig.yaml
description: Download artifacts
- script: &build-swaggers
<<: *run-script-working-dir
scripts:
- make build_swaggers
description: Build swaggers
- script: &run-acceptance-tests
<<: *run-script-working-dir
scripts:
- make SUITE=test_access_tokens test_mixed_src
description: Run acceptance mixed tests in Chrome
final-tasks:
- test-parser:
type: junit
ignore-time: "false"
test-results: onedata-acceptance/test-reports/results*.xml
description: Parse test results
- script:
<<: *run-script-working-dir
scripts:
- |-
#!/bin/bash
ARTIFACT=surefire_${bamboo_shortJobName// /_}.tar.gz
tar czf ${ARTIFACT} test-reports/results*.xml
echo ./bamboos/artifacts/push_artifact.py --hostname ${bamboo.artifactRepoHostname} --port ${bamboo.artifactRepoPort} \
--username ${bamboo.artifactRepoUsername} --branch ${bamboo.planRepository.branchName} --plan ${bamboo.planRepository.name} \
--artifact-name ${ARTIFACT}
./bamboos/artifacts/push_artifact.py --hostname ${bamboo.artifactRepoHostname} --port ${bamboo.artifactRepoPort} \
--username ${bamboo.artifactRepoUsername} --branch ${bamboo.planRepository.branchName} --plan ${bamboo.planRepository.name} \
--artifact-name ${ARTIFACT}
description: Pack and push surefire artifact
- script:
<<: *run-script
scripts:
- |-
cp onedata-acceptance/test-reports/*.xml onedata-acceptance/tests/mixed/logs
cp onedata-acceptance/one_env/sources_info.yaml onedata-acceptance/tests/mixed/logs
mv onedata-acceptance/tests/mixed/logs/report.* onedata-acceptance/tests/mixed/logs/gui_report
mv onedata-acceptance/tests/mixed/logs/gui_report/images.yaml onedata-acceptance/tests/mixed/logs
description: Pack logs
- script:
<<: *run-script-working-dir
scripts:
- curl ${bamboo.OnedataFinalTasksURL} | bash -
description: Clear env and working dir
- script:
scripts:
- |-
echo "No real testing done on build 2 - only unpacking of surefire artifact (see above logs). The job is forced to fail."
false
conditions:
- variable:
matches:
bamboo.buildNumber: '2'
description: Qnthack - always fail on build 2
artifacts:
- name: report
location: onedata-acceptance/tests/mixed/logs/
pattern: "**/*.*"
shared: false
required: false
requirements:
- minikube
artifact-subscriptions: []
Access tokens id caveats:
<<: *acceptance-mixed-tests-in-chrome-job
key: CATIC
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_access_tokens_id_caveats test_mixed_src
Access tokens path caveats:
<<: *acceptance-mixed-tests-in-chrome-job
key: CATPC
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_access_tokens_path_caveats test_mixed_src
ACL one entry:
<<: *acceptance-mixed-tests-in-chrome-job
key: CAOE
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_acl_one_entry test_mixed_src
ACL two entries:
<<: *acceptance-mixed-tests-in-chrome-job
key: CATE
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_acl_two_entries test_mixed_src
File details API:
<<: *acceptance-mixed-tests-in-chrome-job
key: CAFD
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_file_details_api test_mixed_src
Archive privileges:
<<: *acceptance-mixed-tests-in-chrome-job
key: CAP
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_archive_privileges test_mixed_src
Archives:
<<: *acceptance-mixed-tests-in-chrome-job
key: CAT3
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_archives test_mixed_src
Automation:
<<: *acceptance-mixed-tests-in-chrome-job
key: CAT4
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_automation ENV_FILE=1oz_1op_openfaas test_mixed_src
Create file:
<<: *acceptance-mixed-tests-in-chrome-job
key: CCFT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_create_file test_mixed_src
Datasets:
<<: *acceptance-mixed-tests-in-chrome-job
key: CDT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_dataset test_mixed_src
Directories movement:
<<: *acceptance-mixed-tests-in-chrome-job
key: CDMT2
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_directories_movement test_mixed_src
Directories multi:
<<: *acceptance-mixed-tests-in-chrome-job
key: CDMT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_directories_multi ENV_FILE=1oz_1op_2oc test_mixed_src
Directories remove metadata:
<<: *acceptance-mixed-tests-in-chrome-job
key: CDRM
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_directories_remove_metadata test_mixed_src
Directories set metadata:
<<: *acceptance-mixed-tests-in-chrome-job
key: CDSM
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_directories_set_metadata test_mixed_src
Directories times:
<<: *acceptance-mixed-tests-in-chrome-job
key: CDTT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_directories_times test_mixed_src
File content:
<<: *acceptance-mixed-tests-in-chrome-job
key: CFCT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_file_content test_mixed_src
Files movement:
<<: *acceptance-mixed-tests-in-chrome-job
key: CFMT2
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_files_movement test_mixed_src
Files multi:
<<: *acceptance-mixed-tests-in-chrome-job
key: CFMT3
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_files_multi ENV_FILE=1oz_1op_2oc test_mixed_src
Files remove metadata:
<<: *acceptance-mixed-tests-in-chrome-job
key: CFRM
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_files_remove_metadata test_mixed_src
Files set metadata:
<<: *acceptance-mixed-tests-in-chrome-job
key: CFSM
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_files_set_metadata test_mixed_src
Files times:
<<: *acceptance-mixed-tests-in-chrome-job
key: CFTT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_files_times test_mixed_src
Groups basic:
<<: *acceptance-mixed-tests-in-chrome-job
key: CGBT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_groups_basic test_mixed_src
LUMA:
<<: *acceptance-mixed-tests-in-chrome-job
key: CATC
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make ENV_FILE=1oz_1op_luma_oneclient SUITE=test_luma test_mixed_src
Nested directories create:
<<: *acceptance-mixed-tests-in-chrome-job
key: CNDC
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_nested_directories_create test_mixed_src
Nested directories remove:
<<: *acceptance-mixed-tests-in-chrome-job
key: CNDR
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_nested_directories_remove test_mixed_src
Onepanel:
<<: *acceptance-mixed-tests-in-chrome-job
key: COT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_onepanel_basic test_mixed_src
Permission POSIX:
<<: *acceptance-mixed-tests-in-chrome-job
key: CPPT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_permission_posix test_mixed_src
Permission POSIX multi:
<<: *acceptance-mixed-tests-in-chrome-job
key: CPPMT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_permission_posix_multi ENV_FILE=1oz_1op_2oc test_mixed_src
QoS:
<<: *acceptance-mixed-tests-in-chrome-job
key: CQT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_qos test_mixed_src
Remove file:
<<: *acceptance-mixed-tests-in-chrome-job
key: CRFT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_remove_file test_mixed_src
Rename file:
<<: *acceptance-mixed-tests-in-chrome-job
key: CRFT1
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_rename_file test_mixed_src
Single directory:
<<: *acceptance-mixed-tests-in-chrome-job
key: CSDI
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_single_directory test_mixed_src
Single directory 2:
<<: *acceptance-mixed-tests-in-chrome-job
key: CSDT2
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_single_directory2 test_mixed_src
Spaces basic:
<<: *acceptance-mixed-tests-in-chrome-job
key: CSBT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_spaces_basic test_mixed_src
Storage sync:
<<: *acceptance-mixed-tests-in-chrome-job
key: CSS
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_storage_sync test_mixed_src
Tokens:
<<: *acceptance-mixed-tests-in-chrome-job
key: CTT
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_tokens test_mixed_src
Workflows with input files:
<<: *acceptance-mixed-tests-in-chrome-job
key: CWIF
tasks:
- script: *clear-env
- script: *restart-minikube
- checkout: *checkout-default-repository
- script: *init-submodules
- script: *quarantine-hack-pull-surefire
- script: *download-artifacts
- script: *build-swaggers
- script:
<<: *run-acceptance-tests
scripts:
- make SUITE=test_workflows_with_input_files ENV_FILE=1oz_1op_openfaas test_mixed_src
Qnthack - rerun:
key: ZREQN
description: Rerun
other: *common-opts
tasks:
- checkout: *fake-checkout
- script:
description: Rerun plan to finish quarantine copying
scripts:
# The script which requests the next build of a plan resides on the bamboo server.
# For more details about the script look at https://git.onedata.org/projects/VFS/repos/bamboos/browse/bamboo-server/run-build.sh?at=refs%2Fheads%2Ffeature%2FVFS-9519-auto-quarantine-test-cases-for-new-branches
# The script is run indirectly by the CGI script used in the curl command.
- |-
STATUS=`curl -s -w "%{http_code}" -o /tmp/run-build.body 10.87.23.72:3080/cgi-bin/run-build?${bamboo_planKey}`
cat /tmp/run-build.body
rm /tmp/run-build.body
if [ ${STATUS} != "200" ]; then
exit 1
else
exit 0
fi
conditions:
- variable:
matches:
bamboo.buildNumber: '2'
- script: *always-successful
artifact-subscriptions: []