Skip to content

Commit

Permalink
🎨 Rebranding
Browse files Browse the repository at this point in the history
See: #88
  • Loading branch information
mudler committed Sep 17, 2022
1 parent 0209822 commit a142823
Show file tree
Hide file tree
Showing 137 changed files with 678 additions and 670 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ assignees: mudler

---

<!-- Thanks for helping us to improve c3os! We welcome all bug reports. Please fill out each area of the template so we can better help you. Comments like this will be hidden when you post but you can delete them if you wish. -->
<!-- Thanks for helping us to improve kairos! We welcome all bug reports. Please fill out each area of the template so we can better help you. Comments like this will be hidden when you post but you can delete them if you wish. -->

**C3OS version:**
**Kairos version:**
<!-- Provide the output from "cat /etc/os-release" -->

**CPU architecture, OS, and Version:**
Expand All @@ -19,7 +19,7 @@ assignees: mudler
<!-- A clear and concise description of what the bug is. -->

**To Reproduce**
<!-- Steps to reproduce the behavior, including the c3os command used, if any -->
<!-- Steps to reproduce the behavior, including the kairos command used, if any -->

**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ assignees: mudler

---

<!-- Thanks for helping us to improve c3os! We welcome all feature requests. Please fill out each area of the template so we can better help you. Comments like this will be hidden when you post but you can delete them if you wish. -->
<!-- Thanks for helping us to improve kairos! We welcome all feature requests. Please fill out each area of the template so we can better help you. Comments like this will be hidden when you post but you can delete them if you wish. -->

**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: 'Question/Support'
about: 'Ask a question about c3os or request support.'
about: 'Ask a question about kairos or request support.'
labels: question, invalid
---

This bug tracker is only for actionable bug reports and feature requests. Please direct any questions to https://github.com/c3os-io/c3os/discussions or to our Matrix (#c3os:matrix.org) or IRC (#c3os on Libera chat) channels.
This bug tracker is only for actionable bug reports and feature requests. Please direct any questions to https://github.com/kairos-io/kairos/discussions or to our Matrix (#kairos-io:matrix.org) or IRC (#kairos on Libera chat) channels.

If you don't get an immediate response, please keep trying.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: 'c3os Release'
about: 'Start a new c3os release.'
name: 'kairos Release'
about: 'Start a new kairos release.'
labels: release
assignees: mudler
---
Expand All @@ -16,12 +16,12 @@ assignees: mudler
## ✅ Release Checklist

