MarcoFalke
fafe3a8e38
ci: Remove second user account
2 years ago
MarcoFalke
faa0839837
ci: Cache more stuff in the ci images: msan, iwyu, pip, sdks
2 years ago
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-
2 years ago
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
2 years ago
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.
2 years ago
josibake
21a9e94dbb
ci: remove hardcoded tag list from ci scripts
2 years ago
Hennadii Stepanov
ca0c3e5077
ci, android: Update Command-line Tools from 2.1 up to 7.0
2 years ago
Hennadii Stepanov
86c2889518
ci: Make log verbose in error case only
...
This change silences depends build using LOG=1.
3 years ago
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.
3 years ago
Hennadii Stepanov
0bbae237a8
ci: Drop no longer needed `update-alternatives`
3 years ago
MarcoFalke
fafc55a489
ci: Use dash when building depends in centos build
3 years ago
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-
3 years ago
MarcoFalke
fa5457e64a
ci: Bump CentOS 8 image
3 years ago
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
3 years ago
Hennadii Stepanov
3ad5ace351
ci: Revamp Android SDK cache, and update it timely
3 years ago
Hennadii Stepanov
e988bc7f2e
ci: Make macOS SDK cache independent, and update it timely
3 years ago
Hennadii Stepanov
9a1ad7bc0d
test: Enable SC2086 shellcheck rule
3 years ago
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)
4 years ago
Igor Cota
7563720e30
CI: add Android APK build script
4 years ago
MarcoFalke
fa330d8fed
ci: Avoid invoking curl on the host
4 years ago
Hennadii Stepanov
09d105ef0f
ci: Drop travis_fold feature as Travis CI is no longer used
4 years ago
MarcoFalke
fa73674738
ci: Run i686 centos ci config on cirrus
4 years ago
MarcoFalke
fa0795f54d
ci: Replace TRAVIS_OS_NAME with CI_OS_NAME
...
Also enable free disk space check unconditionally
4 years ago
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-
4 years ago
Brian Liotti
9c34aff393
Remove previous_release.sh
4 years ago
practicalswift
870f0cd2a0
build: Add MemorySanitizer (MSan) in Travis to detect use of uninitialized memory
4 years ago
Carl Dong
3381e4a189
Adapt rest of tooling to new SDK naming scheme
4 years ago
MarcoFalke
fa71667597
ci: Move travis workarounds to .travis.yml
4 years ago
MarcoFalke
fa0cc02c0a
ci: Mute depends logs completely
5 years ago
Sjors Provoost
d135c29476
[ci] make list of previous releases to download a setting
...
Co-Authored-By: MarcoFalke <falke.marco@gmail.com>
5 years ago
Sjors Provoost
9c246b873c
[test] backwards compatibility: bump v0.19.0.1 to v0.19.1
5 years ago
Harris
66fe7b1a98
test: added test for upgradewallet RPC
5 years ago
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
Ben Woosley
9b0e16226e
doc: Correct spelling errors in comments
...
And ci script output.
Identified via test/lint/lint-spelling
5 years ago
Sjors Provoost
c456145b2c
[test] add 0.19 backwards compatibility tests
5 years ago
Sjors Provoost
8b1460dbd1
[tests] check v0.17.1 and v0.18.1 backwards compatibility
5 years ago
Sebastian Falbesoner
ef63f5fc11
ci: Combine 32-bit build with CentOS 7 build
5 years ago
MarcoFalke
aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
5 years ago
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-
5 years ago
MarcoFalke
fa00393bce
ci: Make all filesystem operations inside docker
5 years ago
MarcoFalke
fa677d1801
ci: Remove redundant check for TRAVIS_OS_NAME
...
Can be reviewed with
git diff --ignore-all-space --function-context
5 years ago
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>
5 years ago
MarcoFalke
fafe78f6ae
ci: Rename .travis/ to ./ci/
5 years ago