Skip to content

Commit

Permalink
Rename environment variables and temporarily disable arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz committed Jul 8, 2024
1 parent 652868d commit 965ff42
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.rock
*/__pycache__
**/__pycache__
.pytest_cache
.venv
.tox
1 change: 0 additions & 1 deletion acmesolver/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ base: bare
build-base: [email protected]
platforms:
amd64:
arm64:

entrypoint-service: cert-manager-acmesolver
services:
Expand Down
1 change: 0 additions & 1 deletion cainjector/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ base: bare
build-base: [email protected]
platforms:
amd64:
arm64:

entrypoint-service: cert-manager-cainjector
services:
Expand Down
1 change: 0 additions & 1 deletion controller/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ base: bare
build-base: [email protected]
platforms:
amd64:
arm64:

entrypoint-service: cert-manager-controller
services:
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/test_acmesolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


def test_sanity_acmesolver():
image = os.getenv("ROCK_CERT-MANAGER-ACMESOLVER")
assert image is not None, "ROCK_CERT-MANAGER-ACMESOLVER is not set"
image = os.getenv("ROCK_CERT_MANAGER_ACMESOLVER")
assert image is not None, "ROCK_CERT_MANAGER_ACMESOLVER is not set"
docker_run = subprocess.run(
["docker", "run", "--rm", "--entrypoint", "/acmesolver-linux", image, "--help"],
capture_output=True,
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/test_cainjector.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


def test_sanity_cainjector():
image = os.getenv("ROCK_CERT-MANAGER-CAINJECTOR")
assert image is not None, "ROCK_CERT-MANAGER-CAINJECTOR is not set"
image = os.getenv("ROCK_CERT_MANAGER_CAINJECTOR")
assert image is not None, "ROCK_CERT_MANAGER_CAINJECTOR is not set"
docker_run = subprocess.run(
["docker", "run", "--rm", "--entrypoint", "/cainjector-linux", image, "--help"],
capture_output=True,
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/test_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


def test_sanity_controller():
image = os.getenv("ROCK_CERT-MANAGER-CONTROLLER")
assert image is not None, "ROCK_CERT-MANAGER-CONTROLLER is not set"
image = os.getenv("ROCK_CERT_MANAGER_CONTROLLER")
assert image is not None, "ROCK_CERT_MANAGER_CONTROLLER is not set"
docker_run = subprocess.run(
["docker", "run", "--rm", "--entrypoint", "/controller-linux", image, "--help"],
capture_output=True,
Expand Down
4 changes: 2 additions & 2 deletions tests/sanity/test_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


def test_sanity_webhook():
image = os.getenv("ROCK_CERT-MANAGER-WEBHOOK")
assert image is not None, "ROCK_CERT-MANAGER-WEBHOOK is not set"
image = os.getenv("ROCK_CERT_MANAGER_WEBHOOK")
assert image is not None, "ROCK_CERT_MANAGER_WEBHOOK is not set"
docker_run = subprocess.run(
["docker", "run", "--rm", "--entrypoint", "/webhook-linux", image, "--help"],
capture_output=True,
Expand Down
1 change: 0 additions & 1 deletion webhook/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ base: bare
build-base: [email protected]
platforms:
amd64:
arm64:

entrypoint-service: cert-manager-webhook
services:
Expand Down

0 comments on commit 965ff42

Please sign in to comment.