Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
570 B

  1. const {head, branch} = require('../lib/git');
  2. // https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
  3. module.exports = {
  4. detect({env}) {
  5. return Boolean(env.CODEBUILD_BUILD_ID);
  6. },
  7. configuration({env, cwd}) {
  8. return {
  9. name: 'AWS CodeBuild',
  10. service: 'codebuild',
  11. commit: head({env, cwd}),
  12. build: env.CODEBUILD_BUILD_ID,
  13. branch: branch({env, cwd}),
  14. buildUrl: `https://console.aws.amazon.com/codebuild/home?region=${env.AWS_REGION}#/builds/${
  15. env.CODEBUILD_BUILD_ID
  16. }/view/new`,
  17. root: env.PWD,
  18. };
  19. },
  20. };