Skip to content

Commit

Permalink
Print multiapps controller manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jun 7, 2024
1 parent 668322b commit e416935
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
21 changes: 16 additions & 5 deletions ci/infrastructure/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ resource_types:
- name: maven-resource
type: registry-image
source:
repository: nulldriver/maven-resource
repository: ghcr.io/garethjevans/maven-resource
tag: latest


- name: gcs-resource
type: registry-image
source:
Expand Down Expand Up @@ -108,11 +107,22 @@ resources:
source:
name: bosh-google-kvm-ubuntu-jammy-go_agent

- name: multiapps-controller-repo
type: git
icon: github
source:
branch: main
uri: https://github.com/cloudfoundry/multiapps-controller.git


- name: multiapps-controller-artifact
type: maven-resource
source:
url: https://central.sonatype.com/artifact
artifact: org.cloudfoundry.multiapps:multiapps-controller-web:jar
# groupId:artifactId:type[:classifier]
repository: https://repo.maven.apache.org/maven2
artifactId: multiapps-controller-web
groupId: org.cloudfoundry.multiapps
type: war

jobs:
- name: set-pipeline
Expand Down Expand Up @@ -315,7 +325,8 @@ jobs:
trigger: true
passed: [setup-infrastructure]
- get: ci
- name: multiapps-controller-artifact
- get: multiapps-controller-artifact
- get: multiapps-controller-repo
- task: deploy-multiapps-controller
file: ci/ci/infrastructure/tasks/deploy-multiapps-controller.yml
params:
Expand Down
5 changes: 2 additions & 3 deletions ci/infrastructure/scripts/deploy-multiapps-controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
# shellcheck disable=SC2086
set -euo pipefail


echo "deploy artifact jar to cf"

echo "multiapps controller manifest content:"
cat multiapps-controller-repo/multiapps-controller-web/manifests/manifest.yml
1 change: 1 addition & 0 deletions ci/infrastructure/tasks/deploy-multiapps-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ inputs:
- name: bbl-state
- name: ci
- name: multiapps-controller-artifact
- name: multiapps-controller-repo

run:
path: ci/ci/infrastructure/scripts/deploy-multiapps-controller.sh

0 comments on commit e416935

Please sign in to comment.