Skip to content

Commit

Permalink
Merge pull request #25155 from developer-guy/kontainer-driver-metadata
Browse files Browse the repository at this point in the history
kontainer-driver-metadata for rancher
  • Loading branch information
smoser authored Jul 30, 2024
2 parents ed0a4ac + 0e350da commit b120204
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions rancher-kontainer-driver-metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#nolint:valid-pipeline-git-checkout-tag
package:
name: rancher-kontainer-driver-metadata
version: 2.9
epoch: 0
description: This repository is to keep information of k8s versions and their dependencies like k8s components flags and system addons images.
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle

pipeline:
- uses: git-checkout
with:
repository: https://github.com/rancher/kontainer-driver-metadata/
branch: release-v${{package.version}}
expected-commit: 6b07bc04422dd7cb6cb6bc8fd08f6e6806d48f6b

- runs: |
mkdir -p ${{targets.contextdir}}/var/lib/rancher-data/driver-metadata
install -Dm755 data/data.json ${{targets.contextdir}}/var/lib/rancher-data/driver-metadata/data.json
update:
enabled: false
exclude-reason: they use branches for releases instead of tags https://github.com/rancher/kontainer-driver-metadata/branches

test:
pipeline:
- runs: |
# check data.json is available at the expected location at `/var/lib/rancher-data/driver-metadata/`
test -f /var/lib/rancher-data/driver-metadata/data.json

0 comments on commit b120204

Please sign in to comment.