Skip to content

Commit 228305e

Browse files
authored
Merge pull request #90 from noaccOS/push-osmlnqvquyzm
chore!: remove no longer used RPCs
2 parents ba1479d + 4631a24 commit 228305e

32 files changed

+63
-737
lines changed

.github/workflows/build-workflow.yaml

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
# Run when pushing to stable branches
55
push:
66
branches:
7-
- 'master'
8-
- 'release-*'
7+
- "master"
8+
- "release-*"
99
# Run on branch/tag creation
1010
create:
1111
# Run on pull requests
@@ -22,36 +22,36 @@ jobs:
2222
env:
2323
MIX_ENV: ci
2424
steps:
25-
- uses: actions/checkout@v2
26-
- uses: actions/cache@v1
27-
with:
28-
path: deps
29-
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
30-
- uses: actions/cache@v1
31-
with:
32-
path: _build
33-
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}-${{ github.sha }}
34-
restore-keys: |
35-
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
36-
- id: plt_cache
37-
uses: actions/cache@v1
38-
with:
39-
path: dialyzer_cache
40-
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-dialyzer_cache-${{ github.sha }}
41-
restore-keys: |
42-
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-dialyzer_cache-
43-
- uses: erlef/setup-beam@v1.15
44-
with:
45-
otp-version: ${{ env.otp_version }}
46-
elixir-version: ${{ env.elixir_version }}
47-
- name: Install Dependencies
48-
run: mix deps.get
49-
- name: Create PLTs dir
50-
if: ${{steps.plt_cache.outputs.cache-hit != 'true'}}
51-
run: mkdir -p dialyzer_cache && mix dialyzer --plt
52-
- name: Run dialyzer
53-
# FIXME: This should be set to fail when dialyzer issues are fixed
54-
run: mix dialyzer || exit 0
25+
- uses: actions/checkout@v5
26+
- uses: actions/cache@v4
27+
with:
28+
path: deps
29+
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
30+
- uses: actions/cache@v4
31+
with:
32+
path: _build
33+
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}-${{ github.sha }}
34+
restore-keys: |
35+
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
36+
- id: plt_cache
37+
uses: actions/cache@v4
38+
with:
39+
path: dialyzer_cache
40+
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-dialyzer_cache-${{ github.sha }}
41+
restore-keys: |
42+
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-dialyzer_cache-
43+
- uses: erlef/setup-beam@v1.20
44+
with:
45+
otp-version: ${{ env.otp_version }}
46+
elixir-version: ${{ env.elixir_version }}
47+
- name: Install Dependencies
48+
run: mix deps.get
49+
- name: Create PLTs dir
50+
if: ${{steps.plt_cache.outputs.cache-hit != 'true'}}
51+
run: mkdir -p dialyzer_cache && mix dialyzer --plt
52+
- name: Run dialyzer
53+
# FIXME: This should be set to fail when dialyzer issues are fixed
54+
run: mix dialyzer || exit 0
5555

5656
test-coverage:
5757
name: Build and Test
@@ -62,42 +62,42 @@ jobs:
6262
strategy:
6363
matrix:
6464
rabbitmq:
65-
- "rabbitmq:3.12.0-management"
65+
- "rabbitmq:3.12.0-management"
6666
services:
6767
rabbitmq:
6868
image: ${{ matrix.rabbitmq }}
6969
ports:
70-
- 5672:5672
71-
- 15672:15672
70+
- 5672:5672
71+
- 15672:15672
7272
env:
7373
MIX_ENV: test
7474
RABBITMQ_HOST: localhost
7575
steps:
76-
- uses: actions/checkout@v2
77-
- uses: actions/cache@v1
78-
with:
79-
path: deps
80-
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
81-
- uses: actions/cache@v1
82-
with:
83-
path: _build
84-
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}-${{ github.sha }}
85-
restore-keys: |
86-
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
87-
- uses: erlef/setup-beam@v1.15
88-
with:
89-
otp-version: ${{ env.otp_version }}
90-
elixir-version: ${{ env.elixir_version }}
91-
- name: Install Dependencies
92-
run: mix deps.get
93-
- name: Check formatting
94-
run: mix format --check-formatted
95-
- name: Compile
96-
run: mix compile
97-
- name: Test and Coverage
98-
run: mix coveralls.json --exclude wip -o coverage_results
99-
- name: Upload Coverage Results to CodeCov
100-
env:
101-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
102-
run: |
103-
bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
76+
- uses: actions/checkout@v5
77+
- uses: actions/cache@v4
78+
with:
79+
path: deps
80+
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
81+
- uses: actions/cache@v4
82+
with:
83+
path: _build
84+
key: ${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}-${{ github.sha }}
85+
restore-keys: |
86+
${{ runner.os }}-${{ env.elixir_version }}-${{ env.otp_version }}-_build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
87+
- uses: erlef/setup-beam@v1.20
88+
with:
89+
otp-version: ${{ env.otp_version }}
90+
elixir-version: ${{ env.elixir_version }}
91+
- name: Install Dependencies
92+
run: mix deps.get
93+
- name: Check formatting
94+
run: mix format --check-formatted
95+
- name: Compile
96+
run: mix compile
97+
- name: Test and Coverage
98+
run: mix coveralls.json --exclude wip -o coverage_results
99+
- name: Upload Coverage Results to CodeCov
100+
env:
101+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
102+
run: |
103+
bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN

lib/astarte_rpc/protocol/data_updater_plant.ex

Lines changed: 0 additions & 21 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/call.pb.ex

Lines changed: 0 additions & 21 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/call.proto

Lines changed: 0 additions & 32 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/delete_volatile_trigger.pb.ex

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/delete_volatile_trigger.proto

Lines changed: 0 additions & 25 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/generic_error_reply.pb.ex

Lines changed: 0 additions & 21 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/generic_error_reply.proto

Lines changed: 0 additions & 26 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/generic_ok_reply.pb.ex

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/astarte_rpc/protocol/proto/data_updater_plant/generic_ok_reply.proto

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)