Skip to content

Commit d54ac84

Browse files
Getting rid of all other jobs
1 parent ab52ab0 commit d54ac84

File tree

2 files changed

+0
-153
lines changed

2 files changed

+0
-153
lines changed

.github/workflows/coder_cache.yaml

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -12,83 +12,6 @@ concurrency:
1212
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1313

1414
jobs:
15-
changes:
16-
runs-on: ubuntu-latest
17-
outputs:
18-
docs-only: ${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }}
19-
sh: ${{ steps.filter.outputs.sh }}
20-
ts: ${{ steps.filter.outputs.ts }}
21-
k8s: ${{ steps.filter.outputs.k8s }}
22-
steps:
23-
- uses: actions/checkout@v3
24-
# For pull requests it's not necessary to checkout the code
25-
- uses: dorny/paths-filter@v2
26-
id: filter
27-
with:
28-
filters: |
29-
all:
30-
- '**'
31-
docs:
32-
- 'docs/**'
33-
# For testing:
34-
# - '.github/**'
35-
sh:
36-
- "**.sh"
37-
ts:
38-
- 'site/**'
39-
k8s:
40-
- 'helm/**'
41-
- Dockerfile
42-
- scripts/helm.sh
43-
- id: debug
44-
run: |
45-
echo "${{ toJSON(steps.filter )}}"
46-
47-
gen:
48-
name: "style/gen"
49-
timeout-minutes: 8
50-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }}
51-
needs: changes
52-
if: needs.changes.outputs.docs-only == 'false'
53-
steps:
54-
- uses: actions/checkout@v3
55-
56-
- name: Install node_modules
57-
run: ./scripts/yarn_install.sh
58-
59-
- uses: actions/setup-go@v3
60-
with:
61-
cache: true
62-
go-version: "~1.19"
63-
64-
- name: Install sqlc
65-
run: |
66-
curl -sSL https://github.com/kyleconroy/sqlc/releases/download/v1.13.0/sqlc_1.13.0_linux_amd64.tar.gz | sudo tar -C /usr/bin -xz sqlc
67-
- name: Install protoc-gen-go
68-
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
69-
- name: Install protoc-gen-go-drpc
70-
run: go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.26
71-
- name: Install goimports
72-
run: go install golang.org/x/tools/cmd/goimports@latest
73-
74-
- name: Install Protoc
75-
run: |
76-
# protoc must be in lockstep with our dogfood Dockerfile
77-
# or the version in the comments will differ.
78-
set -x
79-
cd dogfood
80-
DOCKER_BUILDKIT=1 docker build . --target proto -t protoc
81-
protoc_path=/usr/local/bin/protoc
82-
docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path
83-
chmod +x $protoc_path
84-
protoc --version
85-
86-
- name: make gen
87-
run: "make --output-sync -j -B gen"
88-
89-
- name: Check for unstaged files
90-
run: ./scripts/check_unstaged.sh
91-
9215
test-go:
9316
name: "test/go"
9417
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-8-cores'|| matrix.os }}

.github/workflows/coder_nocache.yaml

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -12,82 +12,6 @@ concurrency:
1212
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1313

1414
jobs:
15-
changes:
16-
runs-on: ubuntu-latest
17-
outputs:
18-
docs-only: ${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }}
19-
sh: ${{ steps.filter.outputs.sh }}
20-
ts: ${{ steps.filter.outputs.ts }}
21-
k8s: ${{ steps.filter.outputs.k8s }}
22-
steps:
23-
- uses: actions/checkout@v3
24-
# For pull requests it's not necessary to checkout the code
25-
- uses: dorny/paths-filter@v2
26-
id: filter
27-
with:
28-
filters: |
29-
all:
30-
- '**'
31-
docs:
32-
- 'docs/**'
33-
# For testing:
34-
# - '.github/**'
35-
sh:
36-
- "**.sh"
37-
ts:
38-
- 'site/**'
39-
k8s:
40-
- 'helm/**'
41-
- Dockerfile
42-
- scripts/helm.sh
43-
- id: debug
44-
run: |
45-
echo "${{ toJSON(steps.filter )}}"
46-
47-
gen:
48-
name: "style/gen"
49-
timeout-minutes: 8
50-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }}
51-
needs: changes
52-
if: needs.changes.outputs.docs-only == 'false'
53-
steps:
54-
- uses: actions/checkout@v3
55-
56-
- name: Install node_modules
57-
run: ./scripts/yarn_install.sh
58-
59-
- uses: actions/setup-go@v3
60-
with:
61-
go-version: "~1.19"
62-
63-
- name: Install sqlc
64-
run: |
65-
curl -sSL https://github.com/kyleconroy/sqlc/releases/download/v1.13.0/sqlc_1.13.0_linux_amd64.tar.gz | sudo tar -C /usr/bin -xz sqlc
66-
- name: Install protoc-gen-go
67-
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
68-
- name: Install protoc-gen-go-drpc
69-
run: go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.26
70-
- name: Install goimports
71-
run: go install golang.org/x/tools/cmd/goimports@latest
72-
73-
- name: Install Protoc
74-
run: |
75-
# protoc must be in lockstep with our dogfood Dockerfile
76-
# or the version in the comments will differ.
77-
set -x
78-
cd dogfood
79-
DOCKER_BUILDKIT=1 docker build . --target proto -t protoc
80-
protoc_path=/usr/local/bin/protoc
81-
docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path
82-
chmod +x $protoc_path
83-
protoc --version
84-
85-
- name: make gen
86-
run: "make --output-sync -j -B gen"
87-
88-
- name: Check for unstaged files
89-
run: ./scripts/check_unstaged.sh
90-
9115
test-go:
9216
name: "test/go"
9317
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'windows-latest-8-cores'|| matrix.os }}

0 commit comments

Comments
 (0)