Skip to content

Commit

Permalink
chore: migrate operator into a new repository (#605)
Browse files Browse the repository at this point in the history
* chore: migrate operator into a new repository

see also https://github.com/LinuxSuRen/atest-operator

* remove go.work

---------

Co-authored-by: rick <[email protected]>
  • Loading branch information
LinuxSuRen and LinuxSuRen authored Jan 26, 2025
1 parent c827476 commit 4f7f5a0
Show file tree
Hide file tree
Showing 60 changed files with 3 additions and 3,179 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ jobs:
with:
version: '~> v2'
args: release --clean --snapshot
# - name: Operator
# run: cd operator && make build

E2E:
runs-on: ubuntu-22.04
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,34 +211,3 @@ jobs:
Rename-Item -Path package.json.new -NewName package.json
npm i
npm run publish
# image-operator:
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Setup Docker buildx
# uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
# - name: Log into registry ${{ env.REGISTRY }}
# if: github.event_name != 'pull_request'
# uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
# with:
# registry: ${{ env.REGISTRY }}
# username: ${{ github.actor }}
# password: ${{ secrets.GH_PUBLISH_SECRETS }}
# - name: Extract Docker metadata
# id: meta
# uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
# with:
# images: ${{ env.REGISTRY }}/linuxsuren/api-testing-operator
# - name: Build and push Docker image
# id: build-and-push
# uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
# with:
# context: operator
# push: ${{ github.event_name != 'pull_request' }}
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# platforms: linux/amd64,linux/arm64
# cache-from: type=gha
# cache-to: type=gha,mode=max
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ console/atest-ui/node_modules
cmd/data/index.html
cmd/data/index.js
cmd/data/index.css
operator/bundle
helm/*.tgz
helm/api-testing/*.tgz
oryxBuildBinary
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@ RUN mkdir -p console/atest-ui

COPY cmd/ cmd/
COPY pkg/ pkg/
COPY operator/ operator/
COPY .github/ .github/
COPY sample/ sample/
COPY docs/ docs/
COPY go.mod go.mod
COPY go.sum go.sum
COPY go.work go.work
COPY go.work.sum go.work.sum
COPY main.go main.go
COPY console/atest-ui/ui.go console/atest-ui/ui.go
COPY console/atest-ui/package.json console/atest-ui/package.json
Expand Down
2 changes: 1 addition & 1 deletion README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* [Github 扩展支持](https://github.com/marketplace/actions/api-testing-with-kubernetes)
* 支持多种存储方式 (Local, ORM Database, S3, Git, Etcd, etc.)
* [HTTP API record](https://github.com/LinuxSuRen/atest-ext-collector)
* 支持多种安装方式(CLI, Container, Native-Service, Operator, Helm, etc.)
* 支持多种安装方式(CLI, Container, Native-Service, [Operator](https://github.com/LinuxSuRen/atest-operator), Helm, etc.)
* 整合 Prometheus, SkyWalking 监控

## 快速开始
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This is an awesome API testing tool. 🚀
* [VS Code extension](https://github.com/LinuxSuRen/vscode-api-testing) support
* Multiple storage backends supported(Local, ORM Database, S3, Git, Etcd, etc.)
* [HTTP API record](https://github.com/LinuxSuRen/atest-ext-collector)
* Install in multiple use cases(CLI, Container, Native-Service, Operator, Helm, etc.)
* Install in multiple use cases(CLI, Container, Native-Service, [Operator](https://github.com/LinuxSuRen/atest-operator), Helm, etc.)
* Monitoring integration with Prometheus, SkyWalking

## Get started
Expand Down
6 changes: 0 additions & 6 deletions go.work

This file was deleted.

4 changes: 0 additions & 4 deletions operator/.dockerignore

This file was deleted.

26 changes: 0 additions & 26 deletions operator/.gitignore

This file was deleted.

33 changes: 0 additions & 33 deletions operator/Dockerfile

This file was deleted.

Loading

0 comments on commit 4f7f5a0

Please sign in to comment.