Skip to content

Commit

Permalink
and more updates upon updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Sep 27, 2024
1 parent 8f234f0 commit 7f79291
Showing 1 changed file with 43 additions and 47 deletions.
90 changes: 43 additions & 47 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -417,92 +417,88 @@ jobs:
curl -sfOL https://github.com/hauler-dev/hauler/releases/download/v${HaulerVersion}/hauler_${HaulerVersion}_windows_amd64.tar.gz
curl -sfOL https://github.com/hauler-dev/hauler/releases/download/v${HaulerVersion}/hauler_${HaulerVersion}_windows_arm64.tar.gz
for file in *.tar.gz; do
folder_name="${file%.tar.gz}"
mkdir -p "$folder_name"
tar -xzf "$file" -C "$folder_name"
rm -f "$file"
folder_name="${file%.tar.gz}"
mkdir -p "$folder_name"
tar -xzf "$file" -C "$folder_name"
rm -f "$file"
done
zip -r hauler-binaries.zip ./*_checksums.txt */
aws s3 cp hauler-binaries.zip s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
tar --zstd -cvf hauler-binaries.tar.zst ./*_checksums.txt */
aws s3 cp --no-progress hauler-binaries.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Hauler
run: |
source ~/.bashrc
aws s3 cp hauler/hauler/hauler-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/hauler && source ~/.bashrc
aws s3 cp --no-progress hauler-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress hauler-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Helm
run: |
source ~/.bashrc
aws s3 cp hauler/helm/helm-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/helm && source ~/.bashrc
aws s3 cp --no-progress helm-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress helm-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Cosign
run: |
cd hauler/cosign && source ~/.bashrc
aws s3 cp cosign-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
aws s3 cp --no-progress cosign-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress cosign-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload RKE2
run: |
cd hauler/rke2 && source ~/.bashrc
aws s3 cp rke2-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
aws s3 cp --no-progress rke2-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress rke2-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Rancher
run: |
source ~/.bashrc
aws s3 cp hauler/rancher/rancher-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/rancher && source ~/.bashrc
aws s3 cp --no-progress rancher-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress rancher-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Rancher Minimal
run: |
source ~/.bashrc
aws s3 cp hauler/rancher/rancher-minimal-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/rancher && source ~/.bashrc
aws s3 cp --no-progress rancher-minimal-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress rancher-minimal-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Longhorn
run: |
source ~/.bashrc
aws s3 cp hauler/longhorn/longhorn-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/longhorn && source ~/.bashrc
aws s3 cp --no-progress longhorn-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress longhorn-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload NeuVector
run: |
source ~/.bashrc
aws s3 cp hauler/neuvector/neuvector-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/neuvector && source ~/.bashrc
aws s3 cp --no-progress neuvector-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress neuvector-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Harvester
run: |
source ~/.bashrc
aws s3 cp hauler/harvester/harvester-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/harvester && source ~/.bashrc
aws s3 cp --no-progress harvester-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress harvester-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Gitea
run: |
source ~/.bashrc
aws s3 cp hauler/gitea/gitea-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/gitea && source ~/.bashrc
aws s3 cp --no-progress gitea-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress gitea-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Kubevip
run: |
source ~/.bashrc
aws s3 cp hauler/kubevip/kubevip-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/kubevip && source ~/.bashrc
aws s3 cp --no-progress kubevip-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress kubevip-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Vault
run: |
source ~/.bashrc
aws s3 cp hauler/vault/vault-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/vault && source ~/.bashrc
aws s3 cp --no-progress vault-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress vault-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/
- name: Upload Private
run: |
source ~/.bashrc
aws s3 cp hauler/carbide/carbide-carbide.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 ls s3://carbide/${{ github.ref_name }}
cd hauler/carbide && source ~/.bashrc
aws s3 cp --no-progress carbide-carbide-amd64.tar.zst s3://carbide/${{ github.ref_name }}/
aws s3 cp --no-progress carbide-carbide-arm64.tar.zst s3://carbide/${{ github.ref_name }}/

0 comments on commit 7f79291

Please sign in to comment.