Cloud-native build system and release tools tailored to building, releasing, and maintaining Enterprise Linux distributions and forks
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
resf-prow[bot] 65ba92ea9c
Merge pull request #110 from xenserver-next/setup_external_dev_services.postgres
hack/setup_external_dev_services: Improve postgresql installation
1 week ago
.github/ISSUE_TEMPLATE add issue templates 9 months ago
.ijwb Default copyright profile 5 months ago
.yarn/releases Lock yarn version to classic because build does not support yarn modern 2 months ago
apollo Re-add apollo proto and UI (UI served from errata.rocky is still managed from this repo) 1 month ago
bases Fine tune manual targets 5 months ago
build/bazel Initial commit 9 months ago
ci Yumrepofsupdater now supports updateinfo.xml, and delete works better. Heartbeats should no longer cause memory leaks 1 month ago
common Initial Helm support 5 months ago
config Block PRs with merge commits 5 months ago
docs docs: Pretty up the yumrepofs doc, pending further expansion 9 months ago
dotui Initial commit 9 months ago
google Initial commit 9 months ago
hack hack/setup_external_dev_services: Improve postgresql installation 2 weeks ago
hydra Support simple filter for Build API 1 month ago
infrastructure Rename all to rules_resf and resf_frontend 5 months ago
initdb Rename all to rules_resf and resf_frontend 5 months ago
koji Initial commit 9 months ago
modulemd Support modulemd v3 and module sync 5 months ago
nofussvendor Initial commit 9 months ago
obsidian Obsidian: Explain callbackForwarder 5 months ago
patches Initial commit 9 months ago
peridot Issues: peridot #100 -- empty migration files 1 month ago
platforms Initial Helm support 5 months ago
proto Initial commit 9 months ago
protoc-gen-openapiv2 Initial commit 9 months ago
rules_raw_ts_library Initial commit 9 months ago
rules_resf Add favicon to page template 1 month ago
servicecatalog Rename all to rules_resf and resf_frontend 5 months ago
spicedb Re-add apollo proto and UI (UI served from errata.rocky is still managed from this repo) 1 month ago
tailwind Initial commit 9 months ago
temporalutils Rename all to rules_resf and resf_frontend 5 months ago
third_party Initial commit 9 months ago
tools Support changing local domain 5 months ago
utils Multiple changes related to build, modules and cloning 4 months ago
validate Initial commit 9 months ago
vendor govendor 1 month ago
views Initial commit 9 months ago
wrksp Initial commit 9 months ago
.bazelignore Initial commit 9 months ago
.bazelrc Remove repo downloader for now 5 months ago
.bazelversion Initial commit 9 months ago
.editorconfig Initial commit 9 months ago
.envrc Add support for .envrc.local 5 months ago
.envrc.prod.extarches Initial commit 9 months ago
.envrc.prod.mustafarocky Sync-01 - 10/30/2022 5 months ago
.envrc.prod.quaymirror Initial commit 9 months ago
.envrc.prod.resf Initial commit 9 months ago
.gitignore allow peridot project to specify a build pool type in additional to build pool architecture 1 month ago
.gitlab-ci.yml Initial commit 9 months ago
.prettierrc Initial commit 9 months ago
.yarnrc.yml Lock yarn version to classic because build does not support yarn modern 2 months ago
BUILD.bazel Downgrade gazelle again and switch to bazel-diff 5 months ago
CONTRIBUTORS Fix maintainers list 9 months ago
COPYRIGHT Initial commit 9 months ago
LICENSE Initial commit 9 months ago
OWNERS Add owners and prow config 5 months ago
OWNERS_ALIASES Add owners and prow config 5 months ago
README.md README.md: Add information on additional dependencies 2 weeks ago
WORKSPACE Bump go to 1.18.10 1 month ago
go.mod govendor 1 month ago
go.sum Multiple changes related to build, modules and cloning 4 months ago
nogo.json Initial commit 9 months ago
package.json Yumrepofsupdater now supports updateinfo.xml, and delete works better. Heartbeats should no longer cause memory leaks 1 month ago
peridot.code-workspace Initial commit 9 months ago
tsconfig.json Add Cancel button to running tasks 5 months ago
yarn.lock Bump http-cache-semantics from 4.1.0 to 4.1.1 1 month ago

README.md

Peridot

Named after the Gemstone, Peridot (pronounced - PERR-ih-dot) is a cloud-native build and release tool used for building, releasing and maintaining Linux distributions and forks.

Structure

Other components pending

  • publisher - Composer for Peridot (currently only includes legacy mode)
  • peridot - Modern build system
  • apollo - Errata mirroring and publishing platform
  • utils - Common utilities
  • modulemd - Modulemd parser in Go

Development

Before the setup install jq, golang, make, bazelisk, docker, helm, and kubectl:

On Linux, jq, golang, make and docker can be installed using the package manager.

Links for installing the other software:

A local Kubernetes cluster is also required. Docker Desktop is a good solution.

Configure kubectl to manage the local Kubernetes cluster by placing the KubeConfig yaml into $HOME/.kube/config and do chmod 600 $HOME/.kube/config

Then download istio into a local directory: https://istio.io/latest/docs/setup/getting-started/

Initial setup (will soon be replaced by one command dev cluster)

# In the directory where you downloaded istio
bin/istioctl install --set profile=default --set hub=docker.io/querycapistio --set tag=1.12.1 -y
# On aarch64 (ex. M1 Mac) only and add arm64 to list of preferred schedule archs
# Run this while install is running
kubectl -n istio-system edit deployment istio-ingressgateway
sudo hack/deploy_dev_registry
hack/setup_external_dev_services
# Run `kubectl get svc` and add the port of postgres-postgresql to your rc file
# Example:
# postgres-postgresql          NodePort    10.102.68.75     <none>        5432:32442/TCP                  3m32s
# export POSTGRES_PORT="32442"
hack/setup_k8s_dev_env
git clone https://github.com/temporalio/temporal /tmp/temporal && pushd /tmp/temporal && make temporal-sql-tool && popd && hack/setup_dev_temporal /tmp/temporal
# Sometimes the namespace registration may fail because
# Temporal tools CrashLooped before we could run the migrations.
# Run `kubectl delete pods -l "app.kubernetes.io/name=temporal"` and then re-run
# `kubectl exec -it services/temporal-admintools -- tctl --namespace default namespace re`
hack/setup_base_internal_services
# For the cert, mkcert is recommended (mkcert.dev)
# Add default cert using `kubectl -n istio-system create secret tls default-cert --cert=cert.pem --key=cert.key`
# Create the Istio gateway
bazel run //infrastructure/istio-dev

Running ./hack/govendor should create the necessary structure for development

For best experience use IntelliJ+Bazel but govendor creates structure that is compatible with all other Go tools

Auto generate (only) BUILD files for Go

bazel run //:gazelle

Vendor Go dependencies

./hack/govendor

Run UI in development mode

ibazel run //TARGET:TARGET.server - example: ibazel run //apollo/ui:apollo.server

Find UI server targets

bazel query 'attr(tags, "resf_frontend_server", //...)'