2020-07-23 20:42:36 +03:00
|
|
|
# This is a sample build configuration for Other.
|
|
|
|
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
|
|
|
|
# Only use spaces to indent your .yml configuration.
|
|
|
|
# -----
|
|
|
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
2020-07-23 20:44:33 +03:00
|
|
|
image: svk28/rac-gui-build:centos8
|
2020-07-23 20:42:36 +03:00
|
|
|
|
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- step:
|
|
|
|
script:
|
2020-07-23 21:18:43 +03:00
|
|
|
- cd /home/rpmbuild
|
2020-07-23 21:34:24 +03:00
|
|
|
- whoami
|
|
|
|
- chmod -R 777 /files
|
2020-07-23 21:16:41 +03:00
|
|
|
- ./build-rpm.sh
|
2020-07-23 21:34:24 +03:00
|
|
|
- ls -1 /files | xargs -l bash -c 'curl ftp://nuk-svk.ru --user $FTP_USER:$FTP_PASS --upload-file -'
|
2020-07-23 20:42:36 +03:00
|
|
|
|
|
|
|
#image: atlassian/sftp-deploy:0.5.6
|
|
|
|
# variables:
|
|
|
|
# USER: '<string>'
|
|
|
|
# SERVER: '<string>'
|
|
|
|
# REMOTE_PATH: '<string>'
|
|
|
|
# LOCAL_PATH: '<string>' # Optional.
|
|
|
|
# SSH_KEY: '<string>' # Optional.
|
|
|
|
# PASSWORD: '<string>' # Optional.
|
|
|
|
# EXTRA_ARGS: '<string>' # Optional.
|
|
|
|
# DEBUG: '<boolean>' # Optional.
|