Skip to content

Commit

Permalink
Merge remote-tracking branch 'common-upstream/main' into common-autom…
Browse files Browse the repository at this point in the history
…atic-update
  • Loading branch information
mbaldessari committed Sep 13, 2024
2 parents c671bf8 + a2369ed commit 9c1ac94
Show file tree
Hide file tree
Showing 134 changed files with 39 additions and 87,589 deletions.
108 changes: 0 additions & 108 deletions common/.github/workflows/chart-branches.yml

This file was deleted.

42 changes: 0 additions & 42 deletions common/.github/workflows/chart-split.yml

This file was deleted.

57 changes: 0 additions & 57 deletions common/.github/workflows/jsonschema.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions common/Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## Sep 6, 2024

* Most charts have been removed from the tree. To get the charts you now have to point to them

## Sep 25, 2023

* Upgraded ESO to v0.9.5
Expand Down
6 changes: 4 additions & 2 deletions common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ else
HELM_OPTS=-f values-global.yaml --set main.tokenSecret=$(TOKEN_SECRET) --set main.tokenSecretNamespace=$(TOKEN_NAMESPACE) --set main.git.repoURL="$(TARGET_CLEAN_REPO)" --set main.git.revision=$(TARGET_BRANCH) $(TARGET_SITE_OPT) $(UUID_HELM_OPTS) $(EXTRA_HELM_OPTS)
endif

# Helm does the right thing and fetches all the tags and detects the newest one
PATTERN_INSTALL_CHART ?= oci://quay.io/hybridcloudpatterns/pattern-install

##@ Pattern Common Tasks

Expand All @@ -54,7 +56,7 @@ help: ## This help message
# e.g. from industrial-edge: make -f common/Makefile show
.PHONY: show
show: ## show the starting template without installing it
helm template common/operator-install/ --name-template $(NAME) $(HELM_OPTS)
helm template $(PATTERN_INSTALL_CHART) --name-template $(NAME) $(HELM_OPTS)

preview-all: ## (EXPERIMENTAL) Previews all applications on hub and managed clusters
@echo "NOTE: This is just a tentative approximation of rendering all hub and managed clusters templates"
Expand All @@ -69,7 +71,7 @@ operator-deploy operator-upgrade: validate-prereq validate-origin validate-clust
@set -e -o pipefail
# Retry five times because the CRD might not be fully installed yet
for i in {1..5}; do \
helm template --include-crds --name-template $(NAME) common/operator-install/ $(HELM_OPTS) | oc apply -f- && break || sleep 10; \
helm template --include-crds --name-template $(NAME) $(PATTERN_INSTALL_CHART) $(HELM_OPTS) | oc apply -f- && break || sleep 10; \
done

.PHONY: uninstall
Expand Down
9 changes: 8 additions & 1 deletion common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Note

This is the `main` branch of common and it assumes that the pattern is fully
multisource (meaning that any used charts from VP is actually referenced from
either a helm chart repository or quay repository). I.e. there are no helm
charts contained in this branch of common.

## Start Here

This repository is never used as standalone. It is usually imported in each pattern as a subtree.
Expand All @@ -14,7 +21,7 @@ do it manually by doing the following:

```sh
git remote add -f upstream-common https://github.com/validatedpatterns/common.git
git merge -s subtree -Xtheirs -Xsubtree=common upstream-common/ha-vault
git merge -s subtree -Xtheirs -Xsubtree=common upstream-common/main
```

## Secrets
Expand Down
29 changes: 0 additions & 29 deletions common/acm/.github/workflows/update-helm-repo.yml

This file was deleted.

1 change: 0 additions & 1 deletion common/acm/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions common/acm/Chart.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions common/acm/README.md

This file was deleted.

57 changes: 0 additions & 57 deletions common/acm/templates/_helpers.tpl

This file was deleted.

13 changes: 0 additions & 13 deletions common/acm/templates/multiclusterhub.yaml

This file was deleted.

Loading

0 comments on commit 9c1ac94

Please sign in to comment.