diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a394167..fd2e7ae 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -27,6 +27,14 @@ jobs: pwd && ls -la hauler/hauler pwd && ls -la hauler/scripts/hauler + - name: Build Rancher Airgap Helm + run: | + sh hauler/scripts/helm/hauler-helm.sh + mv /opt/rancher/hauler/helm/helm hauler/helm/helm + mv /opt/rancher/hauler/rancher-airgap-helm.tar.zst hauler/helm/rancher-airgap-helm.tar.zst + pwd && ls -la hauler/helm + pwd && ls -la hauler/scripts/helm + - name: Build Rancher Airgap RKE2 run: | sh hauler/scripts/rke2/hauler-rke2.sh diff --git a/examples/private-registry-fullstack.md b/examples/private-registry-fullstack.md index 4bb12cf..9ef35ee 100644 --- a/examples/private-registry-fullstack.md +++ b/examples/private-registry-fullstack.md @@ -4,7 +4,7 @@ Complete the following commands on the Internet Connected Server. For the initia ```bash ### Set Variables -export vRancherAirgap=0.7.3 +export vRancherAirgap=0.8.0 ### Fetch Individual Hauler TARs mkdir -p /opt/rancher/hauler diff --git a/hauler/hauler/README.md b/hauler/hauler/README.md index 9a5aefd..0456441 100644 --- a/hauler/hauler/README.md +++ b/hauler/hauler/README.md @@ -4,7 +4,7 @@ ### Hauler (by Rancher Government Solutions) -[hauler/hauler/hauler](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/hauler/hauler) - provides the binary for Hauler. +[hauler/hauler/hauler](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/hauler/hauler) - provides the binary for Hauler. **Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets. diff --git a/hauler/helm/README.md b/hauler/helm/README.md new file mode 100644 index 0000000..0071cc3 --- /dev/null +++ b/hauler/helm/README.md @@ -0,0 +1,13 @@ +# Helm + +## Collection and Packaging + +### Helm (by Cloud Native Computing Foundation) + +[hauler/helm/helm](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/helm/helm) - provides the binary for Helm. + +**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets. + +## Across the Airgap + +## Loading and Distribution \ No newline at end of file diff --git a/hauler/longhorn/README.md b/hauler/longhorn/README.md index 80e763e..34876ba 100644 --- a/hauler/longhorn/README.md +++ b/hauler/longhorn/README.md @@ -4,9 +4,9 @@ ### Rancher Longhorn v1.5.1 -[hauler/longhorn/rancher-airgap-longhorn.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/longhorn/rancher-airgap-longhorn.yaml) - provides the content manifest for the assets. +[hauler/longhorn/rancher-airgap-longhorn.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/longhorn/rancher-airgap-longhorn.yaml) - provides the content manifest for the assets. -[hauler/longhorn/rancher-airgap-longhorn.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/longhorn/rancher-airgap-longhorn.tar.zst) - provides the compressed content and assets, via the manifest. +[hauler/longhorn/rancher-airgap-longhorn.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/longhorn/rancher-airgap-longhorn.tar.zst) - provides the compressed content and assets, via the manifest. **Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets. diff --git a/hauler/neuvector/README.md b/hauler/neuvector/README.md index 591ad9b..fa43dcb 100644 --- a/hauler/neuvector/README.md +++ b/hauler/neuvector/README.md @@ -4,9 +4,9 @@ ### Rancher NeuVector v5.2.0 -[hauler/neuvector/rancher-airgap-neuvector.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/neuvector/rancher-airgap-neuvector.yaml) - provides the content manifest for the assets. +[hauler/neuvector/rancher-airgap-neuvector.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/neuvector/rancher-airgap-neuvector.yaml) - provides the content manifest for the assets. -[hauler/neuvector/rancher-airgap-neuvector.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/neuvector/rancher-airgap-neuvector.tar.zst) - provides the compressed content and assets, via the manifest. +[hauler/neuvector/rancher-airgap-neuvector.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/neuvector/rancher-airgap-neuvector.tar.zst) - provides the compressed content and assets, via the manifest. **Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets. diff --git a/hauler/rancher/README.md b/hauler/rancher/README.md index de04ca0..9913f92 100644 --- a/hauler/rancher/README.md +++ b/hauler/rancher/README.md @@ -6,9 +6,9 @@ **Cert-Manager v1.7.1:** Included in the Rancher Multi-Cluster Manager content and assets. -[hauler/rancher/rancher-airgap-rancher.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rancher/rancher-airgap-rancher.yaml) - provides the content manifest for the assets. +[hauler/rancher/rancher-airgap-rancher.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rancher/rancher-airgap-rancher.yaml) - provides the content manifest for the assets. -[hauler/rancher/rancher-airgap-rancher.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rancher/rancher-airgap-rancher.tar.zst) - provides the compressed content and assets, via the manifest. +[hauler/rancher/rancher-airgap-rancher.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rancher/rancher-airgap-rancher.tar.zst) - provides the compressed content and assets, via the manifest. **Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets. diff --git a/hauler/rke2/README.md b/hauler/rke2/README.md index c79e054..745961f 100644 --- a/hauler/rke2/README.md +++ b/hauler/rke2/README.md @@ -4,9 +4,9 @@ ### Rancher RKE2 v1.25.12 -[hauler/rke2/rancher-airgap-rke2.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rke2/rancher-airgap-rke2.yaml) - provides the content manifest for the assets. +[hauler/rke2/rancher-airgap-rke2.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rke2/rancher-airgap-rke2.yaml) - provides the content manifest for the assets. -[hauler/rke2/rancher-airgap-rke2.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rke2/rancher-airgap-rke2.tar.zst) - provides the compressed content and assets, via the manifest. +[hauler/rke2/rancher-airgap-rke2.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rke2/rancher-airgap-rke2.tar.zst) - provides the compressed content and assets, via the manifest. **Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets. diff --git a/hauler/scripts/helm/hauler-helm.sh b/hauler/scripts/helm/hauler-helm.sh new file mode 100644 index 0000000..1b2ad63 --- /dev/null +++ b/hauler/scripts/helm/hauler-helm.sh @@ -0,0 +1,15 @@ +### Set Variables +export vHelm=3.12.0 + +### Setup Working Directory +rm -rf /opt/rancher/hauler/helm +mkdir -p /opt/rancher/hauler/helm +cd /opt/rancher/hauler/helm + +### Install Helm +### https://github.com/helm/helm/ +curl -#OL https://get.helm.sh/helm-v${vHelm}-linux-amd64.tar.gz +tar -xf helm-v${vHelm}-linux-amd64.tar.gz && mv linux-amd64/* . && rm -rf linux-amd64 + +### Compress Helm +tar -czvf /opt/rancher/hauler/rancher-airgap-helm.tar.zst . \ No newline at end of file