- [ ] **Stage 0 - Finishing Touches**
- [ ] Check c3os/packages, and for any needed update
- [ ] Check kairos/packages, and for any needed update
- [ ] Make sure CI tests are passing.
- [ ] **Stage 1 - Infrastructure Testing**
- How: Using the testing version, make sure that manual and k8s upgrades are working from the latest release, and that docs are still aligned
- Where:
- [ ] Two c3os nodes
- [ ] Two kairos nodes
- [ ] Deploy latest release with automatic node setup
- [ ] Upgrade to testing release
- [ ] Analyze
Expand Down
4 changes: 2 additions & 2 deletions .github/bump_repositories.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ last_commit_snapshot() {
echo $(docker run --rm quay.io/skopeo/stable list-tags docker://$1 | jq -rc '.Tags | map(select( (. | contains("-repository.yaml")) )) | sort_by(. | sub("v";"") | sub("-repository.yaml";"") | sub("-";"") | split(".") | map(tonumber) ) | .[-1]' | sed "s/-repository.yaml//g")
}

latest_tag=$(last_commit_snapshot quay.io/c3os/packages)
latest_tag_arm64=$(last_commit_snapshot quay.io/c3os/packages-arm64)
latest_tag=$(last_commit_snapshot quay.io/kairos/packages)
latest_tag_arm64=$(last_commit_snapshot quay.io/kairos/packages-arm64)

for REPOFILE in repositories.yaml.tumbleweed repositories.yaml.rockylinux repositories.yaml.ubuntu repositories.yaml.fedora repositories.yaml
do
Expand Down
2 changes: 1 addition & 1 deletion .github/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
((count = 100))
while [[ $count -ne 0 ]] ; do
echo "Checking if kubeconfig is present"
./c3os get-kubeconfig > kube
./kairos get-kubeconfig > kube
cat kube | grep "http"
rc=$?
if [[ $rc -eq 0 ]] ; then
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/image-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@ jobs:
FLAVOR: ${{ matrix.flavor }}
MODEL: ${{ matrix.model }}
run: |
./earthly.sh +all-arm --IMAGE_NAME=c3os-$FLAVOR-latest.img --IMAGE=quay.io/c3os/core-$FLAVOR:latest --MODEL=$MODEL --FLAVOR=$FLAVOR
./earthly.sh +all-arm --IMAGE_NAME=kairos-$FLAVOR-latest.img --IMAGE=quay.io/kairos/core-$FLAVOR:latest --MODEL=$MODEL --FLAVOR=$FLAVOR
- name: Push 🔧
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
env:
FLAVOR: ${{ matrix.flavor }}
IMAGE: quay.io/c3os/core-$FLAVOR:latest
IMAGE: quay.io/kairos/core-$FLAVOR:latest
MODEL: ${{ matrix.model }}
run: |
export TAG=latest
export IMAGE_NAME=c3os-$FLAVOR-$TAG.img
export IMAGE=quay.io/c3os/core-$FLAVOR:$TAG
docker push quay.io/c3os/core-$FLAVOR:$TAG
export IMAGE_NAME=kairos-$FLAVOR-$TAG.img
export IMAGE=quay.io/kairos/core-$FLAVOR:$TAG
docker push quay.io/kairos/core-$FLAVOR:$TAG
- name: Sign image
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
env:
COSIGN_EXPERIMENTAL: 1
FLAVOR: ${{ matrix.flavor }}
run: |
TAG=latest
cosign sign quay.io/c3os/core-$FLAVOR:$TAG
cosign sign quay.io/kairos/core-$FLAVOR:$TAG
- name: Upload results
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/image-framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
- name: Build 🔧
env:
FLAVOR: ${{ matrix.flavor }}
IMAGE: quay.io/c3os/framework
IMAGE: quay.io/kairos/framework
run: |
./earthly.sh +framework-image --IMG=${IMAGE}:latest --FLAVOR=${FLAVOR} --WITH_KERNEL=false
./earthly.sh +framework-image --IMG=${IMAGE}-generic:latest --FLAVOR=${FLAVOR} --WITH_KERNEL=true
- name: Push to quay
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
env:
COSIGN_EXPERIMENTAL: 1
IMAGE: quay.io/c3os/framework
IMAGE: quay.io/kairos/framework
run: |
docker push ${IMAGE}:latest
docker push ${IMAGE}-generic:latest
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,40 +42,40 @@ jobs:
- name: Build 🔧
env:
FLAVOR: ${{ matrix.flavor }}
IMAGE: quay.io/c3os/core-${{ matrix.flavor }}:latest
IMAGE: quay.io/kairos/core-${{ matrix.flavor }}:latest
run: |
./earthly.sh +all --IMAGE=$IMAGE --FLAVOR=$FLAVOR
sudo mv build/* .
sudo rm -rf build
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.iso.zip
name: kairos-${{ matrix.flavor }}.iso.zip
path: |
*.iso
*.sha256
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.initrd.zip
name: kairos-${{ matrix.flavor }}.initrd.zip
path: |
*-initrd
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.squashfs.zip
name: kairos-${{ matrix.flavor }}.squashfs.zip
path: |
*.squashfs
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.kernel.zip
name: kairos-${{ matrix.flavor }}.kernel.zip
path: |
*-kernel
*-initrd
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.ipxe.zip
name: kairos-${{ matrix.flavor }}.ipxe.zip
path: |
*.ipxe
if-no-files-found: error
Expand All @@ -84,12 +84,12 @@ jobs:
env:
COSIGN_EXPERIMENTAL: 1
run: |
docker push quay.io/c3os/core-${{ matrix.flavor }}:latest
cosign sign quay.io/c3os/core-${{ matrix.flavor }}:latest
docker push quay.io/kairos/core-${{ matrix.flavor }}:latest
cosign sign quay.io/kairos/core-${{ matrix.flavor }}:latest
- name: Push to testing
run: |
docker tag quay.io/c3os/core-${{ matrix.flavor }}:latest ttl.sh/c3os-${{ matrix.flavor }}-${{ github.sha }}:8h
docker push ttl.sh/c3os-${{ matrix.flavor }}-${{ github.sha }}:8h
docker tag quay.io/kairos/core-${{ matrix.flavor }}:latest ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h
docker push ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h
# Test start
build-vm-images:
needs:
Expand All @@ -113,19 +113,19 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.iso.zip
name: kairos-${{ matrix.flavor }}.iso.zip
- run: |
ls -liah
iso=$(ls *.iso)
bash scripts/build_vm.sh $iso
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.qcow2.tar.xz
name: kairos-${{ matrix.flavor }}.qcow2.tar.xz
path: |
*.qcow2.tar.xz
- uses: actions/upload-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.ova
name: kairos-${{ matrix.flavor }}.ova
path: |
*.ova
if-no-files-found: error
Expand All @@ -142,13 +142,13 @@ jobs:
# go-version: '^1.16'
# - name: Prepare config
# run: |
# ./earthly.sh +build-c3os-cli
# ./build/c3os create-config > config.yaml
# ./earthly.sh +build-kairososososos-cli
# ./build/kairos create-config > config.yaml
# cat tests/assets/config.yaml >> config.yaml
# - name: Enable dns
# uses: mikefarah/yq@master
# with:
# cmd: yq -i '.c3os.dns = true' 'config.yaml'
# cmd: yq -i '.kairos.dns = true' 'config.yaml'
# - name: Show config
# run: |
# cat config.yaml
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.iso.zip
name: kairos-${{ matrix.flavor }}.iso.zip
- name: Install deps
run: |
brew install cdrtools jq
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
# A flag to set the download target as latest release
# The default value is 'false'
latest: true
repository: "c3os-io/c3os"
repository: "kairos-io/kairos"
fileName: "*"
out-file-path: "last-release"
- uses: actions/upload-artifact@v2
Expand All @@ -236,12 +236,12 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: c3os-${{ matrix.flavor }}.iso.zip
name: kairos-${{ matrix.flavor }}.iso.zip
- run: |
ls -liah
export ISO=$PWD/$(ls *.iso)
mkdir build
mv $ISO build/c3os.iso
mv $ISO build/kairos.iso
./earthly.sh +datasource-iso --CLOUD_CONFIG=tests/assets/autoinstall.yaml
./earthly.sh +run-qemu-tests --FLAVOR=${{ matrix.flavor }} --FROM_ARTIFACTS=true
Expand Down Expand Up @@ -275,9 +275,9 @@ jobs:
go-version: '^1.16'
- run: |
ls -liah
export ISO=$PWD/$(ls c3os-${{ matrix.flavor }}-*.iso)
export ISO=$PWD/$(ls kairos-${{ matrix.flavor }}-*.iso)
export GOPATH="/Users/runner/go"
export CONTAINER_IMAGE=ttl.sh/c3os-${{ matrix.flavor }}-${{ github.sha }}:8h
export CONTAINER_IMAGE=ttl.sh/kairos-${{ matrix.flavor }}-${{ github.sha }}:8h
export PATH=$PATH:$GOPATH/bin
export CLOUD_INIT=$PWD/tests/assets/config.yaml
export CREATE_VM=true
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:
# - name: Download artifacts
# uses: actions/download-artifact@v2
# with:
# name: c3os-${{ matrix.flavor }}.iso.zip
# name: kairos-${{ matrix.flavor }}.iso.zip
# - name: Download artifacts
# uses: actions/download-artifact@v2
# with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pages-releases.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Github Pages Updates
on:
push:
# tags:
# - '*'
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,7 +15,7 @@ jobs:
cd docs && make build
mv public ../
- name: Deploy 🚀
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
#if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ jobs:
MODEL: ${{ matrix.model }}
run: |
export TAG=${GITHUB_REF##*/}
./earthly.sh +all-arm --IMAGE_NAME=c3os-$FLAVOR-$TAG.img --IMAGE=quay.io/c3os/core-$FLAVOR:$TAG --MODEL=$MODEL --FLAVOR=$FLAVOR
./earthly.sh +all-arm --IMAGE_NAME=kairos-$FLAVOR-$TAG.img --IMAGE=quay.io/kairos/core-$FLAVOR:$TAG --MODEL=$MODEL --FLAVOR=$FLAVOR
- name: Push 🔧
env:
FLAVOR: ${{ matrix.flavor }}
run: |
export TAG=${GITHUB_REF##*/}
docker push quay.io/c3os/core-$FLAVOR:$TAG
docker push quay.io/kairos/core-$FLAVOR:$TAG
- name: Sign image
if: startsWith(github.ref, 'refs/tags/')
env:
COSIGN_EXPERIMENTAL: 1
run: |
TAG=${GITHUB_REF##*/}
cosign sign quay.io/c3os/core-${{ matrix.flavor }}:$TAG
cosign sign quay.io/kairos/core-${{ matrix.flavor }}:$TAG
- name: Export version
run: |
TAG=${GITHUB_REF##*/}
Expand All @@ -73,9 +73,9 @@ jobs:
run: |
curl https://luet.io/install.sh | sudo sh
sudo tar cvf build.tar build
sudo luet util pack quay.io/c3os/core-${{ matrix.flavor }}:$VERSION.img build.tar image.tar
sudo luet util pack quay.io/kairos/core-${{ matrix.flavor }}:$VERSION.img build.tar image.tar
sudo -E docker load -i image.tar
sudo -E docker push quay.io/c3os/core-${{ matrix.flavor }}:$VERSION.img
sudo -E docker push quay.io/kairos/core-${{ matrix.flavor }}:$VERSION.img
- name: Upload results
uses: actions/upload-artifact@v2
with:
Expand Down
Loading

0 comments on commit a142823

Please sign in to comment.