Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update k0s images #1192

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2a79676
Update Dev requirements (#1173)
sgalsaleh Sep 16, 2024
7e2b9dd
Separate command blocks in dev README (#1174)
sgalsaleh Sep 16, 2024
c9888f9
chore(ci): test proxied upgrade (#1138)
emosbaugh Sep 16, 2024
8428528
build(deps): bump the security group with 4 updates (#1165)
dependabot[bot] Sep 16, 2024
4d52564
Update dev SSH README (#1175)
sgalsaleh Sep 16, 2024
4adc964
build(deps): bump helm.sh/helm/v3 from 3.15.4 to 3.16.1 (#1166)
dependabot[bot] Sep 17, 2024
39ebc92
add local-dev dir to gitignore (#1177)
laverya Sep 17, 2024
babcecd
bug: fix fio build so it can be used on other cpus (#1178)
ricardomaraschini Sep 17, 2024
3618bd1
fix(ci): build fails with no component found for metrics-server (#1185)
emosbaugh Sep 17, 2024
fabb87b
generate after-completion support bundles in parallel (#1180)
laverya Sep 17, 2024
8ab69ee
Dev env - always patch operator on up (#1193)
sgalsaleh Sep 17, 2024
52278b7
chore(ci): build and tag all image architectures (#1160)
emosbaugh Sep 17, 2024
6a7a9fb
feat: update adminconsole version (#1196)
replicated-ci-ec Sep 18, 2024
4387b51
chore(ci): experiment with dagger (#1179)
emosbaugh Sep 18, 2024
7356014
chore: skip proxy tests on k0s < 1.29 (#1198)
ricardomaraschini Sep 18, 2024
57ea942
check if chart values parse as yaml before installing application (#1…
laverya Sep 18, 2024
ba73ec2
fix(ci): do not override digest for wrong architecture (#1197)
emosbaugh Sep 18, 2024
545c1f9
feat(preflights): include preflight collect results in support bundle…
emosbaugh Sep 18, 2024
734a6c5
chore: update k0s images (#1107)
replicated-ci-ec Sep 19, 2024
058761e
automatically detect node ip during install for noproxy (#1186)
laverya Sep 19, 2024
7c731d7
feat(kinds): ability to override admin console and lam host ports (#1…
emosbaugh Sep 19, 2024
1ab75c3
hardcode proxy.replicated.com and replicated.app static IPs in troubl…
laverya Sep 19, 2024
41cda7e
feat: ability to specify network interface (#1204)
sgalsaleh Sep 19, 2024
15fe867
Fix joining worker nodes in dev env (#1209)
sgalsaleh Sep 20, 2024
acc9ea2
feat: determine network interface / IP on join (#1207)
sgalsaleh Sep 20, 2024
1bb52ef
chore(ci): build and publish operator and lam image with dagger (#1206)
emosbaugh Sep 20, 2024
c6a57a4
feat: ability to override admin console and lam host ports (#1201)
emosbaugh Sep 20, 2024
3fe217d
report embedded cluster and k8s versions with metrics object (#1199)
laverya Sep 23, 2024
41cdc9f
fix(ci): apko login before publish (#1217)
emosbaugh Sep 23, 2024
9570e97
build(deps): bump the security group with 3 updates (#1212)
dependabot[bot] Sep 23, 2024
46bd74d
use the entire installation spec object in node join response (#1211)
laverya Sep 23, 2024
20f5e4a
fix(ci): remove unnecessary apko install (#1218)
emosbaugh Sep 23, 2024
595d3a2
build(deps): bump github.com/replicatedhq/troubleshoot from 0.102.0 t…
dependabot[bot] Sep 24, 2024
e572392
build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.61.2…
dependabot[bot] Sep 24, 2024
e2cfe38
fix(ci): apko login mounting wrong auth dir (#1221)
emosbaugh Sep 24, 2024
c4f712f
Update image versions
sgalsaleh Sep 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 0 additions & 100 deletions .github/actions/setup-melange/action.yml

This file was deleted.

54 changes: 15 additions & 39 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:

build-current:
name: Build current
runs-on: ubuntu-latest
runs-on: embedded-cluster
needs:
- git-sha
outputs:
Expand All @@ -122,18 +122,10 @@ jobs:
go-version-file: go.mod
cache-dependency-path: "**/*.sum"

- name: Cache melange
uses: actions/cache@v4
with:
path: |
local-artifact-mirror/cache/.melange-cache
operator/cache/.melange-cache
key: melange-cache

- name: Setup melange
uses: ./.github/actions/setup-melange
with:
setup-go: false
- name: Install dagger
run: |
curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
sudo mv ./bin/dagger /usr/local/bin/dagger

- name: Build
env:
Expand Down Expand Up @@ -174,7 +166,7 @@ jobs:

build-previous-k0s:
name: Build previous k0s
runs-on: ubuntu-latest
runs-on: embedded-cluster
needs:
- git-sha
outputs:
Expand All @@ -198,18 +190,10 @@ jobs:
go-version-file: go.mod
cache-dependency-path: "**/*.sum"

- name: Cache melange
uses: actions/cache@v4
with:
path: |
local-artifact-mirror/cache/.melange-cache
operator/cache/.melange-cache
key: melange-cache

- name: Setup melange
uses: ./.github/actions/setup-melange
with:
setup-go: false
- name: Install dagger
run: |
curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
sudo mv ./bin/dagger /usr/local/bin/dagger

- name: Build
env:
Expand Down Expand Up @@ -248,7 +232,7 @@ jobs:

build-upgrade:
name: Build upgrade
runs-on: ubuntu-latest
runs-on: embedded-cluster
needs:
- git-sha
outputs:
Expand All @@ -272,18 +256,10 @@ jobs:
go-version-file: go.mod
cache-dependency-path: "**/*.sum"

- name: Cache melange
uses: actions/cache@v4
with:
path: |
local-artifact-mirror/cache/.melange-cache
operator/cache/.melange-cache
key: melange-cache

- name: Setup melange
uses: ./.github/actions/setup-melange
with:
setup-go: false
- name: Install dagger
run: |
curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
sudo mv ./bin/dagger /usr/local/bin/dagger

- name: Build
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/image-deps-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
INPUT_VELERO_AWS_PLUGIN_VERSION: ${{ github.event.inputs.velero_aws_plugin_version }}
INPUT_KUBECTL_VERSION: ${{ github.event.inputs.kubectl_version }}
INPUT_SEAWEEDFS_VERSION: ${{ github.event.inputs.seaweedfs_version }}
ARCHS: "amd64,arm64"
run: |
chmod +x ./output/bin/buildtools
./output/bin/buildtools update images ${{ matrix.addon }}
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/image-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,21 @@ jobs:
with:
fetch-depth: 0 # fetch all history so that we can get the previous tag

- name: Cache Melange
uses: actions/cache@v4
with:
path: |
local-artifact-mirror/cache/.melange-cache
operator/cache/.melange-cache
key: melange-cache

- name: Setup melange
uses: ./.github/actions/setup-melange
- name: Install dagger
run: |
curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
sudo mv ./bin/dagger /usr/local/bin/dagger

- name: Build and push local-artifact-mirror image
id: local-artifact-mirror
run: |
make -C local-artifact-mirror apko build-ttl.sh
make -C local-artifact-mirror build-ttl.sh
echo "image=$(cat local-artifact-mirror/build/image)" >> $GITHUB_OUTPUT

- name: Build and push operator image
id: operator
run: |
make -C operator apko build-ttl.sh build-chart-ttl.sh
make -C operator build-ttl.sh build-chart-ttl.sh
echo "image=$(cat operator/build/image)" >> $GITHUB_OUTPUT
echo "chart=$(cat operator/build/chart)" >> $GITHUB_OUTPUT

Expand Down
42 changes: 16 additions & 26 deletions .github/workflows/release-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache Melange
uses: actions/cache@v4
with:
path: |
operator/cache/.melange-cache
key: melange-cache

- name: Setup melange
uses: ./.github/actions/setup-melange
- name: Install dagger
run: |
curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
sudo mv ./bin/dagger /usr/local/bin/dagger

- name: Build and push operator image
id: operator-image
env:
REGISTRY: docker.io
USERNAME: ${{ secrets.DOCKERHUB_USER }}
PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
REGISTRY_SERVER: docker.io
REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USER }}
REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
make -C operator apko apko-login build-and-push-operator-image \
make -C operator build-and-push-operator-image \
PACKAGE_VERSION=${{ needs.get-tag.outputs.tag-name }}
echo "image=$(cat operator/build/image)" >> $GITHUB_OUTPUT

Expand Down Expand Up @@ -109,24 +104,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Cache Melange
uses: actions/cache@v4
with:
path: |
local-artifact-mirror/cache/.melange-cache
key: melange-cache

- name: Setup melange
uses: ./.github/actions/setup-melange
- name: Install dagger
run: |
curl -fsSL https://dl.dagger.io/dagger/install.sh | sh
sudo mv ./bin/dagger /usr/local/bin/dagger

- name: Build and push local-artifact-mirror image
id: local-artifact-mirror
env:
REGISTRY: docker.io
USERNAME: ${{ secrets.DOCKERHUB_USER }}
PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
REGISTRY_SERVER: docker.io
REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USER }}
REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
make -C local-artifact-mirror apko apko-login build-and-push-local-artifact-mirror-image \
make -C local-artifact-mirror build-and-push-local-artifact-mirror-image \
PACKAGE_VERSION=${{ needs.get-tag.outputs.tag-name }}
echo "image=$(cat local-artifact-mirror/build/image)" >> $GITHUB_OUTPUT

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
INPUT_OPENEBS_CHART_VERSION: ${{ github.event.inputs.openebs_chart_version }}
INPUT_VELERO_CHART_VERSION: ${{ github.event.inputs.velero_chart_version }}
INPUT_SEAWEEDFS_CHART_VERSION: ${{ github.event.inputs.seaweedfs_chart_version }}
ARCHS: "amd64,arm64"
run: |
chmod 755 ./output/bin/buildtools
./output/bin/buildtools update addon ${{ matrix.addon }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ go.work
go.work.sum
.gocache
.gomodcache
/local-dev/
*.tmp
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ K0S_GO_VERSION = v1.29.8+k0s.0
PREVIOUS_K0S_VERSION ?= v1.28.10+k0s.0
K0S_BINARY_SOURCE_OVERRIDE =
PREVIOUS_K0S_BINARY_SOURCE_OVERRIDE =
TROUBLESHOOT_VERSION = v0.100.0
TROUBLESHOOT_VERSION = v0.102.0
KOTS_VERSION = v$(shell awk '/^version/{print $$2}' pkg/addons/adminconsole/static/metadata.yaml | sed -E 's/([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
# When updating KOTS_BINARY_URL_OVERRIDE, also update the KOTS_VERSION above or
# scripts/ci-upload-binaries.sh may find the version in the cache and not upload the overridden binary.
Expand Down Expand Up @@ -219,11 +219,11 @@ vet: static

.PHONY: e2e-tests
e2e-tests: embedded-release
go test -timeout 60m -parallel 1 -failfast -v ./e2e
go test -timeout 60m -ldflags="$(LD_FLAGS)" -parallel 1 -failfast -v ./e2e

.PHONY: e2e-test
e2e-test:
go test -timeout 60m -v ./e2e -run $(TEST_NAME)$
go test -timeout 60m -ldflags="$(LD_FLAGS)" -v ./e2e -run $(TEST_NAME)$

.PHONY: build-ttl.sh
build-ttl.sh:
Expand Down Expand Up @@ -269,6 +269,7 @@ list-distros:

.PHONY: create-node%
create-node%: DISTRO = debian-bookworm
create-node%: NODE_PORT = 30000
create-node%:
@if ! docker images | grep -q ec-$(DISTRO); then \
$(MAKE) -C dev/distros build-$(DISTRO); \
Expand All @@ -282,7 +283,7 @@ create-node%:
-v /var/lib/k0s \
-v $(shell pwd):/replicatedhq/embedded-cluster \
-v $(shell dirname $(shell pwd))/kots:/replicatedhq/kots \
$(if $(filter node0,node$*),-p 30000:30000) \
$(if $(filter node0,node$*),-p $(NODE_PORT):$(NODE_PORT)) \
ec-$(DISTRO)

@$(MAKE) ssh-node$*
Expand Down
Loading
Loading