MarcoFalke
fafe3a8e38
ci: Remove second user account
2023-03-31 08:28:38 +02:00
MarcoFalke
faa0839837
ci: Cache more stuff in the ci images: msan, iwyu, pip, sdks
2023-03-24 10:19:25 +01:00
MarcoFalke
fa5dccba32
scripted-diff: ci: Rework docker naming
...
DOCKER in names is confusingly used as synonym for "image", "container",
and "ci". Fix the confusion by picking the term that fits the context.
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s:$1:$2:g" $( git grep -l "$1" ) ; }
ren DOCKER_PACKAGES CI_BASE_PACKAGES
# This better reflects that they are the common base for all CI
# containers.
ren DOCKER_ID CI_CONTAINER_ID
# This is according to the documentation of "--detach , -d: Run
# container in background and print container ID".
ren DOCKER_NAME_TAG CI_IMAGE_NAME_TAG
# This avoids confusing with CONTAINER_NAME and clarifies that it is an
# image.
ren DOCKER_ADMIN CI_CONTAINER_CAP
# This clarifies that it is a capability added to the container.
ren DOCKER_CI_CMD_PREFIX CI_EXEC_CMD_PREFIX
# This brings it in line with the CI_EXEC naming.
-END VERIFY SCRIPT-
2023-01-11 10:49:18 +01:00
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
2022-12-24 23:49:50 +00:00
josibake
849f20a6d3
ci: create and use non-root user for docker image
...
Running all commands as the root user in the docker image
will change local file permissions in the ci and depends directory.
Add a non-root user to the container and use this user whenever
possible when running docker exec commands.
2022-11-21 18:11:28 +01:00
josibake
21a9e94dbb
ci: remove hardcoded tag list from ci scripts
2022-07-21 12:02:08 +02:00
Hennadii Stepanov
ca0c3e5077
ci, android: Update Command-line Tools from 2.1 up to 7.0
2022-05-31 18:43:11 +02:00
Hennadii Stepanov
86c2889518
ci: Make log verbose in error case only
...
This change silences depends build using LOG=1.
2022-04-14 13:44:29 +02:00
fanquake
3566353c5e
ci: remove compiled-but-unused BDB from MSAN job
...
Self-compiled BDB was added to this job as opposed to using depends BDB
due to linking issues, however the compiled BDB is not actually used.
Remove it for now, given we don't actually lose any coverage (note that
BDB is also no used the MSAN fuzz job), and in future, we can use
depends BDB.
2022-03-10 12:48:21 +00:00
Hennadii Stepanov
0bbae237a8
ci: Drop no longer needed update-alternatives
2022-02-02 19:29:01 +02:00
MarcoFalke
fafc55a489
ci: Use dash when building depends in centos build
2022-02-01 10:15:17 +01:00
MarcoFalke
fa33236e77
scripted-diff: Rename DOCKER_EXEC to CI_EXEC
...
-BEGIN VERIFY SCRIPT-
sed -i "s/DOCKER_EXEC/CI_EXEC/g" $(git grep -l DOCKER_EXEC)
-END VERIFY SCRIPT-
2022-02-01 10:14:53 +01:00
MarcoFalke
fa5457e64a
ci: Bump CentOS 8 image
2022-02-01 10:13:25 +01:00
Hennadii Stepanov
f47dda2c58
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
* 2020: fa0074e2d8
* 2019: aaaaad6ac9
2021-12-30 19:36:57 +02:00
Hennadii Stepanov
3ad5ace351
ci: Revamp Android SDK cache, and update it timely
2021-11-25 21:23:34 +02:00
Hennadii Stepanov
e988bc7f2e
ci: Make macOS SDK cache independent, and update it timely
2021-11-25 20:39:07 +02:00
Hennadii Stepanov
9a1ad7bc0d
test: Enable SC2086 shellcheck rule
2021-11-13 16:54:56 +02:00
MarcoFalke
fac577d423
ci: Build depends only once for Android build
...
Depends is currently built twice for the Android build. For example, the
same task building it twice:
* https://cirrus-ci.com/task/6673185279049728?logs=ci#L3418 (aarch64-linux-android)
* https://cirrus-ci.com/task/6673185279049728?logs=ci#L3422 (x86_64-pc-linux-gnu, 4 lines later)
2021-03-28 20:05:31 +02:00
Igor Cota
7563720e30
CI: add Android APK build script
2021-03-21 22:33:35 +01:00
MarcoFalke
fa330d8fed
ci: Avoid invoking curl on the host
2021-02-20 09:52:55 +01:00
Hennadii Stepanov
09d105ef0f
ci: Drop travis_fold feature as Travis CI is no longer used
2020-12-17 22:02:12 +02:00
MarcoFalke
fa73674738
ci: Run i686 centos ci config on cirrus
2020-11-23 17:09:12 +01:00
MarcoFalke
fa0795f54d
ci: Replace TRAVIS_OS_NAME with CI_OS_NAME
...
Also enable free disk space check unconditionally
2020-11-09 10:15:48 +01:00
Hennadii Stepanov
bd897ce79f
scripted-diff: Move previous_release.py to test/get_previous_releases.py
...
-BEGIN VERIFY SCRIPT-
OLD=contrib/devtools/previous_release.py
NEW=test/get_previous_releases.py
sed -i "s|$OLD|$NEW|g" $(git grep -l $OLD)
git mv $OLD $NEW
-END VERIFY SCRIPT-
2020-08-29 11:26:25 +03:00
Brian Liotti
9c34aff393
Remove previous_release.sh
2020-07-05 04:05:02 -04:00
practicalswift
870f0cd2a0
build: Add MemorySanitizer (MSan) in Travis to detect use of uninitialized memory
2020-06-23 09:09:30 +00:00
Carl Dong
3381e4a189
Adapt rest of tooling to new SDK naming scheme
2020-06-22 10:13:55 -04:00
MarcoFalke
fa71667597
ci: Move travis workarounds to .travis.yml
2020-06-14 11:33:25 -04:00
MarcoFalke
fa0cc02c0a
ci: Mute depends logs completely
2020-05-30 08:33:44 -04:00
Sjors Provoost
d135c29476
[ci] make list of previous releases to download a setting
...
Co-Authored-By: MarcoFalke <falke.marco@gmail.com>
2020-05-08 16:13:29 +02:00
Sjors Provoost
9c246b873c
[test] backwards compatibility: bump v0.19.0.1 to v0.19.1
2020-05-04 13:36:40 +02:00
Harris
66fe7b1a98
test: added test for upgradewallet RPC
2020-04-29 16:11:49 +02:00
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-04-16 13:33:09 -04:00
Ben Woosley
9b0e16226e
doc: Correct spelling errors in comments
...
And ci script output.
Identified via test/lint/lint-spelling
2020-03-02 23:07:21 -08:00
Sjors Provoost
c456145b2c
[test] add 0.19 backwards compatibility tests
2020-02-11 21:46:23 +01:00
Sjors Provoost
8b1460dbd1
[tests] check v0.17.1 and v0.18.1 backwards compatibility
2020-02-11 21:46:21 +01:00
Sebastian Falbesoner
ef63f5fc11
ci: Combine 32-bit build with CentOS 7 build
2020-01-08 23:36:46 +01:00
MarcoFalke
aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2019-12-30 10:42:20 +13:00
MarcoFalke
fa04187528
scripted-diff: Use ci DEPENDS_DIR, remove BASE_BUILD_DIR
...
-BEGIN VERIFY SCRIPT-
# Use ci DEPENDS_DIR
sed -i -e 's|BASE_BUILD_DIR/depends|DEPENDS_DIR|g' $(git grep -l depends ci)
sed -i -e 's| depends/| ${DEPENDS_DIR}/|g' $(git grep -l depends ci)
# Remove redundant alias
sed -i -e 's|BASE_BUILD_DIR|BASE_ROOT_DIR|g' $(git grep -l BASE_BUILD_DIR ci)
-END VERIFY SCRIPT-
2019-11-21 11:01:34 -05:00
MarcoFalke
fa00393bce
ci: Make all filesystem operations inside docker
2019-11-09 09:11:32 -05:00
MarcoFalke
fa677d1801
ci: Remove redundant check for TRAVIS_OS_NAME
...
Can be reviewed with
git diff --ignore-all-space --function-context
2019-10-17 11:30:36 -04:00
Sjors Provoost
1f6c650c99
travis: run tests on macOS native
...
Review hint:
git show -w
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Co-authored-by: keneanung <keneanung@googlemail.com>
Co-authored-by: Vadim Peretokin <vperetokin@gmail.com>
2019-10-14 23:00:49 +02:00
MarcoFalke
fafe78f6ae
ci: Rename .travis/ to ./ci/
2019-08-15 11:11:45 -04:00