Нет описания

123456789101112131415161718192021222324252627282930
  1. clone:
  2. git:
  3. image: plugins/git
  4. recursive: false
  5. pipeline:
  6. pull_build:
  7. image: sots:latest
  8. repo: Karathan/source_of_the_sovereign
  9. secrets: [ssh_private_key, ssh_known_hosts, ssh_host]
  10. commands:
  11. - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
  12. - eval $(ssh-agent -s)
  13. - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
  14. - mkdir -p ~/.ssh
  15. - chmod 700 ~/.ssh
  16. - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
  17. - chmod 644 ~/.ssh/known_hosts
  18. - echo "$SSH_HOST" > ~/.ssh/config
  19. - git submodule sync --recursive
  20. - git submodule update --init
  21. - mkdir -p ../tools
  22. - rm -rf ../tools/v_tools
  23. - cp -r /sots-tools/v_tools ../tools
  24. - rm -f /base/bpre0.gba
  25. - cp /bpre0.gba ./base/bpre0.gba
  26. - chmod 644 ./base/bpre0.gba
  27. - make all