Skip to content

Commit

Permalink
switch to oci registry for charts
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Feb 1, 2024
1 parent 853672a commit 1f64534
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion helm/configmap/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
apiVersion: v2
name: configmap

version: 1.0.0
version: 2.0.0+b1

type: application
8 changes: 4 additions & 4 deletions helm/domain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
apiVersion: v2
name: domain

version: 1.0.0
version: 2.0.0+b1

type: application

dependencies:
- name: ioc-instance
version: "1.4.1"
# repository: "oci://ghcr.io/epics-containers"
repository: "file:///scratch/hgv27681/work/ec-helm-charts/Charts/ioc-instance"
version: "2.0.0+b1"
repository: "oci://ghcr.io/epics-containers"
#repository: "file:///scratch/hgv27681/work/ec-helm-charts/Charts/ioc-instance"
4 changes: 2 additions & 2 deletions include/iocs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ type: application

dependencies:
- name: configmap
version: "1.0.0"
version: "2.0.0+b1"
repository: file://../../helm/configmap
- name: domain
version: "1.0.0"
version: "2.0.0+b1"
repository: file://../../helm/domain
2 changes: 1 addition & 1 deletion services/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ There are a number of helm charts that all domains will likely require. At prese

- **epics-opis**: installs the web server that shares the engineering screens published by each IOC. The structure is two deep only: IOC names as folders at the root containing all the IOCs OPI files in a flat list.

Deploy these charts to the beamline cluster using by setting up your cluster and namespace connection using environment.sh and then executing the following commands (requires that edge-containers-cli is installed):
Deploy these charts to the domain cluster using by setting up your cluster and namespace connection using environment.sh and then executing the following commands (requires that edge-containers-cli is installed):

```bash
ec list # lists the latest versions of all services
Expand Down
3 changes: 2 additions & 1 deletion services/epics-opis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ type: application

dependencies:
- name: epics-opis
version: "1.4.0"
version: "2.0.0+b1"
#repository: "file:///scratch/hgv27681/work/ec-helm-charts/Charts/epics-opis"
repository: "oci://ghcr.io/epics-containers"
2 changes: 1 addition & 1 deletion services/epics-opis/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
epics-opis:
domain:bl47p
domain: bl47p

# this is a shared cluster beamline so use affinity to make this run on the
# the beamline node (p47 only has one node)
Expand Down
3 changes: 2 additions & 1 deletion services/epics-pvcs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ type: application

dependencies:
- name: epics-pvcs
version: "1.4.0"
version: "2.0.0+b1"
# repository: "file:///scratch/hgv27681/work/ec-helm-charts/Charts/epics-pvcs"
repository: "oci://ghcr.io/epics-containers"
3 changes: 2 additions & 1 deletion services/epics-pvcs/values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
epics-pvcs: domain:l47p
epics-pvcs:
domain: bl47p
4 changes: 3 additions & 1 deletion update-helm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ done
# rebuild dependencies (depth first)
for i in helm/* services/*; do
if [ -f $i/Chart.yaml ]; then
helm dependency build $i
echo "Updating helm dependencies for $i"
# filter out the noisy "found symbolic link" messages
helm dependency build $i |& sed "/found symbolic/d"
fi
done

0 comments on commit 1f64534

Please sign in to comment.