Skip to content

Commit d2deff1

Browse files
arampriceystros
authored andcommitted
CI: use integrated bosh-psmodules instead of separate repo
Signed-off-by: Brian Upton <[email protected]>
1 parent 87f9ed7 commit d2deff1

File tree

15 files changed

+24
-60
lines changed

15 files changed

+24
-60
lines changed

ci/pipelines/windows-2019-ng.yml

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,6 @@ resources:
167167
branch: windows-2019
168168
username: bosh-admin-bot
169169
password: ((github_public_repo_token))
170-
- name: bosh-psmodules-repo
171-
type: git
172-
source:
173-
uri: https://github.com/cloudfoundry/bosh-psmodules.git
174-
branch: windows-2019
175-
username: bosh-admin-bot
176-
password: ((github_public_repo_token))
177170
- name: bosh-stemcells-ci
178171
type: git
179172
source:
@@ -757,7 +750,7 @@ jobs:
757750
steps:
758751
- get: pester
759752
- get: bosh-windows-stemcell-builder-ci
760-
- get: bosh-psmodules-repo
753+
- get: stemcell-builder
761754
trigger: true
762755
- task: test-units-bosh-psmodules
763756
file: bosh-windows-stemcell-builder-ci/ci/tasks/test-units-bosh-psmodules/task.yml
@@ -790,10 +783,10 @@ jobs:
790783
- get: bosh-windows-stemcell-builder-ci-image
791784
- get: stemcell-builder
792785
trigger: true
793-
passed: [test-stemcell-builder]
786+
passed:
787+
- test-stemcell-builder
788+
- test-bosh-psmodules
794789
- get: stembuild
795-
- get: bosh-psmodules-repo
796-
passed: [test-bosh-psmodules]
797790
- get: lgpo-binary
798791
- get: version
799792
resource: main-version
@@ -902,8 +895,6 @@ jobs:
902895
- get: lgpo-binary
903896
- get: bosh-agent-release
904897
passed: [build]
905-
- get: bosh-psmodules-repo
906-
passed: [build]
907898
- get: stembuild
908899
passed: [build]
909900
- get: ovftool
@@ -927,10 +918,10 @@ jobs:
927918
- task: test-units-stemcell-automation
928919
file: bosh-windows-stemcell-builder-ci/ci/tasks/test-units-stemcell-automation/task.yml
929920
tags: [windows-nimbus]
930-
- task: build-agent
921+
- task: build-agent-zip
931922
file: bosh-windows-stemcell-builder-ci/ci/tasks/build-agent-zip/task.yml
932923
image: bosh-windows-stemcell-builder-ci-image
933-
- task: build-psmodules
924+
- task: build-psmodules-zip
934925
file: bosh-windows-stemcell-builder-ci/ci/tasks/build-psmodules-zip/task.yml
935926
image: bosh-windows-stemcell-builder-ci-image
936927
- task: unit-test
@@ -1016,8 +1007,6 @@ jobs:
10161007
- get: lgpo-binary
10171008
- get: bosh-agent-release
10181009
passed: [build]
1019-
- get: bosh-psmodules-repo
1020-
passed: [build]
10211010
- get: stembuild
10221011
passed: [build]
10231012
- get: ovftool
@@ -1042,10 +1031,10 @@ jobs:
10421031
- task: test-units-stemcell-automation
10431032
file: bosh-windows-stemcell-builder-ci/ci/tasks/test-units-stemcell-automation/task.yml
10441033
tags: [windows-nimbus]
1045-
- task: build-agent
1034+
- task: build-agent-zip
10461035
file: bosh-windows-stemcell-builder-ci/ci/tasks/build-agent-zip/task.yml
10471036
image: bosh-windows-stemcell-builder-ci-image
1048-
- task: build-psmodules
1037+
- task: build-psmodules-zip
10491038
file: bosh-windows-stemcell-builder-ci/ci/tasks/build-psmodules-zip/task.yml
10501039
image: bosh-windows-stemcell-builder-ci-image
10511040
- task: unit-test
@@ -1483,8 +1472,6 @@ jobs:
14831472
resource: openssh-release
14841473
- get: bosh-agent-release
14851474
passed: [build]
1486-
- get: bosh-psmodules-repo
1487-
passed: [build]
14881475
- get: blobstore-dav-cli
14891476
- get: blobstore-s3-cli
14901477
- get: blobstore-gcs-cli
@@ -1677,8 +1664,6 @@ jobs:
16771664
resource: openssh-release
16781665
- get: bosh-agent-release
16791666
passed: [wuts-aws]
1680-
- get: bosh-psmodules-repo
1681-
passed: [build]
16821667
- get: blobstore-dav-cli
16831668
- get: blobstore-s3-cli
16841669
- get: blobstore-gcs-cli
@@ -1844,8 +1829,6 @@ jobs:
18441829
resource: openssh-release
18451830
- get: bosh-agent-release
18461831
passed: [build]
1847-
- get: bosh-psmodules-repo
1848-
passed: [build]
18491832
- get: blobstore-dav-cli
18501833
- get: blobstore-s3-cli
18511834
- get: blobstore-gcs-cli
@@ -2039,8 +2022,6 @@ jobs:
20392022
resource: openssh-release
20402023
- get: bosh-agent-release
20412024
passed: [build]
2042-
- get: bosh-psmodules-repo
2043-
passed: [build]
20442025
- get: blobstore-dav-cli
20452026
- get: blobstore-s3-cli
20462027
- get: blobstore-gcs-cli
@@ -2239,8 +2220,6 @@ jobs:
22392220
- wuts-gcp
22402221
- wuts-aws-govcloud # implies => aws-build-number
22412222
- wuts-azure
2242-
- get: bosh-psmodules-repo
2243-
passed: [build]
22442223
- task: ensure-versions-match
22452224
file: bosh-windows-stemcell-builder-ci/ci/tasks/match-stemcell-versions/task.yml
22462225
image: bosh-windows-stemcell-builder-ci-image
@@ -2279,8 +2258,6 @@ jobs:
22792258
- get: bosh-windows-acceptance-tests
22802259
- get: bosh-agent-release
22812260
passed: [promote]
2282-
- get: bosh-psmodules-repo
2283-
passed: [promote]
22842261
- get: blobstore-dav-cli
22852262
- get: blobstore-s3-cli
22862263
- get: blobstore-gcs-cli

