Commit Graph

390 Commits

Author SHA1 Message Date
stack a9635d87e0 Make it so can run the ycsb container standalone without need of a k8s
context (useful for running ycsb against bare metal cluster).

* packaging/docker/Dockerfile
* packaging/docker/Dockerfile.eks
 Make the ycsb target inherit from foundationdb-base so we pick up
 libfdb_c.so. Add in a version of run_ycsb.sh that doesn't presume
 k8s. Use 'entrypoint' rather than 'cmd' so can override on
 'docker run'.

* packaging/docker/run_ycsb_standalone.sh
 Version of run_ycsb.sh w/o the presumption of k8s.
2024-05-08 12:22:21 -05:00
sulinehk b8081e2685 fix: golang docker compose example 2024-04-12 14:51:34 -05:00
Aaron Molitor 38bb833d41 updates to add fdb-kubernetes-monitor to the standard build flow 2024-04-12 08:31:48 -05:00
Aaron Molitor e0c6b6acff skip building fdb-kubernetes-monitor 2024-04-01 16:11:04 -04:00
Dan Goodman 841b2e040c Update to FDB 7.3.27 & API 730 2024-03-03 12:18:48 +00:00
Dan Goodman 41cd834b60 update golang example to modern FDB and API version 2024-03-02 16:07:13 +00:00
Johannes Scheuermann ea5f521f15
Refactor code to make use of the controller-runtime and allow delayed shutdown of the monitor process (#11108) 2024-01-18 08:00:26 +01:00
Johannes M. Scheuermann 8902b3ac52 Build the FDB Kubernetes monitor 2023-12-20 15:30:15 -06:00
Johannes Scheuermann 813ce39c20
Improve the Docker setup for Mac (#11076) 2023-11-28 09:28:49 +01:00
shua 550f9b10a2
add fdb_c_apiversion.g.h to osx package (#11037)
fdb_c.h depends on this header, and it is not currently included. This results in build failures as described in #11036 . This change adds this header to the osx package.
2023-10-26 14:28:24 -05:00
Aaron Molitor 5f8f86e64c add script to allow starting and running a singleton FDB database in the foundationdb docker image 2023-08-11 12:59:17 -05:00
Sam Weaver c6f0278b62 Fixes #10700. make_public.py now correctly ignores comments 2023-07-28 11:50:43 -04:00
Aaron Molitor a718a31dd7 update links to foundationdb.org to reference GitHub 2023-05-30 10:15:20 -05:00
A.J. Beamon fef2967d62 Fix several issues found by flake8. Ignore E402, which detects when we have import statements not at the top of the file, since we have many files that use this pattern and are not easy to fix. 2023-05-02 10:06:40 -07:00
A.J. Beamon 0035d9c519
Merge pull request #10074 from sfc-gh-ajbeamon/apply-black-format
Apply black format to most Python files
2023-05-02 08:20:47 -07:00
dependabot[bot] a3fe347ae1
Bump flask from 1.1.1 to 2.3.2 in /packaging/docker/samples/python/app
Bumps [flask](https://github.com/pallets/flask) from 1.1.1 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.1.1...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 21:13:28 +00:00
A.J. Beamon 182dc93ebd Apply black format to most Python files, excluding a few cases where we have Python 2 files and a few files written externally. Add external files as exclusions to the precommit checks. 2023-04-28 11:46:41 -07:00
Dan Goodman 36415a25f2
Remove unused FDB_WEBSITE arg in Dockerfile 2023-04-16 12:46:45 -04:00
Dan Goodman 15d59cbf24 Changes to allow golang example to work 2023-04-15 12:21:26 +00:00
Andrew Noyes ad6362b2f1 Fix /etc/foundationdb/ rpm ownership 2023-01-06 16:30:18 -08:00
Aaron Molitor ffe024244e skip proxy when fetching kubectl 2022-11-03 13:01:41 -05:00
Aaron Molitor f620f391f5 make same change to Dockerfile.eks (from #8583) 2022-10-26 12:24:37 -05:00
Aaron Molitor b8b7b46d8f update kubectl and awscli 2022-10-26 10:52:05 -05:00
Aaron Molitor e4116f8aee cleanup shell script, remove set -x, add more detailed logging 2022-10-25 23:23:22 -05:00
Aaron Molitor ca1b606d70 move global variables into function args/local variables, build both regular and debug images by default 2022-08-23 11:43:49 -05:00
Vaidas Gasiunas d99d0370b1
C shim library: API for setting client library path; additional tests (#7702)
* Adding sources of the Implib.so project

* Run C unit tests and API tests with the shim library

* Reuse compilation of C test binaries with and without shim library

* Resolve client library path from an environment variable

* Refactoring: Reusable module for downloading FDB binaries

* Testing client shim library with current version and last release version

* Tests for specifying client library over an environment variable

* Enable C shim library tests on ARM

* Restore the original path for including fdb_api.hpp

* Improve cmake dependencies on doctest

* Remove unnecessary Implib.so files

* Shim library: API to specify path to the library, additional tests

* Adding shim library to Linux distribution packages

* Update link dependencies of fdb_c_shim_lib_tester

* Add dependencies on Implib.so sources

* Abort on fatal errors of shim library

* fix typo
2022-07-29 11:45:45 +02:00
Johannes M. Scheuermann b9afde3d4c Fix permission in Dockerfile 2022-07-05 20:02:51 -07:00
Johannes M. Scheuermann d1b085141d Remove mv flags 2022-06-27 17:44:27 -05:00
Johannes M. Scheuermann 0334cda487 Revert client lib change back 2022-06-27 17:44:27 -05:00
Johannes M. Scheuermann 4a333f5cba Correct script for different build setups 2022-06-27 17:44:27 -05:00
Johannes M. Scheuermann 2b83df5e58 Correct comment for script 2022-06-27 17:44:27 -05:00
Johannes M. Scheuermann 0d05f0f2d8 Refactor Docker setup for new binary location 2022-06-27 17:44:27 -05:00
Johannes Scheuermann 4b0c4a32b0
Add testing for Kubernetes sidecar (#7105)
* Refactor python sidecar and add unit tests

* Fix issue trying to send error response multiple times

* Fix imports and TLS handling

* Correct config variable in ssl reload
2022-06-21 19:39:53 +01:00
Johannes M. Scheuermann 8da4bb9d07 Add openssl for debugging in container image 2022-06-21 12:14:06 -05:00
Johannes Scheuermann c9b4ff3302
Add support for lumberjack in logging and update example to 7.1 (#7357) 2022-06-15 19:41:01 +01:00
Johannes M. Scheuermann b53c9fe851 Make use of relpath instead of basepath 2022-05-07 13:18:03 +01:00
Johannes M. Scheuermann 410bcc8d5d Format sidecar script 2022-05-06 08:40:18 -07:00
hao fu 24f6276e14 Eliminate vector string during mapped key processing
There was OOM if we pre-process all the strings.
2022-05-06 08:38:27 -07:00
Johannes M. Scheuermann d1c71a7903 Add sidecar method to check if a file is present 2022-04-29 13:10:05 +01:00
Aaron Molitor 74ec6962b0 update build-images.sh to play nice with AWS IMDSv2 2022-04-28 14:20:46 -05:00
Russell Sears 8819534a5e
Improve YCSB image logging; remove logic to support partial restarts (#6830) 2022-04-18 13:32:04 -07:00
Johannes M. Scheuermann 96181feab6 Fix Windows build path 2022-04-11 08:58:25 -05:00
Johannes M. Scheuermann d2d8f42222 Add new c libs to client package 2022-04-11 08:58:25 -05:00
Steven Li 01234720e7 update prerelease package format (#6733) 2022-04-08 18:15:40 -05:00
sfc-gh-tclinkenbeard a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
Aaron Molitor 4ff60db82b Revert "Use full version of fdb to support incompatible release candidates"
This reverts commit f379cf4d05.
2022-02-24 11:55:48 -06:00
Leonidas Tsampros f379cf4d05 Use full version of fdb to support incompatible release candidates 2022-02-24 11:03:42 -06:00
Chris Douglas 3793e4e5f0 Remove rundant WORKDIR directive 2021-12-17 11:34:32 -08:00
Chris Douglas fec0fb9e9f Move awscli to base image from YCSB 2021-12-17 11:25:22 -08:00
Aaron Molitor 95d33cb363 copy packaging/docker to PROJECT_BINARY_DIR (undoing part of #5994),
fetch commit_sha from source_code_directory (don't assume we're in the source tree anymore),
allow custom tag (if a parameter is passed in as $1)
update README.md
2021-12-15 15:23:17 -08:00