Skip to content

Commit 774b8d4

Browse files
authored
Merge branch 'tg/support-provider-id-format-of-upstream-ccm' into tg/align-v1.1.x-to-current-main-then-reset-main
2 parents cf32aa7 + 017ebe0 commit 774b8d4

File tree

75 files changed

+1292
-741
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1292
-741
lines changed

.envrc.sample

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export SSH_KEY_NAME=my-caph-ssh-key
66
export HCLOUD_REGION=hel1
77
export CONTROL_PLANE_MACHINE_COUNT=1
88
export WORKER_MACHINE_COUNT=1
9+
export KUBERNETES_VERSION=v1.33.6
910
export HCLOUD_CONTROL_PLANE_MACHINE_TYPE=cpx32
1011
export HCLOUD_WORKER_MACHINE_TYPE=cpx32
1112
export SSH_KEY=$HOME/.ssh/my-caph-ssh-key.pub
@@ -14,8 +15,8 @@ export HETZNER_SSH_PRIV_PATH=$HOME/.ssh/my-caph-ssh-key
1415
export HETZNER_ROBOT_USER=
1516
export HETZNER_ROBOT_PASSWORD=
1617

17-
HETZNER_SSH_PUB=$(cat "$HETZNER_SSH_PUB_PATH")
18-
HETZNER_SSH_PRIV=$(cat "$HETZNER_SSH_PRIV_PATH")
18+
HETZNER_SSH_PUB=$(base64 -w0 "$HETZNER_SSH_PUB_PATH")
19+
HETZNER_SSH_PRIV=$(base64 -w0 "$HETZNER_SSH_PRIV_PATH")
1920
export HETZNER_SSH_PUB HETZNER_SSH_PRIV
2021

2122
export PATH="$PWD/hack/tools/bin:$PATH"

.github/workflows/pr-e2e.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ jobs:
4444
credentials:
4545
username: ${{ github.actor }}
4646
password: ${{ secrets.github_token }}
47-
env:
48-
BUILD_IN_CONTAINER: "false"
4947
steps:
5048
- name: checkout
5149
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

.github/workflows/pr-lint.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ jobs:
4040
- name: Verify Golang Modules
4141
run: make generate-modules-ci
4242

43-
- name: Restore lychee cache (Link Checker)
44-
id: restore-cache
45-
uses: actions/cache/restore@v4
43+
- name: Cache lychee responses (Link Checker)
44+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4645
with:
4746
path: .lycheecache
48-
key: cache-lychee-${{ github.sha }}
49-
restore-keys: cache-lychee-
47+
key: cache-lychee-${{ runner.os }}-${{ hashFiles('.lychee.toml') }}
48+
restore-keys: |
49+
cache-lychee-${{ runner.os }}-
50+
cache-lychee-
5051
5152
# to ensure we don't miss any files that were supposed to be autogenerated.
5253
# if there's a diff then the workflow will exit here.

.github/workflows/pr-verify.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ jobs:
6161
run: make verify-starlark
6262

6363
- name: Verify Generated Files of Git Repo
64+
env:
65+
# Use dummy data.
66+
HETZNER_ROBOT_USER: ${{ secrets.HETZNER_ROBOT_USER || 'robot' }}
67+
HETZNER_ROBOT_PASSWORD: ${{ secrets.HETZNER_ROBOT_PASSWORD || 'password' }}
68+
HETZNER_SSH_PUB: ${{ secrets.HETZNER_SSH_PUB || 'c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUZha2VQdWJsaWNLZXlGb3JDSU9ubHkgdXNlckBjaQ==' }}
69+
HETZNER_SSH_PRIV: ${{ secrets.HETZNER_SSH_PRIV || 'LS0tLS1CRUdJTiBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tLS0KZmFrZQotLS0tLUVORCBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tLS0K' }}
70+
SSH_KEY_NAME: ${{ secrets.SSH_KEY_NAME || 'ci-key' }}
6471
run: make verify-generated-files
6572

6673
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bm-*.yaml
5454
config/samples
5555

5656
# test results
57-
_artifacts
57+
_artifacts*
5858
test/e2e/config/hetzner.tmp.yaml
5959
resp.json
6060
**manifest.json
@@ -88,3 +88,5 @@ watchall-output*
8888
/.kube
8989

9090
/generated
91+
92+
.vscode

0 commit comments

Comments
 (0)