Compare commits
8 Commits
autodownlo
...
rishighan-
| Author | SHA1 | Date | |
|---|---|---|---|
| c65eb2c6ec | |||
| 5b2555aa61 | |||
| 6b732f1518 | |||
| 1900a3ddb8 | |||
| 63130b4e82 | |||
| f5a2e6505b | |||
| 6f11e84c1d | |||
| cb8e6bb3d6 |
19
.github/workflows/docker-image.yml
vendored
Normal file
19
.github/workflows/docker-image.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Publish to Registry
|
||||||
|
uses: elgohr/Publish-Docker-Github-Action@v5
|
||||||
|
with:
|
||||||
|
name: frishi/threetwo-acquisition-service
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
@@ -3,7 +3,7 @@ import { Service, ServiceBroker } from "moleculer";
|
|||||||
import ApiGateway from "moleculer-web";
|
import ApiGateway from "moleculer-web";
|
||||||
|
|
||||||
export default class ApiService extends Service {
|
export default class ApiService extends Service {
|
||||||
public constructor(broker: ServiceBroker) {
|
constructor(broker: ServiceBroker) {
|
||||||
super(broker);
|
super(broker);
|
||||||
this.parseServiceSchema({
|
this.parseServiceSchema({
|
||||||
name: "api",
|
name: "api",
|
||||||
|
|||||||
@@ -282,7 +282,6 @@ export default class ComicProcessorService extends Service {
|
|||||||
if (toReplaceIndex !== -1) {
|
if (toReplaceIndex !== -1) {
|
||||||
// Replace the existing result with the updated result
|
// Replace the existing result with the updated result
|
||||||
resultsForInstance[toReplaceIndex] = payload;
|
resultsForInstance[toReplaceIndex] = payload;
|
||||||
rty6j
|
|
||||||
// Optionally, update the map with the modified array
|
// Optionally, update the map with the modified array
|
||||||
this.airDCPPSearchResults.set(entityId, resultsForInstance);
|
this.airDCPPSearchResults.set(entityId, resultsForInstance);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
"use strict";
|
|
||||||
import { Context, Service, ServiceBroker, ServiceSchema, Errors } from "moleculer";
|
import { Context, Service, ServiceBroker, ServiceSchema, Errors } from "moleculer";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default class ProwlarrService extends Service {
|
export default class ProwlarrService extends Service {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
public constructor(
|
constructor(
|
||||||
public broker: ServiceBroker,
|
public broker: ServiceBroker,
|
||||||
schema: ServiceSchema<{}> = { name: "prowlarr" },
|
schema: ServiceSchema<{}> = { name: "prowlarr" },
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user