debian_amd64:
  stage: build
  script:
    - ./UpdateLog.sh
    - make debian-package
    - mkdir build
    - cp ../tellusagent*.deb build/ 
    - rm ../tellusagent*
  only:
    - master
  artifacts:
    paths:
    - build/* 
  tags:
    - debian
    - amd64
    
debian_386:
  stage: build
  script:
    - ./UpdateLog.sh
    - ARCH=i386 make debian-package
    - mkdir build
    - cp ../tellusagent*.deb build/ 
    - rm ../tellusagent*
  only:
    - master
  artifacts:
    paths:
    - build/*
  tags:
    - debian
    - i386

debian_armhf:
  stage: build
  script:
    - ./UpdateLog.sh
    - make debian-package
    - mkdir build
    - cp ../tellusagent*.deb build/ 
    - rm ../tellusagent*
  only:
    - master
  artifacts:
    paths:
    - build/*
  tags:
    - debian
    - armv6