-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:linode/provider-ceph into traces
- Loading branch information
Showing
76 changed files
with
1,385 additions
and
573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: | ||
KUTTL: /usr/local/bin/kubectl-kuttl | ||
COMPOSE: /usr/local/bin/docker-compose | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -16,13 +15,11 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.21' | ||
- name: Install dependencies | ||
run: | | ||
sudo curl -Lo $KUTTL https://github.com/kudobuilder/kuttl/releases/download/v0.13.0/kubectl-kuttl_0.13.0_linux_x86_64 | ||
sudo chmod +x $KUTTL | ||
sudo curl -Lo $COMPOSE https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-linux-x86_64 | ||
sudo chmod +x $COMPOSE | ||
- name: Build | ||
run: make submodules build | ||
- name: Create test environment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: | ||
KUTTL: /usr/local/bin/kubectl-kuttl | ||
COMPOSE: /usr/local/bin/docker-compose | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -16,13 +15,11 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.21' | ||
- name: Install dependencies | ||
run: | | ||
sudo curl -Lo $KUTTL https://github.com/kudobuilder/kuttl/releases/download/v0.13.0/kubectl-kuttl_0.13.0_linux_x86_64 | ||
sudo chmod +x $KUTTL | ||
sudo curl -Lo $COMPOSE https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-linux-x86_64 | ||
sudo chmod +x $COMPOSE | ||
- name: Build | ||
run: make submodules build | ||
- name: Create test environment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: | ||
KUTTL: /usr/local/bin/kubectl-kuttl | ||
COMPOSE: /usr/local/bin/docker-compose | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -16,13 +15,11 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.20' | ||
go-version: '1.21' | ||
- name: Install dependencies | ||
run: | | ||
sudo curl -Lo $KUTTL https://github.com/kudobuilder/kuttl/releases/download/v0.13.0/kubectl-kuttl_0.13.0_linux_x86_64 | ||
sudo chmod +x $KUTTL | ||
sudo curl -Lo $COMPOSE https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-linux-x86_64 | ||
sudo chmod +x $COMPOSE | ||
- name: Build | ||
run: make submodules build | ||
- name: Create test environment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This file was auto-generated by hack/generate-tests.sh | ||
name: kuttl e2e test 1.28 | ||
on: [push] | ||
jobs: | ||
test: | ||
name: kuttl e2e test 1.28 | ||
runs-on: ubuntu-latest | ||
env: | ||
KUTTL: /usr/local/bin/kubectl-kuttl | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.20' | ||
- name: Install dependencies | ||
run: | | ||
sudo curl -Lo $KUTTL https://github.com/kudobuilder/kuttl/releases/download/v0.13.0/kubectl-kuttl_0.13.0_linux_x86_64 | ||
sudo chmod +x $KUTTL | ||
- name: Build | ||
run: make submodules build | ||
- name: Create test environment | ||
run: make crossplane-cluster load-package | ||
- name: Run kuttl tests 1.28 | ||
run: kubectl-kuttl test --config e2e/kuttl/stable/provider-ceph-1.28.yaml | ||
env: | ||
AWS_ACCESS_KEY_ID: 'Dummy' | ||
AWS_SECRET_ACCESS_KEY: 'Dummy' | ||
AWS_DEFAULT_REGION: 'us-east-1' | ||
- uses: actions/upload-artifact@v3 | ||
if: ${{ always() }} | ||
with: | ||
name: kind-logs | ||
path: kind-logs-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Currently outgoing network and filesystem are disabled, because we compile static binary and mirrord is not able to catch file system requests. | ||
Because it is't able to read resolver config properly, it is not able to resolve in-cluster host names. | ||
|
||
For more info please follow: https://github.com/metalbear-co/mirrord/issues/1922 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"target": { | ||
"path": "deploy/provider-ceph-provider-cep", | ||
"namespace": "crossplane-system" | ||
}, | ||
"agent": { | ||
"log_level": "info", | ||
"namespace": "crossplane-system", | ||
"privileged": true | ||
}, | ||
"feature": { | ||
"network": { | ||
"incoming": "steal", | ||
"outgoing": false | ||
}, | ||
"fs": "local", | ||
"env": true | ||
}, | ||
"operator": false, | ||
"pause": true, | ||
"accept_invalid_certificates": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
MIRRORD_VERSION ?= 3.70.0 | ||
MIRRORD := $(TOOLS_HOST_DIR)/mirrord-$(MIRRORD_VERSION) | ||
|
||
# mirrord download and install | ||
$(MIRRORD): | ||
@$(INFO) installing mirrord $(MIRRORD_VERSION) | ||
@mkdir -p $(TOOLS_HOST_DIR) || $(FAIL) | ||
@curl -fsSLo $(MIRRORD) https://github.com/metalbear-co/mirrord/releases/download/$(MIRRORD_VERSION)/mirrord_$(HOST_PLATFORM:-=_) || $(FAIL) | ||
@chmod +x $(MIRRORD) | ||
@$(OK) installing mirrord $(MIRRORD_VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.