Skip to content

Commit

Permalink
added additional private configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Nov 4, 2024
1 parent 3de6a23 commit ef0c6f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -423,12 +423,16 @@ jobs:
sed -i "s/rgcrprod.azurecr.us/registry.ranchercarbide.dev/g" carbide-images.yaml
echo -e "apiVersion: content.hauler.cattle.io/v1alpha1\nkind: Images\nmetadata:\n name: carbide-dependency-images\nspec:\n images:\n$(curl -sfL https://raw.githubusercontent.com/rancherfederal/carbide-releases/main/carbide-images.txt | sed '/rgcr/d' | sed 's/^/ - name: /')" > carbide-dependency-images.yaml
echo -e "apiVersion: content.hauler.cattle.io/v1alpha1\nkind: Charts\nmetadata:\n name: carbide-charts\nspec:\n charts:\n - name: rancher\n repoURL: https://rancherfederal.github.io/carbide-charts\n version: 2.9.2\n - name: airgapped-docs\n repoURL: https://rancherfederal.github.io/carbide-charts\n version: 0.1.52\n - name: stigatron\n repoURL: https://rancherfederal.github.io/carbide-charts\n version: 0.3.0\n - name: stigatron-ui\n repoURL: https://rancherfederal.github.io/carbide-charts\n version: 0.3.0\n---\napiVersion: content.hauler.cattle.io/v1alpha1\nkind: Charts\nmetadata:\n name: carbide-dependency-charts\nspec:\n charts:\n - name: heimdall2\n repoURL: https://rancherfederal.github.io/carbide-charts\n version: 0.1.45\n - name: nats\n repoURL: https://nats-io.github.io/k8s/helm/charts\n version: 1.1.5" > carbide-charts.yaml
echo -e "apiVersion: content.hauler.cattle.io/v1alpha1\nkind: Images\nmetadata:\n name: carbide-provisioning-images\n annotations:\n hauler.dev/key: /tmp/carbide-key.pub\n # hauler.dev/platform: linux/amd64 # only fetch specific platform/architecture\nspec:\n images:\n - name: rgcrprod.azurecr.us/rancher/machine:v0.15.0-rancher118-carbide-1\n - name: rgcrprod.azurecr.us/rancher/rancher:v2.9.3-carbide-1\n - name: rgcrprod.azurecr.us/rancher/rancher-agent:v2.9.3-carbide-1\n - name: rgcrprod.azurecr.us/carbide/carbide-docs:0.1.7-carbide-1\n---\napiVersion: content.hauler.cattle.io/v1alpha1\nkind: Charts\nmetadata:\n name: carbide-provisioning-charts\nspec:\n charts:\n - name: rancher\n repoURL: https://rancherfederal.github.io/carbide-charts\n version: 2.9.3" > carbide-provisioning.yaml
sed -i "s/rgcrprod.azurecr.us/registry.ranchercarbide.dev/g" carbide-provisioning.yaml
time hauler store sync --store amd64 --key ../../carbide-key.pub --platform linux/amd64 --files carbide-images.yaml
time hauler store sync --store arm64 --key ../../carbide-key.pub --platform linux/arm64 --files carbide-images.yaml
time hauler store sync --store amd64 --platform linux/amd64 --files carbide-dependency-images.yaml
time hauler store sync --store arm64 --platform linux/arm64 --files carbide-dependency-images.yaml
time hauler store sync --store amd64 --platform linux/amd64 --files carbide-charts.yaml
time hauler store sync --store arm64 --platform linux/arm64 --files carbide-charts.yaml
time hauler store sync --store amd64 --platform linux/amd64 --files carbide-provisioning.yaml
time hauler store sync --store arm64 --platform linux/arm64 --files carbide-provisioning.yaml
time hauler store save --store amd64 --platform linux/amd64 --filename carbide-carbide-amd64.tar.zst
time hauler store save --store arm64 --platform linux/arm64 --filename carbide-carbide-arm64.tar.zst
hauler store info --store amd64
Expand Down

0 comments on commit ef0c6f2

Please sign in to comment.