ci/tasks/build-psmodules-zip/run.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ zip_output_dir="${CONCOURSE_ROOT}/${ZIP_OUTPUT_DIR:-"stemcell-builder/build"}"
88

99
mkdir -p "${zip_output_dir}"
1010

11-
bosh_psmodules_dir="${CONCOURSE_ROOT}/${BOSH_PSMODULES_DIR:-"bosh-psmodules-repo"}/modules"
12-
13-
pushd "${bosh_psmodules_dir}"
11+
pushd "${CONCOURSE_ROOT}/stemcell-builder/modules"
1412
zip -r "${zip_output_dir}/bosh-psmodules.zip" ./*
1513
popd

ci/tasks/build-psmodules-zip/task.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
platform: linux
33

44
inputs:
5-
- name: bosh-psmodules-repo
65
- name: bosh-windows-stemcell-builder-ci
76
- name: stemcell-builder
87

98
outputs:
10-
- name: bosh-psmodules
9+
- name: psmodules-zip-output
1110

1211
run:
1312
path: bosh-windows-stemcell-builder-ci/ci/tasks/build-psmodules-zip/run.sh
1413

1514
params:
16-
BOSH_PSMODULES_DIR: bosh-psmodules-repo
17-
ZIP_OUTPUT_DIR: bosh-psmodules
15+
ZIP_OUTPUT_DIR: psmodules-zip-output

ci/tasks/copy-aws-stemcell/task.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ inputs:
88
- name: amis
99
- name: default-stemcell
1010
- name: bosh-agent-release
11-
- name: bosh-psmodules-repo
1211
- name: blobstore-dav-cli
1312
- name: blobstore-s3-cli
1413
- name: blobstore-gcs-cli
@@ -32,4 +31,3 @@ params:
3231
AMIS_DIR: ../amis
3332
DEFAULT_STEMCELL_DIR: ../default-stemcell
3433
BOSH_AGENT_DIR: bosh-agent-release
35-
BOSH_PSMODULES_DIR: bosh-psmodules-repo

ci/tasks/create-aws-stemcell/task.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ inputs:
1010
- name: sshd
1111
- name: packer-ci-private-key
1212
- name: bosh-agent-release
13-
- name: bosh-psmodules-repo
1413
- name: blobstore-dav-cli
1514
- name: blobstore-s3-cli
1615
- name: blobstore-gcs-cli
@@ -42,4 +41,3 @@ params:
4241
OUTPUT_BUCKET_NAME: aws-regional-stemcells
4342
OUTPUT_BUCKET_REGION: us-east-1
4443
BOSH_AGENT_DIR: bosh-agent-release
45-
BOSH_PSMODULES_DIR: bosh-psmodules-repo

ci/tasks/create-azure-stemcell/task.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ inputs:
88
- name: lgpo-binary
99
- name: sshd
1010
- name: bosh-agent-release
11-
- name: bosh-psmodules-repo
1211
- name: blobstore-dav-cli
1312
- name: blobstore-s3-cli
1413
- name: blobstore-gcs-cli
@@ -42,4 +41,3 @@ params:
4241
BASE_IMAGE_OFFER:
4342
VM_PREFIX:
4443
BOSH_AGENT_DIR: bosh-agent-release
45-
BOSH_PSMODULES_DIR: bosh-psmodules-repo

ci/tasks/create-gcp-stemcell/task.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ inputs:
99
- name: lgpo-binary
1010
- name: sshd
1111
- name: bosh-agent-release
12-
- name: bosh-psmodules-repo
1312
- name: blobstore-dav-cli
1413
- name: blobstore-s3-cli
1514
- name: blobstore-gcs-cli
@@ -30,4 +29,3 @@ params:
3029
VERSION_DIR: ../version
3130
VM_PREFIX:
3231
BOSH_AGENT_DIR: bosh-agent-release
33-
BOSH_PSMODULES_DIR: bosh-psmodules-repo

ci/tasks/test-integration-stembuild-linux/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ echo '***Installing VMWare OVF Tools***'
1414
chmod +x ./ovftool/VMware-ovftool-4.2.0-5965791-lin.x86_64.bundle
1515
./ovftool/VMware-ovftool-4.2.0-5965791-lin.x86_64.bundle --eulas-agreed --required
1616

17-
export BOSH_PSMODULES_REPO="${ROOT_DIR}/bosh-psmodules-repo"
1817
export STEMBUILD_VERSION
1918
export TARGET_VM_IP
2019
export VM_NAME

ci/tasks/test-integration-stembuild-linux/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
- name: ovftool
99
- name: nimbus-ips
1010
- name: integration-vm-name
11-
- name: bosh-psmodules-repo
11+
- name: stemcell-builder
1212

1313
run:
1414
path: bosh-windows-stemcell-builder-ci/ci/tasks/test-integration-stembuild-linux/run.sh

ci/tasks/test-integration-stembuild-windows/run.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ $ROOT_DIR=Get-Location
1313
Write-Host "ROOT: $ROOT_DIR"
1414

1515
$env:VM_NAME= cat $ROOT_DIR/integration-vm-name/name
16-
$env:BOSH_PSMODULES_REPO="$ROOT_DIR/bosh-psmodules-repo"
1716

1817
$TMP_DIR=Join-Path $ROOT_DIR tmp
1918

0 commit comments

Comments
 (0)