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
/
nfs-volume-release.yml
2073 lines (1965 loc) · 64.2 KB
/
nfs-volume-release.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 nfs-volume-release -c nfs-volume-release.yml
#
#! ************************************
#! Secrets we need to run this pipeline
#! ************************************
cerberus_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_nfsvolume_uploader_role_arn ((aws-s3-107350105730-nfs-volume-services-s3/assume-role))
#! aws_nfsvolume_uploader_role_arn was needed on 2023-10-05 for defining the AWS role assumed when accessing the
#! S3 bucket that (1) stores the version file used to keep track of the next version; (2) serves as BOSH blobstore for
#! this release. The token was given to us by the Volume Services team. It lives in Runway's Vault under the path:
# 'runway_concourse/cryogenics'.
- &aws_nfsvolume_uploader_role_id ((aws-s3-107350105730-nfs-volume-services-s3/access-key-id))
#! aws_nfsvolume_uploader_role_id was needed on 2023-10-05 for defining the AWS Access Key for accessing the S3 bucket
#! that (1) stores the version file used to keep track of the next version; (2) serves as BOSH blobstore for this
#! release. The token was given to us by the Volume Services team. It lives in Runway's Vault under the path:
#! 'runway_concourse/cryogenics'.
- &aws_nfsvolume_uploader_role_secret ((aws-s3-107350105730-nfs-volume-services-s3/secret-access-key))
#! aws_nfsvolume_uploader_role_secret was needed on 2023-10-05 for defining the AWS Access Secret for accessing the
#! S3 bucket that (1) stores the version file used to keep track of the next version; (2) serves as BOSH blobstore
#! for this release. The token was given to us by the Volume Services team. It lives in Runway's Vault under the
#! path: 'runway_concourse/cryogenics'.
#! GitHub SSH Key is used to push git commits and accessing repositories. Added 2024-02-19
- &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
#! **************
pipeline_config:
- &number_of_retries 2
- &number_of_claim_env_retries 5
groups:
- name: test
jobs:
- nfs-volume-release-job-tests
- mapfs-release-job-tests
- claim-ldap-env
- deploy-cf-with-ldap
- pats-nfs-ldap
- unclaim-ldap-env
- claim-env
- deploy-cf
- pats
- cats-nfs
- drats
- unclaim-env
- merge-pr
- check-for-cves
- name: bump
jobs:
- bump-nfs-utils
- bump-sqlite
- bump-libevent
- bump-rpcsvc-proto
- bump-libtirpc
- bump-rpcbind
- bump-tcl
- bump-util-linux
- bump-golang
- bump-openldap
- bump-openssl
- update-go-directive-for-nfsv3driver
- update-go-directive-for-nfsbroker
- update-go-directive-for-volumedriver
- update-go-directive-for-volume-mount-options
- update-go-directive-for-existingvolumebroker
- update-go-directive-for-service-broker-store
- name: release
jobs:
- check-for-changes
- shipit-nfs
- manual-bump-nfs-major
- manual-bump-nfs-patch
- manual-bump-nfs-minor
resources:
- name: stemcell
type: bosh-io-stemcell
source:
name: bosh-warden-boshlite-ubuntu-jammy-go_agent
- name: bosh-docker-cpi
source:
password: *gcr_viewer_key
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/bosh/docker-cpi
username: _json_key
type: registry-image
- 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: git-concourse-cve-scan
type: git
source:
uri: [email protected]:pivotal/concourse-cve-scan.git
branch: feat/add-vex-consideration
private_key: *github_ssh_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: git-tas-vex
type: git
source:
uri: [email protected]:pivotal/tas-vex.git
branch: main
private_key: *github_ssh_key
- name: github-release-tas-cve
type: github-release
source:
access_token: *github_access_token
repository: tas-cve
user: pivotal
- name: gchat-cryo-notification
type: google-chat-notify-resource
source:
url: *gchat_webhook
- name: every-week
type: time
source:
interval: 168h # 24h*7days
- 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: openldap-version
type: uscan
source:
watchfile: |
version=4
https://www.openldap.org/software/download/OpenLDAP/openldap-release/ openldap-(2.[\d\.]+)\.tgz
- 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: env-tas-jammy
icon: pool
type: shepherd
source:
url: https://v2.shepherd.run
service-account-key: *shepherd_account_key
compatibility-mode: environments-app
lease:
namespace: cryogenics
pool:
namespace: official
name: tas-5_0
- name: env
icon: pool
type: shepherd
source:
url: https://v2.shepherd.run
service-account-key: *shepherd_account_key
compatibility-mode: environments-app
lease:
namespace: cryogenics
pool:
namespace: official
name: cfd
- name: persi-ci
type: git
source:
uri: https://github.com/cloudfoundry/persi-ci
branch: master
- name: nfs-volume-release
type: pull-request
source:
base_branch: master
access_token: *github_access_token
repository: cloudfoundry/nfs-volume-release
disable_forks: true
- name: nfs-volume-release-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
# Resource used to track production changes in the release job so that we don't
# trigger a release with only changes (CI, tests, etc.) that are not relevant to
# customers.
- name: nfs-volume-release-production-files-only
type: git
source:
branch: master
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfs-volume-release.git
paths:
- .final_builds
- LICENSE
- NOTICE
- config
- jobs
- packages
- releases
- src
- name: nfs-volume-release-master
type: git
source:
branch: master
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/nfs-volume-release.git
- name: nfsvolume-version
type: semver
source:
access_key_id: *aws_nfsvolume_uploader_role_id
bucket: nfsvolume-release-versions
initial_version: 7.0.2
key: current-version
region_name: us-east-1
secret_access_key: *aws_nfsvolume_uploader_role_secret
assume_role_arn: *aws_nfsvolume_uploader_role_arn
- name: github-release-nfs
type: github-release
source:
user: cloudfoundry
repository: nfs-volume-release
drafts: true
access_token: *github_access_token
- name: mapfs-release
type: git
source:
branch: release
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/mapfs-release.git
ignore_paths:
- scripts
- name: mapfs-release-concourse-tasks
type: git
source:
branch: release
private_key: *github_ssh_key
uri: [email protected]:cloudfoundry/mapfs-release.git
- name: cf-deployment
type: git
source:
branch: develop
uri: https://github.com/cloudfoundry/cf-deployment.git
- name: cf-deployment-concourse-tasks
type: git
source:
branch: main
uri: https://github.com/cloudfoundry/cf-deployment-concourse-tasks.git
- name: cf-volume-services-acceptance-tests
type: git
source:
uri: https://github.com/cloudfoundry/cf-volume-services-acceptance-tests.git
branch: main
- name: cf-acceptance-tests
type: git
source:
branch: release-candidate
uri: https://github.com/cloudfoundry/cf-acceptance-tests.git
- name: bbr-binary-release
type: github-release
source:
owner: cloudfoundry-incubator
repository: bosh-backup-and-restore
access_token: *github_access_token
- name: disaster-recovery-acceptance-tests
type: git
source:
uri: https://github.com/cloudfoundry-incubator/disaster-recovery-acceptance-tests.git
branch: main
- name: golang-release
type: git
icon: tag
source:
uri: https://github.com/bosh-packages/golang-release.git
tag_filter: v*
- name: nfsv3driver
type: git
source:
uri: [email protected]:cloudfoundry/nfsv3driver.git
branch: master
private_key: *github_ssh_key
- name: nfsv3driver-write
type: git
source:
uri: [email protected]:cloudfoundry/nfsv3driver.git
private_key: *github_ssh_key
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: nfsbroker
type: git
source:
uri: [email protected]:cloudfoundry/nfsbroker.git
branch: master
private_key: *github_ssh_key
- name: nfsbroker-write
type: git
source:
uri: [email protected]:cloudfoundry/nfsbroker.git
private_key: *github_ssh_key
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: service-broker-store
type: git
source:
uri: [email protected]:cloudfoundry/service-broker-store.git
branch: master
private_key: *github_ssh_key
- name: service-broker-store-write
type: git
source:
uri: [email protected]:cloudfoundry/service-broker-store.git
private_key: *github_ssh_key
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: existingvolumebroker
type: git
source:
uri: [email protected]:cloudfoundry/existingvolumebroker.git
branch: master
private_key: *github_ssh_key
- name: existingvolumebroker-write
type: git
source:
uri: [email protected]:cloudfoundry/existingvolumebroker.git
private_key: *github_ssh_key
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: volume-mount-options
type: git
source:
uri: [email protected]:cloudfoundry/volume-mount-options.git
branch: master
private_key: *github_ssh_key
- name: volume-mount-options-write
type: git
source:
uri: [email protected]:cloudfoundry/volume-mount-options.git
private_key: *github_ssh_key
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
- name: volumedriver
type: git
source:
uri: [email protected]:cloudfoundry/volumedriver.git
branch: master
private_key: *github_ssh_key
- name: volumedriver-write
type: git
source:
uri: [email protected]:cloudfoundry/volumedriver.git
private_key: *github_ssh_key
commit_filter:
exclude:
- ;resource comment; This resource is used exclusively for pushing new changes
resource_types:
- name: git
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/concourse/git-resource
tag: ubuntu
username: _json_key
password: *gcr_viewer_key
- name: http
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/concourse-resources/concourse-ftp-resource
username: _json_key
password: *gcr_viewer_key
type: registry-image
- name: semver
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/concourse/semver-resource
username: _json_key
password: *gcr_viewer_key
- 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: 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: shepherd
source:
tag: v1
repository: us-west2-docker.pkg.dev/shepherd-268822/shepherd2/concourse-resource
username: _json_key
password: *gcr_viewer_key
type: registry-image
- name: pull-request
type: registry-image
source:
repository: us-west2-docker.pkg.dev/mapbu-cryogenics/dockerhub-proxy-cache/cryogenics/pr-queue-resource
username: _json_key
password: *gcr_viewer_key
jobs:
- name: check-for-cves
plan:
- in_parallel:
- get: git-concourse-cve-scan
- get: github-release-tas-cve
- get: nfs-volume-release
trigger: true
- get: git-tas-vex
- task: run-scan
file: git-concourse-cve-scan/tasks/scan/scan.yml
input_mapping:
concourse-cve-scan: git-concourse-cve-scan
tas-cve: github-release-tas-cve
target-bosh-release: nfs-volume-release
tas-vex: git-tas-vex
params:
DRY_RUN: true
GRYPE_FAILURE_LEVEL: negligible #! Can be any of: none | negligible | low | medium | high | critical
RELEASE_NAME: nfs-volume
RELEASE_VERSION: pre-release-cve-scan
- 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-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &nfs-utils-bump-branch 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-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *nfs-utils-bump-branch
TITLE: "Bump NFS-Utils to v((.:nfs-utils.version.ref))"
LABELS: dependencies
- 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-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &sqlite-bump-branch bump-sqlite-to-v((.:sqlite-version))
BLOB_NAME: sqlite
BLOB_EXTENSION: .tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *sqlite-bump-branch
TITLE: "Bump SQLite to v((.:sqlite-version))"
LABELS: dependencies
- name: bump-libevent
serial: true
plan:
- in_parallel:
- get: libevent-release
trigger: true
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &libevent-bump-branch bump-libevent-to-v((.:libevent-version))
BLOB_NAME: libevent
BLOB_EXTENSION: -stable.tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *libevent-bump-branch
TITLE: "Bump Libevent to v((.:libevent-version))"
LABELS: dependencies
- name: bump-rpcsvc-proto
serial: true
plan:
- in_parallel:
- get: rpcsvc-proto-release
trigger: true
- get: cryogenics-concourse-tasks
- get: nfs-volume-release-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &rpcsvc-proto-bump-branch bump-rpcsvc-proto-to-v((.:rpcsvc-proto-version))
BLOB_NAME: rpcsvc-proto
BLOB_EXTENSION: .tar.xz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *rpcsvc-proto-bump-branch
TITLE: "Bump rpcsvc-proto to v((.:rpcsvc-proto-version))"
LABELS: dependencies
- 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-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &libtirpc-bump-branch bump-libtirpc-to-v((.:libtirpc.version.ref))
BLOB_NAME: libtirpc
BLOB_EXTENSION: .tar.bz2
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *libtirpc-bump-branch
TITLE: "Bump Libtirpc to v((.:libtirpc.version.ref))"
LABELS: dependencies
- 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-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &rpcbind-bump-branch bump-rpcbind-to-v((.:rpcbind.version.ref))
BLOB_NAME: rpcbind
BLOB_EXTENSION: .tar.bz2
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *rpcbind-bump-branch
TITLE: "Bump RPCBind to v((.:rpcbind.version.ref))"
LABELS: dependencies
- 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-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &tcl-bump-branch bump-tcl-to-v((.:tcl.version.ref))
BLOB_NAME: tcl
BLOB_EXTENSION: -src.tar.gz
BLOB_DIRECTORY: nfs-debs/
- put: nfs-volume-release-write
params:
repository: nfs-volume-release-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-write
params:
GH_TOKEN: *github_access_token
BASE: master
BRANCH: *tcl-bump-branch
TITLE: "Bump Tcl to v((.:tcl.version.ref))"
LABELS: dependencies
- 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-master
- 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-master
output_mapping:
bosh-release-updated: nfs-volume-release-write
params:
AWS_ACCESS_KEY_ID: *aws_nfsvolume_uploader_role_id
AWS_SECRET_ACCESS_KEY: *aws_nfsvolume_uploader_role_secret
AWS_ROLE_ARN: *aws_nfsvolume_uploader_role_arn
GIT_USERNAME: *github_user
GIT_EMAIL: *github_email
GIT_BRANCH: &util-linux-bump-branch bump-util-linux-to-v((.:util-linux-version))