13 lines
760 B
YAML
13 lines
760 B
YAML
pipeline:
|
|
build:
|
|
image: registry.v1.cloud.wit.com/toby/packager:1.3
|
|
commands:
|
|
- echo "wit-pxeboot (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >debian/changelog
|
|
- ./create_pxeinitrd.sh
|
|
- dpkg-buildpackage --no-sign
|
|
- ls -lha ../wit-pxeboot_*_all.deb
|
|
- echo "$SSH_KEY" >/tmp/id_rsa
|
|
- chmod 600 /tmp/id_rsa
|
|
- scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../wit-pxeboot_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
|
|
secrets: [ ssh_key ]
|