Skip to content

Commit

Permalink
Add CloudFoundry buildpack index (#895)
Browse files Browse the repository at this point in the history
* add starter index with the 2 latest versions

* update version file after release

* this definitely needs a newline for the update script to work

* move index to deployments/cloudfoundry/index.yml

* change file path
  • Loading branch information
breedx-splk authored Sep 14, 2022
1 parent 17a44b0 commit c046006
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployments/cloudfoundry/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Index of all versions available to the upstream Cloud Foundry java buildpack.
---
1.14.2: https://github.com/signalfx/splunk-otel-java/releases/download/v1.14.2/splunk-otel-javaagent-all.jar
1.15.0: https://github.com/signalfx/splunk-otel-java/releases/download/v1.15.0/splunk-otel-javaagent-all.jar
4 changes: 4 additions & 0 deletions scripts/update-version-after-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ readme_sed_args=(
sed ${sed_flag} "${readme_sed_args[@]}" README.md

rm dev_docs_warning.md.tmp

# update main cloudfoundry buildpack index with new released version
CF_INDEX=deployments/cloudfoundry/index.yml
echo "${splunk_current_version}: https://github.com/signalfx/splunk-otel-java/releases/download/v${splunk_current_version}/splunk-otel-javaagent-all.jar" >> "${CF_INDEX}"

0 comments on commit c046006

Please sign in to comment.