Skip to content

Commit 3af2e89

Browse files
APP-6785: Remove local control page - remove web workflows (viamrobotics#4523)
1 parent 13092f8 commit 3af2e89

9 files changed

+1
-163
lines changed

.github/CODEOWNERS

-13
This file was deleted.

.github/dependabot.yml

-11
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@ updates:
2121
assignees: #TODO: make list
2222
- stevebriskin
2323
- mcvella
24-
- package-ecosystem: "npm"
25-
directory: "web/frontend"
26-
schedule:
27-
interval: "daily"
28-
allow:
29-
- dependency-type: "all"
30-
ignore:
31-
- dependency-name: "proto" # generated proto files
32-
- dependency-name: "*"
33-
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
34-
open-pull-requests-limit: 0
3524
- package-ecosystem: "github-actions"
3625
directory: "/"
3726
schedule:

.github/workflows/full-static.yml

-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
with:
4646
go-version-file: go.mod
4747

48-
- name: build js
49-
run: make build-web
5048
- name: build go
5149
shell: bash
5250
run: |

.github/workflows/main.yml

-6
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ jobs:
6060
secrets:
6161
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
6262

63-
npm_publish:
64-
uses: viamrobotics/rdk/.github/workflows/npm-publish.yml@main
65-
needs: test
66-
secrets:
67-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
68-
6963
license_finder:
7064
uses: viamrobotics/rdk/.github/workflows/license_finder.yml@main
7165

.github/workflows/npm-bump-version.yml

-49
This file was deleted.

.github/workflows/npm-publish.yml

-33
This file was deleted.

.github/workflows/releasecandidate.yml

-6
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ jobs:
4343
secrets:
4444
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
4545

46-
npm_publish:
47-
uses: viamrobotics/rdk/.github/workflows/npm-publish.yml@main
48-
needs: test
49-
secrets:
50-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51-
5246
slack-workflow-status:
5347
if: ${{ failure() }}
5448
name: Post Workflow Status To Slack

.github/workflows/stable.yml

-6
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ jobs:
6060
secrets:
6161
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
6262

63-
npm_publish:
64-
uses: viamrobotics/rdk/.github/workflows/npm-publish.yml@main
65-
needs: test
66-
secrets:
67-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
68-
6963
slack-workflow-status:
7064
if: ${{ failure() }}
7165
name: Post Workflow Status To Slack

.github/workflows/test.yml

+1-37
Original file line numberDiff line numberDiff line change
@@ -202,55 +202,19 @@ jobs:
202202
pip install -r cli/test-requirements.txt
203203
check-jsonschema --schemafile ./cli/module.schema.json meta2.json
204204
205-
test_web_e2e:
206-
name: Test End-to-End and Web
207-
runs-on: ubuntu-latest
208-
container: ghcr.io/viamrobotics/rdk-devenv:amd64-cache
209-
timeout-minutes: 15
210-
steps:
211-
- uses: actions/checkout@v3
212-
with:
213-
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
214-
215-
- name: Chown
216-
run: chown -R testbot:testbot .
217-
218-
- name: Verify no uncommitted changes from "make build-web lint-web"
219-
run: |
220-
sudo -Hu testbot bash -lc 'git init && git add . && make build-web lint-web'
221-
GEN_DIFF=$(git status -s)
222-
223-
if [ -n "$GEN_DIFF" ]; then
224-
echo '"make build-web lint-web" resulted in changes not in git' 1>&2
225-
git status
226-
exit 1
227-
fi
228-
229-
- name: Install dependencies
230-
run: |
231-
apt-get update && apt-get -qy install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb netcat-openbsd lsof
232-
233-
- name: Run web tests
234-
run: sudo -Hu testbot bash -lc 'make test-web'
235-
236-
- name: Run e2e tests
237-
run: sudo -Hu testbot bash -lc 'make test-e2e E2E_ARGS="-k"'
238-
239205
test_passing:
240206
name: All Tests Passing
241-
needs: [test_go, test_web_e2e, test32, motion_tests]
207+
needs: [test_go, test32, motion_tests]
242208
runs-on: [ubuntu-latest]
243209
if: always()
244210
steps:
245211
- name: Check Results
246212
run: |
247213
echo Go Unit Tests: ${{ needs.test_go.result }}
248214
echo Go 32-bit Tests: ${{ needs.test32.result }}
249-
echo Web/E2E Tests: ${{ needs.test_web_e2e.result }}
250215
echo Motion Tests: ${{ needs.motion_tests.result }}
251216
[ "${{ needs.test_go.result }}" == "success" ] && \
252217
[ "${{ needs.test32.result }}" == "success" ] && \
253-
[ "${{ needs.test_web_e2e.result }}" == "success" ] && \
254218
[ "${{ needs.motion_tests.result }}" == "success" ]
255219
256220
# Now that RDK is public, can't directly comment without token having full read/write access

0 commit comments

Comments
 (0)