Skip to content

Commit

Permalink
clean and remove old stuff not used
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Baccini <giuseppe.baccini@logobject.ch>
  • Loading branch information
giubacc committed Apr 17, 2024
1 parent 45904e1 commit 0c452d9
Show file tree
Hide file tree
Showing 34 changed files with 126 additions and 12,763 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Build and push builder-image
uses: docker/build-push-action@v3
with:
file: 'scripts/Dockerfile-ubuntu.builder'
file: 'scripts/Dockerfile.ubuntu.builder'
context: scripts
push: true
tags: ghcr.io/${{ github.actor }}/${{ env.IMAGE_NAME_BUILDER }}:latest
Expand Down
26 changes: 8 additions & 18 deletions .github/workflows/build-chatterbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ on:
type: string

env:
IMAGE_NAME_BUILDER: chatterbox-builder
IMAGE_NAME_CHATTERBOX: chatterbox
IMAGE_NAME_BUILDER: chatterbox-ubuntu-builder
IMAGE_NAME_CHATTERBOX_TEST: chatterbox-test

jobs:
Expand Down Expand Up @@ -54,10 +53,10 @@ jobs:
- name: Build chatterbox-test binary
run: |
docker run \
-e BASE_DIR=/project \
-e BASE_DIR=/project/chatterbox \
-e NINJA_JOBS=6 \
-e CONTRIB_PATH=/contrib \
-v $GITHUB_WORKSPACE:/project \
-e CONTRIB_PATH=/project/contrib \
-v $GITHUB_WORKSPACE:/project/chatterbox \
ghcr.io/${{ github.actor }}/${{ env.IMAGE_NAME_BUILDER }}:${{ steps.tag.outputs.tag }} build-test
- name: Copy scenarios
Expand All @@ -76,7 +75,7 @@ jobs:
run: |
docker run ${{ env.IMAGE_NAME_CHATTERBOX_TEST }}:${{ steps.tag.outputs.tag }}
build-and-push-chatterbox:
build-chatterbox:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -105,17 +104,8 @@ jobs:
- name: Build chatterbox binary
run: |
docker run \
-e BASE_DIR=/project \
-e BASE_DIR=/project/chatterbox \
-e NINJA_JOBS=6 \
-e CONTRIB_PATH=/contrib \
-v $GITHUB_WORKSPACE:/project \
-e CONTRIB_PATH=/project/contrib \
-v $GITHUB_WORKSPACE:/project/chatterbox \
ghcr.io/${{ github.actor }}/${{ env.IMAGE_NAME_BUILDER }}:${{ steps.tag.outputs.tag }} build
- name: Build and push chatterbox-image
uses: docker/build-push-action@v3
with:
file: 'scripts/Dockerfile.chatterbox'
context: build/cbox
push: true
tags: ghcr.io/${{ github.actor }}/${{ env.IMAGE_NAME_CHATTERBOX }}:${{ steps.tag.outputs.tag }}
labels: ${{ env.IMAGE_NAME_CHATTERBOX }}
20 changes: 0 additions & 20 deletions charts/chatterbox/Chart.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions charts/chatterbox/templates/NOTES.txt

This file was deleted.

76 changes: 0 additions & 76 deletions charts/chatterbox/templates/_helpers.tpl

This file was deleted.

3 changes: 0 additions & 3 deletions charts/chatterbox/templates/chart-validation.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions charts/chatterbox/templates/deployment.yaml

This file was deleted.

50 changes: 0 additions & 50 deletions charts/chatterbox/templates/ingress-traefik.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions charts/chatterbox/templates/service.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions charts/chatterbox/values.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Currently, `chatterbox` can be solely built under Linux.
If you wish to build the `chatterbox` binary directly on your Linux
distribution, ensure your system provides all the required dependencies.
You can figure out what are the needed packages for your system by inspecting the
[builder Dockerfile](../scripts/Dockerfile-leap.builder) for OpenSuse Tumbleweed.
available builder Dockerfile(s).

## How to build

Expand All @@ -34,8 +34,8 @@ cd scripts
It is possible to use a Docker builder image to compile the binary
of `chatterbox`.

- `scripts/Dockerfile-leap.builder`
- `scripts/Dockerfile-ubuntu.builder`
- `scripts/Dockerfile.leap.builder`
- `scripts/Dockerfile.ubuntu.builder`

To build `chatterbox` with the Docker builder image, your system needs
to provide Docker.
Expand Down
58 changes: 0 additions & 58 deletions scripts/Dockerfile-leap.builder

This file was deleted.

Loading

0 comments on commit 0c452d9

Please sign in to comment.