Commit Graph

14 Commits

Author SHA1 Message Date
Tony Aiuto 2b15badc46 bump platforms to latest. The hope is that this fixes what is going wrong in the integration test 2024-04-15 22:54:25 -04:00
Yun Peng e97d155ebe
Don't load cc toolchain from rules_cc (#779)
* Don't load cc toolchain from rules_cc

The cc toolchain autoconfig is out of sync from Bazel and doesn't work with VS2022.

Related: https://github.com/bazelbuild/continuous-integration/pull/1770
* Fixes centos7
2023-11-07 11:28:30 -05:00
Alex Eagle eb46104bc5
chore: buildifier format all files (#775) 2023-11-06 13:29:07 -05:00
aiuto 2b391f233c
Use rules_cc to try to clean up CI runs which are failing on gcc (#764)
* try useing rules_cc to clean up CI runs which are failing on gcc"

* use their toolchains

* add rules_cc so the tests run

* do not do distro tests on rolling macos

* only tests tests/... for rolling_macos
2023-10-24 18:11:32 -04:00
Tony Aiuto a9a7689775 bump platforms because bazel at head requires it. sigh 2023-08-09 15:54:01 -04:00
aiuto 0cac0ab710
Create basic bzlmod setup for rules_pkg. (#625)
* Create basic bzlmod setup for rules_pkg.

- Shows it working for one example
- Has only runtime deps
- rpm and git toolchains not done yet
- Still not sure how to get the external repo test working
- Make platforms and stardoc dependency deps.
2022-10-20 10:46:25 -04:00
aiuto ea8c75a15c
Support for setting executable bits. (#576)
* Support for setting executable bits.

- mostly fix #96 by finding executables and setting mode==755 on them

This new feature can not detect all executables. Bazel does not have the right
capability to make that easy. This seems to get most binaries, except shell.
You will have to wrap those in pkg_files to set the mode bits.
2022-05-10 13:40:30 -04:00
aiuto 5602b1e788
turn off verbose loading of our private toolchains (#544) 2022-03-16 09:56:04 -04:00
aiuto 7f55dcc759
move the rpmbuild toolchain definition to //toolchains/rpm. (#514)
* move the rpmbuild toolchain to toolchains/rpm
* update CODEOWNERS
2022-02-15 19:55:59 -05:00
aiuto 5a976bc14f
Update stardoc (#495)
* update stardoc and update lastest ref
2022-01-10 21:05:45 -05:00
aiuto 3c520a1bec
Reorganize the source tree (#443)
* Reorganize the source tree

- WORKSPACE moves up one level
  - this makes //:pkg.bzl effectively //pkg:pkg.bzl
  - put forwarders in place at top level to not break anyone
- tests moves up one level
- toolchains moves up one level
- examples/**/BUILD do not change to the new rule locations
  - this is explicitly to provide some proof that the forwarders work
  - new examples should use the proper paths to .bzl files
  - near the 1.x release we can clean the current ones up

Fixes: #111
2021-11-03 22:44:26 -04:00
aiuto 80387a3b5e
Start adding rules to create packages to rules_pkg. (#26)
* Start adding rules to create packages to rules_pkg.

- Add the plan to the README
- Update deb_packages dependencies so it at least builds again.
- Refactor so that deb_packages has its own WORKSPACE

This is a minimal change to allow us to begin moving packaging
rules from Bazel to this repository.
2019-06-05 23:17:19 -04:00
MarkusTeufelberger eeea2dc704 fix #5 (#6)
Wrong value in pgp_key for the debian_stretch_amd64 rule.
2019-06-05 16:10:10 -04:00
Markus Teufelberger 0634eaf3ad add example for using deb_packages rules 2017-12-28 16:59:19 +01:00