This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
lts-nfs-volume-release-v5.0.yml
1570 lines (1499 loc) · 48.6 KB
/
lts-nfs-volume-release-v5.0.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
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
# This pipeline is set automatically, any non-committed changes will be lost.
#
# To set the pipeline, run:
# fly -t cryo set-pipeline -p lts-nfs-volume-release-v5.0 -c lts-nfs-volume-release-v5.0.yml -v lts-nfs-branch=v5.0 -v nfs-semver-initial-version=5.0.3 -v pas-pool-name=tas-2_11
#
# ************************************
# Secrets we need to run this pipeline
# ************************************
secrets:
#! gcr_viewer_key was needed on 2024-03-24 for getting concourse container images from our GCR instance. Generated by using personal creds to log into the mapbu-cryogenics google cloud project.
- &gcr_viewer_key ((gcp-tas-runtime-service-account/config-json))
#! aws uploader role was needed on 2024-03-24 for uploading blobs to the aws s3 blobstore of the release. It was generated by creating a Service Request for a switch role user for the cryogenics account
- &aws_uploader_role_arn ((aws-s3-107350105730-lts-nfs-volume-services-s3/assume-role))
- &aws_uploader_role_id ((aws-s3-107350105730-lts-nfs-volume-services-s3/access-key-id))
- &aws_uploader_role_secret ((aws-s3-107350105730-lts-nfs-volume-services-s3/secret-access-key))
- &github_access_token ((github-tas-runtime-bot/access-token))
- &github_ssh_key ((github-tas-runtime-bot/private-key))
#! GitHub email and username are used to sign the commits and PRs for go module auto bumps. Added 2024-02-19
- &github_user App Platform Runtime Working Group CI Bot
- &github_email [email protected]
#! as of 23/04/2024 gchat webhook is used to send us ci status messages. It was created in gchat space settings after logging in with personal creds
- &gchat_webhook ((concourse-google-chat-webhook/concourse-webhook))
#! shepherd_account_key was needed on 2023-09-28 to claim shepherd environments. It was created using `shepherd create service-account` after logging in with WS1.
- &shepherd_account_key ((shepherd-service-account-key))
# **************
# End of secrets
# **************
groups:
- name: test
jobs:
- nfs-security-scan
- nfsdriver-unit
- nfsbroker-tests
- nfs-volume-release-job-tests
- nfsdriver-integration
- claim-env
- deploy-cf
- pats-nfs-ldap-ephemeral-environment
- pats-nfs-ldap-legacy-ephemeral-environment
- unclaim-env
- merge-pr
- name: bump
jobs:
- bump-nfs-utils
- bump-sqlite
- bump-libevent
- bump-rpcsvc-proto
- bump-libtirpc
- bump-rpcbind
- bump-tcl
- bump-util-linux
- bump-golang
- update-go-directive-for-nfsv3driver
- update-go-directive-for-nfsbroker
- bump-openssl
- bump-openldap
- name: release
jobs:
- manual-bump-nfs-patch
- check-for-changes
- shipit-nfs
resource_types:
- name: http
source:
tag: latest
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/concourse-resources/concourse-ftp-resource
username: _json_key
password: *gcr_viewer_key
type: registry-image
- name: uscan
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/concourse-resources/concourse-uscan-resource
username: _json_key
password: *gcr_viewer_key
type: registry-image
- name: semver
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/concourse/semver-resource
username: _json_key
password: *gcr_viewer_key
tag: "1.6"
type: registry-image
- name: google-chat-notify-resource
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/springio/google-chat-notify-resource
username: _json_key
password: *gcr_viewer_key
tag: 0.0.1-SNAPSHOT
- name: pcf-pool
type: registry-image
source:
repository: us-west2-docker.pkg.dev/shepherd-268822/shepherd2/concourse-resource
tag: v1
username: _json_key
password: *gcr_viewer_key
- name: pull-request
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/concourse-resources/pr-queue-resource
username: _json_key
password: *gcr_viewer_key
resources:
- name: cfpersi-nfs-integration-tests
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/cfpersi/nfs-integration-tests
username: _json_key
password: *gcr_viewer_key
- name: image-cryogenics-essentials
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/essentials/cryo-essentials
username: _json_key
password: *gcr_viewer_key
- name: nfs-utils-version
type: uscan
source:
watchfile: |
version=4
https://www.kernel.org/pub/linux/utils/nfs-utils/([\d\.]+)/nfs-utils-([\d\.]+).tar.xz
- name: libtirpc-version
type: uscan
source:
watchfile: |
version=4
https://sf.net/libtirpc/ libtirpc-(.+)\.tar\.bz2
- name: rpcbind-version
type: uscan
source:
watchfile: |
version=4
https://sf.net/rpcbind/ rpcbind-(.+)\.tar\.bz2
- name: tcl-version
type: uscan
source:
watchfile: |
version=4
https://sf.net/tcl/ tcl([1-9]\d*\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*))-src\.tar\.gz
- name: sqlite-release
type: git
source:
uri: [email protected]:sqlite/sqlite.git
tag_filter: version-*
private_key: *github_ssh_key
- name: util-linux
source:
url: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/*
version_regex: util-linux-(?P<version>[0-9][0-9.]+[0-9]).tar.gz$
type: http
- name: libevent-release
type: github-release
source:
owner: libevent
repository: libevent
tag_filter: release-([\d\.]+\d+)-stable
access_token: *github_access_token
- name: rpcsvc-proto-release
type: github-release
source:
owner: thkukuk
repository: rpcsvc-proto
tag_filter: v([\d\.]+\d+)
access_token: *github_access_token
- name: mapfs-release
type: git
source:
branch: master
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/mapfs-release.git
ignore_paths:
- scripts
- name: env-xenial
icon: pool
type: pcf-pool
source:
url: https://v2.shepherd.run
service-account-key: *shepherd_account_key
compatibility-mode: environments-app
lease:
namespace: cryogenics
pool:
namespace: official
name: tas-2_11
- name: openldap-version
type: uscan
source:
watchfile: |
version=4
https://www.openldap.org/software/download/OpenLDAP/openldap-release/ openldap-(2.[\d\.]+)\.tgz
- name: openssl
type: github-release
source:
owner: openssl
repository: openssl
tag_filter: ^openssl-?([0-9]+\.[0-9]+\.[0-9]+)$
access_token: *github_access_token
- name: bosh-integration-docker
icon: docker
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/bosh/integration
tag: main
username: _json_key
password: *gcr_viewer_key
- name: gchat-cryo-notification
type: google-chat-notify-resource
source:
url: *gchat_webhook
- name: cryogenics-concourse-tasks
type: git
icon: github
source:
uri: [email protected]:pivotal/cryogenics-concourse-tasks.git
branch: main
private_key: ((tas-runtime-bot-cryo-deploy-key-for-pivotal-org/private_key))
- name: every-week
type: time
source:
interval: 168h # 24h*7days
- name: shepherd-env
type: pcf-pool
icon: pool
source:
url: https://v2.shepherd.run
service-account-key: *shepherd_account_key
lease:
namespace: cryogenics
pool:
namespace: official
name: {{pas-pool-name}}
compatibility_mode: environments-app
debug: true
- name: docker_driver_integration_tests
type: git
icon: github
source:
branch: main
uri: https://github.com/cloudfoundry/docker_driver_integration_tests
- name: credhub
type: git
icon: github
# PINNED
# https://github.com/cloudfoundry/credhub/commit/4dab29337629ebe9df6f7b9cdd921038f652867e - sets the
# minimum required Java version to 11, while bosh integration docker image has Java 8 installed.
# For LTS testing purposes, pinning the CredHub version should be sufficient.
# See https://www.pivotaltracker.com/story/show/186290510 for updates.
version:
ref: f636d571375f8dc5a61848eda9cbc9ac50bc5bff
source:
branch: main
uri: https://github.com/cloudfoundry-incubator/credhub
- name: persi-ci
type: git
icon: github
source:
uri: https://github.com/cloudfoundry/persi-ci
branch: master
- name: nfs-volume-release
type: pull-request
icon: source-pull
source:
base_branch: {{lts-nfs-branch}}
access_token: *github_access_token
repository: cloudfoundry/nfs-volume-release
disable_forks: true
autosync_pr: false
- name: nfs-volume-release-lts
type: git
icon: github
source:
submodule_credentials:
- host: github.com
branch: {{lts-nfs-branch}}
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfs-volume-release.git
- name: nfs-volume-release-lts-production-files-only
type: git
icon: github
source:
submodule_credentials:
- host: github.com
branch: {{lts-nfs-branch}}
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfs-volume-release.git
paths:
- .final_builds
- LICENSE
- NOTICE
- config
- jobs
- packages
- releases
- src
- name: nfsvolume-version
type: semver
icon: counter
source:
access_key_id: *aws_uploader_role_id
secret_access_key: *aws_uploader_role_secret
assume_role_arn: *aws_uploader_role_arn
bucket: lts-nfsvolume-release-versions
initial_version: {{nfs-semver-initial-version}}
key: {{lts-nfs-branch}}
region_name: us-west-2
- name: cf-deployment
type: git
icon: github
source:
branch: main
uri: https://github.com/cloudfoundry/cf-deployment.git
- name: cf-deployment-concourse-tasks
type: git
icon: github
source:
branch: main
uri: https://github.com/cloudfoundry/cf-deployment-concourse-tasks.git
- name: cf-volume-services-acceptance-tests
type: git
icon: github
source:
uri: https://github.com/cloudfoundry/cf-volume-services-acceptance-tests.git
branch: main
- name: github-release-nfs
type: github-release
icon: package-variant-closed-check
source:
user: cloudfoundry
repository: nfs-volume-release
drafts: true
access_token: *github_access_token
- name: golang-release
type: git
icon: tag
source:
uri: https://github.com/bosh-packages/golang-release.git
tag_filter: v*
- name: nfs-volume-release-lts-write
type: git
icon: github
source:
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfs-volume-release.git
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: nfs-volume-release-bump-golang-branch
type: git
icon: github
source:
branch: {{lts-nfs-branch}}
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfs-volume-release.git
disable_ci_skip: true
- name: nfsv3driver-v5
type: git
icon: github
source:
branch: {{lts-nfs-branch}}
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfsv3driver.git
disable_ci_skip: true
- name: nfsv3driver-v5-write
type: git
icon: github
source:
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfsv3driver.git
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: nfsbroker-v5
type: git
icon: github
source:
branch: {{lts-nfs-branch}}
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfsbroker.git
disable_ci_skip: true
- name: nfsbroker-v5-write
type: git
icon: github
source:
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfsbroker.git
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
jobs:
- name: bump-libevent
serial: true
plan:
- in_parallel:
- get: libevent-release
trigger: true
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- get: image-cryogenics-essentials
- load_var: libevent-version
file: libevent-release/version
- task: bump
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: libevent-release
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &libevent-bump-branch v5-bump-libevent-to-v((.:libevent-version))
BLOB_NAME: libevent
BLOB_EXTENSION: -stable.tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *libevent-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *libevent-bump-branch
TITLE: "Bump Libevent to v((.:libevent-version))"
LABELS: dependencies,v5
- name: bump-rpcsvc-proto
serial: true
plan:
- in_parallel:
- get: rpcsvc-proto-release
trigger: true
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- get: image-cryogenics-essentials
- load_var: rpcsvc-proto-version
file: rpcsvc-proto-release/version
- task: bump
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: rpcsvc-proto-release
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &rpcsvc-proto-bump-branch v5-bump-rpcsvc-proto-to-v((.:rpcsvc-proto-version))
BLOB_NAME: rpcsvc-proto
BLOB_EXTENSION: .tar.xz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *rpcsvc-proto-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *rpcsvc-proto-bump-branch
TITLE: "Bump rpcsvc-proto to v((.:rpcsvc-proto-version))"
LABELS: dependencies,v5
- name: bump-libtirpc
serial: true
plan:
- in_parallel:
- get: libtirpc-version
trigger: true
- get: image-cryogenics-essentials
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- load_var: libtirpc
file: libtirpc-version/version
format: json
- task: download-libtirpc
image: image-cryogenics-essentials
config:
platform: linux
params:
NEW_VERSION: ((.:libtirpc.version.ref))
run:
path: /bin/sh
args:
- -c
- |
set -e
wget -O "nfs-debs-libtirpc/libtirpc-${NEW_VERSION}.tar.bz2" "https://sourceforge.net/projects/libtirpc/files/libtirpc/${NEW_VERSION}/libtirpc-${NEW_VERSION}.tar.bz2/download"
echo ${NEW_VERSION} > nfs-debs-libtirpc/version
outputs:
- name: nfs-debs-libtirpc
- task: bump-libtirpc
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: nfs-debs-libtirpc
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &libtirpc-bump-branch v5-bump-libtirpc-to-v((.:libtirpc.version.ref))
BLOB_NAME: libtirpc
BLOB_EXTENSION: .tar.bz2
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *libtirpc-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *libtirpc-bump-branch
TITLE: "Bump Libtirpc to v((.:libtirpc.version.ref))"
LABELS: dependencies,v5
- name: bump-rpcbind
serial: true
plan:
- in_parallel:
- get: rpcbind-version
trigger: true
- get: image-cryogenics-essentials
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- load_var: rpcbind
file: rpcbind-version/version
format: json
- task: download-rpcbind
image: image-cryogenics-essentials
config:
platform: linux
params:
NEW_VERSION: ((.:rpcbind.version.ref))
run:
path: /bin/sh
args:
- -c
- |
set -e
wget -O "nfs-debs-rpcbind/rpcbind-${NEW_VERSION}.tar.bz2" "https://sourceforge.net/projects/rpcbind/files/rpcbind/${NEW_VERSION}/rpcbind-${NEW_VERSION}.tar.bz2/download"
echo ${NEW_VERSION} > nfs-debs-rpcbind/version
outputs:
- name: nfs-debs-rpcbind
- task: bump-rpcbind
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: nfs-debs-rpcbind
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &rpcbind-bump-branch v5-bump-rpcbind-to-v((.:rpcbind.version.ref))
BLOB_NAME: rpcbind
BLOB_EXTENSION: .tar.bz2
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *rpcbind-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *rpcbind-bump-branch
TITLE: "Bump RPCBind to v((.:rpcbind.version.ref))"
LABELS: dependencies,v5
- name: bump-tcl
serial: true
plan:
- in_parallel:
- get: tcl-version
trigger: true
- get: image-cryogenics-essentials
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- load_var: tcl
file: tcl-version/version
format: json
- task: download-tcl
image: image-cryogenics-essentials
config:
platform: linux
params:
NEW_VERSION: ((.:tcl.version.ref))
run:
path: /bin/sh
args:
- -c
- |
set -e
wget -O "nfs-debs-tcl/tcl${NEW_VERSION}-src.tar.gz" "https://sourceforge.net/projects/tcl/files/Tcl/${NEW_VERSION}/tcl${NEW_VERSION}-src.tar.gz/download"
echo ${NEW_VERSION} > nfs-debs-tcl/version
outputs:
- name: nfs-debs-tcl
- task: bump-tcl
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: nfs-debs-tcl
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &tcl-bump-branch v5-bump-tcl-to-v((.:tcl.version.ref))
BLOB_NAME: tcl
BLOB_EXTENSION: -src.tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *tcl-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *tcl-bump-branch
TITLE: "Bump Tcl to v((.:tcl.version.ref))"
LABELS: dependencies,v5
- name: bump-util-linux
serial: true
plan:
- in_parallel:
- get: util-linux
trigger: true
- get: image-cryogenics-essentials
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- load_var: util-linux-version
file: util-linux/version
format: raw
- task: bump-util-linux
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: util-linux
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &util-linux-bump-branch v5-bump-util-linux-to-v((.:util-linux-version))
BLOB_NAME: util-linux
BLOB_EXTENSION: .tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *util-linux-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *util-linux-bump-branch
TITLE: "Bump util-linux to v((.:util-linux-version))"
LABELS: dependencies,v5
- name: bump-sqlite
serial: true
plan:
- in_parallel:
- get: sqlite-release
trigger: true
- get: image-cryogenics-essentials
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- load_var: sqlite-version
file: sqlite-release/VERSION
format: trim
- task: download-tarball
image: image-cryogenics-essentials
config:
platform: linux
params:
NEW_VERSION: ((.:sqlite-version))
run:
path: /bin/sh
args:
- -c
- |
set -e
wget -O "nfs-debs-sqlite/sqlite-${NEW_VERSION}.tar.gz" "https://github.com/sqlite/sqlite/archive/refs/tags/version-${NEW_VERSION}.tar.gz"
echo ${NEW_VERSION} > nfs-debs-sqlite/version
outputs:
- name: nfs-debs-sqlite
- task: bump-sqlite
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: nfs-debs-sqlite
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &sqlite-bump-branch v5-bump-sqlite-to-v((.:sqlite-version))
BLOB_NAME: sqlite
BLOB_EXTENSION: .tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *sqlite-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *sqlite-bump-branch
TITLE: "Bump SQLite to v((.:sqlite-version))"
LABELS: dependencies,v5
- name: bump-nfs-utils
serial: true
plan:
- in_parallel:
- get: nfs-utils-version
trigger: true
- get: image-cryogenics-essentials
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-lts
- load_var: nfs-utils
file: nfs-utils-version/version
format: json
- task: download-nfs-utils
image: image-cryogenics-essentials
config:
platform: linux
params:
NEW_VERSION: ((.:nfs-utils.version.ref))
run:
path: /bin/sh
args:
- -c
- |
set -e
wget -O "nfs-debs-nfs-utils/nfs-utils-${NEW_VERSION}.tar.xz" "https://www.kernel.org/pub/linux/utils/nfs-utils/${NEW_VERSION}/nfs-utils-${NEW_VERSION}.tar.xz"
echo ${NEW_VERSION} > nfs-debs-nfs-utils/version
outputs:
- name: nfs-debs-nfs-utils
- task: bump-nfs-utils
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: nfs-debs-nfs-utils
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts-write
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &nfs-utils-bump-branch v5-bump-nfs-utils-to-v((.:nfs-utils.version.ref))
BLOB_NAME: nfs-utils
BLOB_EXTENSION: .tar.xz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts-write
force: true
branch: *nfs-utils-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: {{lts-nfs-branch}}
BRANCH: *nfs-utils-bump-branch
TITLE: "Bump NFS-Utils to v((.:nfs-utils.version.ref))"
LABELS: dependencies,v5
- name: bump-openldap
serial: true
plan:
- in_parallel:
- get: openldap-version
trigger: true
- get: nfs-volume-release-lts
- get: cryogenics-concourse-tasks
- get: image-cryogenics-essentials
- load_var: openldap
file: openldap-version/version
format: json
- task: get-openldap-source
image: image-cryogenics-essentials
config:
platform: linux
params:
NEW_VERSION: ((.:openldap.version.ref))
run:
path: /bin/sh
args:
- -c
- |
wget -O "openldap-tarball/openldap-${NEW_VERSION}.tgz" "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${NEW_VERSION}.tgz"
echo ${NEW_VERSION} > openldap-tarball/version
outputs:
- name: openldap-tarball
- task: bump-openldap
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: openldap-tarball
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &openldap-bump-branch v5-bump-openldap-to-v((.:openldap.version.ref))
BLOB_NAME: openldap-
BLOB_EXTENSION: .tgz
BLOB_DIRECTORY: openldap/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts
force: true
branch: *openldap-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping:
source-repo: nfs-volume-release-lts-write
params:
GH_TOKEN: *github_access_token
BASE: v5.0
BRANCH: *openldap-bump-branch
TITLE: "Bump Openldap to v((.:openldap.version.ref))"
LABELS: dependencies,v5
- name: bump-openssl
serial: true
plan:
- in_parallel:
- get: openssl
trigger: true
- get: nfs-volume-release-lts
- get: cryogenics-concourse-tasks
- get: image-cryogenics-essentials
- load_var: new-version
file: openssl/version
- task: bump-openssl
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/deps-automation/bump-blob/task.yml
input_mapping:
distributed-package: openssl
bosh-release: nfs-volume-release-lts
output_mapping:
bosh-release-updated: nfs-volume-release-lts
params:
AWS_ACCESS_KEY_ID: *aws_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_uploader_role_secret
AWS_ROLE_ARN: *aws_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &openssl-bump-branch v5-bump-openssl-to-v((.:new-version))
BLOB_NAME: openssl-
BLOB_EXTENSION: .tar.gz
BLOB_DIRECTORY: test-dependencies/
- put: nfs-volume-release-lts-write
params:
repository: nfs-volume-release-lts
force: true
branch: *openssl-bump-branch
on_success:
task: create-pull-request
image: image-cryogenics-essentials
file: cryogenics-concourse-tasks/github-automation/create-pr/task.yml
input_mapping: