Skip to content

Commit 254beea

Browse files
committed
using the robusta-api project for playbook building and removing robusta-cli build
This does not remove the old cli code - it will in another pr
1 parent 98a9b1a commit 254beea

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,3 @@ jobs:
101101
- name: Upload helm chart
102102
run: |
103103
cd helm && ./upload_chart.sh
104-
105-
- name: Release Docker CLI only on formal releases
106-
if: "!github.event.release.prerelease"
107-
run: |-
108-
docker buildx build \
109-
--platform linux/arm64,linux/amd64 \
110-
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli:${{env.RELEASE_VER}} \
111-
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli \
112-
--push \
113-
--file cli.Dockerfile \
114-
.

docs/_static/robusta

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ fi
3535
if [[ "upgrade-cli" == "$COMMANDS" ]]; then
3636
docker pull us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli > /dev/null 2>&1 & spinner
3737
echo 'Upgrade complete'
38-
docker run -it --rm --net host -v ~/.aws:/root/.aws -v ~/.config/gcloud:/root/.config/gcloud -v ${PWD}:/workingdir -w=/workingdir -v ~/.kube:/root/.kube us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli robusta version
38+
docker run -it --rm --net host -v ~/.aws:/root/.aws -v ~/.config/gcloud:/root/.config/gcloud -v ${PWD}:/workingdir -w=/workingdir -v ~/.kube:/root/.kube us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli version
3939
exit 0
4040
fi
4141

42-
docker run -it --rm --net host -v ~/.aws:/root/.aws -v ~/.config/gcloud:/root/.config/gcloud -v ${PWD}:/workingdir -w=/workingdir -v ~/.kube:/root/.kube us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli robusta $COMMANDS
42+
docker run -it --rm --net host -v ~/.aws:/root/.aws -v ~/.config/gcloud:/root/.config/gcloud -v ${PWD}:/workingdir -w=/workingdir -v ~/.kube:/root/.kube us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-cli $COMMANDS

docs/playbook-reference/actions/develop-actions/migration-guides.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Playbook API Changes
1010

1111
This page documents breaking changes to the Robusta API, and how to update custom playbook actions between versions.
1212

13+
Using new 'robusta-api' package from Robusta version 0.14
14+
===============================================
15+
16+
Old versions used the ``robusta-cli`` package for the api headers. Please use the new ``robusta-api`` package.
17+
1318
Updating Custom Playbooks to Robusta 0.10.17
1419
===============================================
1520

docs/playbook-reference/actions/develop-actions/writing-playbooks.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ The Basics
44
Setting up a development environment
55
--------------------------------------
66

7-
Install the ``robusta-cli`` package locally, so you have autocompletion in your IDE. This is really important, at the playbooks API is not yet fully documented online.
7+
Install the ``robusta-api`` package locally, so you have autocompletion in your IDE. This is really important, at the playbooks API is not yet fully documented online.
8+
9+
.. note::
10+
11+
Older versions used the ``robusta-cli`` package for the api headers. Please use the new ``robusta-api`` package.
812

913
Implementing your first playbook
1014
-------------------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "robusta-cli"
2+
name = "robusta-api"
33
version = "0.0.0"
44
description = ""
55
authors = ["Natan Yellin <[email protected]>"]
@@ -16,9 +16,6 @@ line_length = 120
1616
multi_line_output = 3
1717
include_trailing_comma = true
1818

19-
[tool.poetry.scripts]
20-
robusta = "robusta.cli.main:app"
21-
2219

2320
[tool.poetry.dependencies]
2421
# Robusta CLI should work on 3.8, but the core code requires 3.9+. Both

0 commit comments

Comments
 (0)