summaryrefslogtreecommitdiffstats
path: root/make-dist (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make-dist: Quiet submodule operations in JenkinsZack Cerza2024-11-081-1/+2
| | | | Signed-off-by: Zack Cerza <zack@redhat.com>
* make-dist: replace all '-' for '.' for rpm releaseJoao Eduardo Luis2024-07-211-1/+1
| | | | | | | | Otherwise, a version like 'vX.Y.Z-foo-bar-baz' would end up as an rpm release of 'foo.bar-baz' in the spec file, and rpm will not like that very much because of that extra '-'. Signed-off-by: Joao Eduardo Luis <joao@clyso.com>
* Merge pull request #57581 from adamemerson/wip-boost-1.85Casey Bodley2024-06-271-2/+2
|\ | | | | | | | | | | build: Bump boost version to 1.85 Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
| * build: Bump Boost to 1.85Adam Emerson2024-05-231-2/+2
| | | | | | | | Signed-off-by: Adam Emerson <aemerson@redhat.com>
* | mgr/dashboard: update node js versionIvo Almeida2024-05-291-1/+1
|/ | | | | | Fixes: https://tracker.ceph.com/issues/66249 Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
* Merge pull request #55985 from Svelar/make-distLaura Flores2024-05-161-1/+1
|\ | | | | make-dist: remove old cruft recursively
| * make-dist: remove old cruft recursivelyRongqi Sun2024-03-061-1/+1
| | | | | | | | Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
* | Merge pull request #52617 from TomNewChao/mainNizamudeen A2024-03-201-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | mgr/dashboard/frontend:Ceph dashboard supports multiple languages Reviewed-by: Svelar <NOT@FOUND> Reviewed-by: Aashish Sharma <aasharma@redhat.com> Reviewed-by: Ankush Behl <cloudbehl@gmail.com> Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
| * fix review about mgr/dashboard/frontend:Ceph dashboard supports multiple ↵TomNewChao2024-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | languages 1.Set the default value of DASHBOARD_FRONTEND_LANGS to 'ALL'. 2.Fix bug about receive the `"ALL"` or `'ALL'`from process.env.DASHBOARD_FRONTEND_LANGS that is not equal 'ALL' in cd.js. 3.When we use the make-dist script to build the front-end UI to release the ceph, we should add DASHBOARD_FRONTEND_LANGS="ALL" to support multiple languages. Signed-off-by: TomNewChao <chaotomzhu@gmail.com>
* | cmake: bump liburing from 0.7 to 2.5Kefu Chai2024-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | this allows us to use newer liburing features. Seastar is using some of them which are not provided by liburing 0.7. in this change, `--use-libc` is passed to configure. otherwise it does not link against libc, and the symbles like memset() won't be available when compiling liburing.so with -fPIC using clang, which does not pull libc in that case. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | make-dist: replace boostorg.jfrog.io mirror with archives.boost.ioCasey Bodley2024-01-081-1/+1
| | | | | | | | | | | | | | change the jfrog mirror to the same one used by win32_deps_build.sh after 594d1e5e83e3d4c318ab1dd79660670a0852f7e6 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | make-dist: prefer download.ceph.com mirror for boost sourcesCasey Bodley2024-01-081-2/+2
| | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | make-dist: don't use --continue option for wgetCasey Bodley2024-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the boost jfrog mirror is broken and returns an HTML error page instead of the archive. the file size of this page is 11534 bytes when download_from() retries the download from download.ceph.com, the -c option tells it to resume the download of the existing file. the resulting boost_1_82_0.tar.bz2 ends up with the correct total file size of 121325129 bytes, but the first 11534 bytes still correspond to the HTML from jfrog. that causes the sha256sum mismatch remove the -c option so that wget fetches the archive in its entirety Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | cmake: add --progress flag to git submodule update commandsRishabh Dave2023-10-311-1/+1
| | | | | | | | | | | | | | | | | | Ceph has lots of submodules that needs to be cloned before building binaries from the repository. Seeing the progress when these submodules are being cloned is useful, especially when developers/users have a network issue or a slow network. Signed-off-by: Rishabh Dave <ridave@redhat.com>
* | mgr/dashboard: update nodejs to 18.17.0Nizamudeen A2023-09-221-1/+1
|/ | | | | | | | | | | | | | the latest npm doesn't support setting python as a config like `npm config set python3` instead it needs to be either set in the node-gyp explicitly using the node-gyp command or through an environment variable. Since we are calling the node-gyp through npm, we need to set the environment variable which is documented here: https://github.com/nodejs/node-gyp?tab=readme-ov-file#configuring-python-dependency Accordingly the CMakeLists.txt for dashboard is adapted Fixes: https://tracker.ceph.com/issues/62844 Signed-off-by: Nizamudeen A <nia@redhat.com>
* deps: increase the node version to 16Nizamudeen A2023-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | With node 14, the angular 13 is going into some issues with node-gyp. ``` prebuild-install || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=14.20.0 runtime=node arch=x64 libc= platform=linux) make: Entering directory '/home/jenkins-build/build/workspace/ceph-dashboard-cephadm-e2e/src/pybind/mgr/dashboard/frontend/node_modules/tree-sitter/build' CC(target) Release/obj.target/tree_sitter/vendor/tree-sitter/lib/src/lib.o AR(target) Release/obj.target/tree_sitter.a COPY Release/tree_sitter.a CXX(target) Release/obj.target/tree_sitter_runtime_binding/src/binding.o ``` and in some other environments its like `cb() never called` and stops the whole `npm ci` process. After some research, looks like updating node is the way to stop this. Also, ` npm 7 will block installations if an upstream dependency conflict is present that cannot be automatically resolved.` https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies Fixes: https://tracker.ceph.com/issues/62107 Signed-off-by: Nizamudeen A <nia@redhat.com>
* build: Bump boost to 1.82Adam C. Emerson2023-07-051-2/+2
| | | | | | Needed to fix coroutine detection under Clang Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* make-dist: don't set Release tag in ceph.spec for SUSE distrosNathan Cutler2022-10-251-0/+13
| | | | | | | | | | | | SUSE's Open Build Service overwrites the Release tag with checkin and build counters, so we can't use it to record the number of commits since the last tag, and the last commit hash. This commit appends that extra information to the Version tag instead for SUSE builds. Fixes: https://tracker.ceph.com/issues/57893 Signed-off-by: Tim Serong <tserong@suse.com> Signed-off-by: Nathan Cutler <ncutler@suse.com>
* cmake: bump node version to 14Nizamudeen A2022-10-191-1/+1
| | | | | | | | | to update the angular to 13, we need a node version of either 12.20.x or 14.15.x or 16.10.x. But inorder to not break the angular 12 run for now we need to choose the node which works for both 12 and 13. which is 14.15.x. So I went with that node version here. Signed-off-by: Nizamudeen A <nia@redhat.com>
* build: Bump Boost version to 1.79Adam C. Emerson2022-07-221-5/+4
| | | | | | Also remove bind_allocator, as Boost.Asio now provides this function. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* cmake: s/--prod/--configuration=production/Kefu Chai2022-05-041-3/+3
| | | | | | | | to silence the warning from Angular 12.0 and up, which complains like: Option "--prod" is deprecated: Use "--configuration production" instead Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* cmake: Replace boost download urlRafał Wądołowski2021-05-071-1/+1
| | | | | | | Boost has moved downloads to JFrog Artifactory https://www.boost.org/users/news/boost_has_moved_downloads_to_jfr.html Signed-off-by: Rafał Wądołowski <rwadolowski@cloudferro.com>
* cmake: bump to PMDK v1.10Yingxin Cheng2021-04-281-2/+2
| | | | | Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com> Signed-off-by: Yin Congmin <congmin.yin@intel.com>
* Merge pull request #40866 from hualongfeng/pmdk_in_distKefu Chai2021-04-151-0/+21
|\ | | | | | | | | make-dist: add pmdk to dist tarball Reviewed-by: Kefu Chai <kchai@redhat.com>
| * make-dist: add pmdk to dist tarballFeng Hualong2021-04-151-0/+21
| | | | | | | | Signed-off-by: Feng Hualong <hualong.feng@intel.com>
* | Merge pull request #40614 from smithfarm/wip-39556Kefu Chai2021-04-141-1/+15
|\ \ | |/ |/| | | | | | | make-dist: refuse to run if script path contains a colon Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
| * make-dist: refuse to run if script path contains a colonNathan Cutler2021-04-121-1/+15
| | | | | | | | | | | | | | | | Colons are not permissible in POSIX paths and their presence is known to break the script. Fixes: https://tracker.ceph.com/issues/39556 Signed-off-by: Nathan Cutler <ncutler@suse.com>
* | Merge pull request #40487 from tchaikov/wip-boost-1.75Kefu Chai2021-04-071-2/+2
|\ \ | | | | | | | | | | | | install-deps.sh: install boost 1.75 Reviewed-by: Josh Durgin <jdurgin@redhat.com>
| * | cmake,install-deps,make-dist: use boost 1.75Kefu Chai2021-04-051-2/+2
| |/ | | | | | | | | | | so we can use the latest boost Signed-off-by: Kefu Chai <kchai@redhat.com>
* / mgr/dashboard: debug nodeenv hangsErnesto Puerta2021-04-061-1/+1
|/ | | | | | | Increase verbosity in nodeenv command for debugging purposes. Fixes: https://tracker.ceph.com/issues/50044 Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
* make-dist: use a loop to collect the ingredients of the dist tarballKefu Chai2020-11-091-8/+9
| | | | | | for better readability Signed-off-by: Kefu Chai <kchai@redhat.com>
* make-dist: add liburing to dist tarballKefu Chai2020-11-091-1/+23
| | | | | | | since liburing is enabled by default, let's included it in the dist tarball. Signed-off-by: Kefu Chai <kchai@redhat.com>
* make-dist: extract download_from() outKefu Chai2020-11-091-11/+19
| | | | | | so we can reuse it Signed-off-by: Kefu Chai <kchai@redhat.com>
* make-dist: Don't prompt while running 'npm ci'Brad Hubbard2020-10-271-1/+1
| | | | | | | Prompting for input while in the background results in SIGTTOU being sent and npm hanging forever. Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
* mgr/dashboard: build with NodeJS 12.18.2Ken Dreyer2020-09-291-1/+1
| | | | | | | | | Update the version of NodeJS that we use to build the dashboard. RHEL 8 and CentOS 8 ship NodeJS 12.18.2, so I've picked this version to make it easier to build outside of nodeenv. Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
* alpine: remove stale Alpine build recipeKefu Chai2020-08-181-2/+2
| | | | | | | | | | alpine build recipe is stale and does not work with the latest Ceph, also the APKBUILD for Ceph can be found at alphine's aports repo, see https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/ceph. so instead keeping a stale version, let's drop it. Signed-off-by: Kefu Chai <kchai@redhat.com>
* make-dist: redistribute boost 1.73Kefu Chai2020-06-261-2/+2
| | | | | Fixes: https://tracker.ceph.com/issues/46208 Signed-off-by: Kefu Chai <kchai@redhat.com>
* mgr/dashboard: Add dashboard node scriptTiago Melo2020-05-131-22/+3
| | | | | | | | | | | | | | | | | | | | | This file should be used to agregate all external scripts we need. Multiple flags can be used in the same call. Available flags: --env: Generates angular environment files. --pre: Modifies 'angular.json' to enable the build of custom locales using angular --localize. Languages can be defined using the environment variable LANGS, if no value is provided all languages will be build. Default language is always build, even if not provided. p.e.: 'LANGS="pt" node cd --pre', will build EN and PT. For backward compatibility we accept both long and short version of languages, p.e.: 'pt' and 'pt-BR' --post: Restores 'angular.json' to its original. Signed-off-by: Tiago Melo <tmelo@suse.com>
* mgr/dashboard: Update Node.js to latest LTS: v12.16.2Tiago Melo2020-05-131-2/+2
| | | | Signed-off-by: Tiago Melo <tmelo@suse.com>
* cmake: Integrate Rook client generationSebastian Wagner2020-02-131-0/+7
| | | | Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
* make-dist: Bump Node.js to v10.18.1Tiago Melo2020-02-051-1/+1
| | | | | | | | This will fix an error caused by the usage of the latest version of Angular CLI and Node.js v10.16.0. Fixes: https://tracker.ceph.com/issues/43961 Signed-off-by: Tiago Melo <tmelo@suse.com>
* make-dist: drop Python 2/3 autoselectNathan Cutler2019-12-271-15/+1
| | | | | | virtualenv will prefer Python 3 over Python 2 if both are available. Signed-off-by: Nathan Cutler <ncutler@suse.com>
* make-dist: package boost v1.72 instead of v1.67Kefu Chai2019-12-231-2/+2
| | | | | | to be consistent with the version used by "make check" Signed-off-by: Kefu Chai <kchai@redhat.com>
* build/ops: make-dist: default to no dashboard frontend build parallelismNathan Cutler2019-12-051-1/+3
| | | | | | | Work around a race condition in the dashboard frontend parallel build code. References: https://tracker.ceph.com/issues/43152 Signed-off-by: Nathan Cutler <ncutler@suse.com>
* make-dist: build dashboard frontend for each languageRicardo Dias2019-10-101-1/+24
| | | | Signed-off-by: Ricardo Dias <rdias@suse.com>
* mgr/dashboard: update npm packages (#28343)Lenz Grimmer2019-08-051-2/+2
|\ | | | | | | | | | | | | | | mgr/dashboard: update npm packages Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Laura Paduano <lpaduano@suse.com> Reviewed-by: Ricardo Marques <rimarques@suse.com> Reviewed-by: Volker Theile <vtheile@suse.com>
| * mgr/dashboard: Update all npm packagesTiago Melo2019-08-021-2/+2
| | | | | | | | | | | | | | | | | | This includes a major upgrade of angular from v7 to v8. Using NG_CLI_ANALYTICS to disable angular cli to query about allowing analytics. Fixes: https://tracker.ceph.com/issues/41059 Signed-off-by: Tiago Melo <tmelo@suse.com>
* | cmake: require CMake v3.10.2Kefu Chai2019-08-021-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | since we dropped the support of xenial, we now have the luxury of using newer CMake! and by using CMake 3.10.2, we can prevent libfmt from assuming that we are using C++11, and hence set `CMAKE_CXX_STANDARD` to 11, which will literally append `-std=gnu++11` to `CMAKE_CXX_FLAGS`. the last `-std` option passed to `g++` takes precendence. since we've switched over to C++17, and we are using C++17 features. so, using cmake older than 3.8 breaks the build. because it is CMake 3.8 which stared support `CMAKE_CXX_STANDARD` 17. - for bionic: https://packages.ubuntu.com/bionic/cmake : 3.10.2 - for CentOS7: https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/c/ : 3.13.5 so in this change, * bump up the required version to v3.10.2 * cleanups to wipe out the workaround for lower CMake versions * use `PROJECT_VERSION` defined by `project()` command instead of `VERSION` explicitly defined. Signed-off-by: Kefu Chai <kchai@redhat.com>
* build/ops: run "npm ci" with a one-hour timeoutNathan Cutler2019-07-111-1/+1
| | | | | Fixes: https://tracker.ceph.com/issues/40645 Signed-off-by: Nathan Cutler <ncutler@suse.com>
* make-dist: set version number only onceNathan Cutler2019-05-081-17/+11
| | | | | | | | | | | | | | | | Before this commit, "git describe" was being run *twice* - once at the beginning to initialize the version variable, and another time further down to populate the .git_version file. Refactor so the command is run only once, and include the --long option to eliminate the undesirable behavior of producing just the tag when HEAD points to a tag. Also, since .git_version is now populated without the leading "v", the cmake code for stripping off that leading "v" is no longer needed. Signed-off-by: Nathan Cutler <ncutler@suse.com>