Commit Graph

14 Commits

Author SHA1 Message Date
Leonid Pliushch 63f6d320d1 CI: do not encrypt username & gpg subject
These values are not sensitive data.

Also encryption of these values have side effect when they are same as part of
log output: e.g. word "termux-licenses" will become "SECRET-licenses" which may be confusing.
2019-05-19 21:55:40 +03:00
Leonid Pliushch 5fc3491354 CI: let tag '%ci:reset-backlog' will affect PRs too 2019-05-06 16:18:27 +03:00
Leonid Pliushch f086ecdfda CI: modify behaviour of tag "%ci:reset-backlog"
Now it will build current commit and skip anything else.
2019-05-06 16:14:54 +03:00
Leonid Pliushch f1999ddddc CI: use unique keys when caching *.deb files
Make sure that upload task will always receive debs from the corresponding
build task.
2019-05-06 15:56:40 +03:00
Leonid Pliushch eeec7d22e4 CI: look only for tags specified in commit message
Because for pull requests environment variable CIRRUS_CHANGE_MESSAGE contains
only their description.

%ci:reset-backlog
2019-05-06 15:52:06 +03:00
Leonid Pliushch dd4438c533 CI: improve regex for checking tags 2019-05-06 15:42:29 +03:00
Leonid Pliushch 5897248cc1 CI: backlog-resetting tag should work for all tasks 2019-05-06 15:33:50 +03:00
Leonid Pliushch 7c8fc5ed04 CI: change tag for resetting build backlog
Needed because Github recognises @ci as mention of user.

%ci:reset-backlog
2019-05-06 15:31:50 +03:00
Leonid Pliushch 05782bc8d8 CI: add tag that allows to reset build backlog
Just add '@ci:reset-backlog' to commit message and build should be skipped.
CI should finish tasks with status 'success'.

@ci:reset-backlog
2019-05-06 15:24:49 +03:00
Leonid Pliushch a882e8d8b7 CI: better way to pass packages between tasks 2019-05-03 00:47:26 +03:00
Leonid Pliushch fddb17f159 CI: refactor configuration file
Cache instructions will query system to check if existing cache is available.
While cache will unlikely to be available in build task, it is better to
make it queried before build so if cache folder appear, it will be deleted by
`rm -rf "debs-${TERMUX_ARCH}"`.
2019-05-02 15:25:28 +03:00
Leonid Pliushch 0fdd2c60a8 CI: fix configuration file
Do not delete folder which is lately used...
2019-05-02 15:10:14 +03:00
Leonid Pliushch f9b427dbf7 CI: cache deb files properly so all of them passed to upload task 2019-05-02 14:59:28 +03:00
Leonid Pliushch 599d2509d7 CI: switch to Cirrus 2019-05-01 23:45:46 +03:00