mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-26 10:02:42 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 022f9ab9cd | |||
| 6104af3ddb | |||
| fa3fbfb0a5 | |||
| 3c739c1305 |
@@ -1,5 +1,4 @@
|
|||||||
acs
|
acs
|
||||||
aeacus
|
|
||||||
Aibrew
|
Aibrew
|
||||||
alrest
|
alrest
|
||||||
amazonbot
|
amazonbot
|
||||||
@@ -175,13 +174,13 @@ lgbt
|
|||||||
licend
|
licend
|
||||||
licstart
|
licstart
|
||||||
lightpanda
|
lightpanda
|
||||||
LIMSA
|
limsa
|
||||||
Linting
|
Linting
|
||||||
linuxbrew
|
linuxbrew
|
||||||
LLU
|
LLU
|
||||||
loadbalancer
|
loadbalancer
|
||||||
lol
|
lol
|
||||||
LOMINSA
|
lominsa
|
||||||
maintainership
|
maintainership
|
||||||
malware
|
malware
|
||||||
mcr
|
mcr
|
||||||
|
|||||||
@@ -49,14 +49,14 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
|
|
||||||
- name: Apply k8s manifests to aeacus
|
- name: Apply k8s manifests to limsa lominsa
|
||||||
uses: actions-hub/kubectl@d50394b7d704525f93faefce1e65a6329ff67271 # v1.33.2
|
uses: actions-hub/kubectl@d50394b7d704525f93faefce1e65a6329ff67271 # v1.33.2
|
||||||
env:
|
env:
|
||||||
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
|
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
|
||||||
with:
|
with:
|
||||||
args: apply -k docs/manifest
|
args: apply -k docs/manifest
|
||||||
|
|
||||||
- name: Apply k8s manifests to aeacus
|
- name: Apply k8s manifests to limsa lominsa
|
||||||
uses: actions-hub/kubectl@d50394b7d704525f93faefce1e65a6329ff67271 # v1.33.2
|
uses: actions-hub/kubectl@d50394b7d704525f93faefce1e65a6329ff67271 # v1.33.2
|
||||||
env:
|
env:
|
||||||
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
|
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
|
||||||
|
|||||||
+2
-2
@@ -5,6 +5,6 @@ COPY . .
|
|||||||
|
|
||||||
RUN npm ci && npm run build
|
RUN npm ci && npm run build
|
||||||
|
|
||||||
FROM docker.io/library/nginx:alpine
|
FROM ghcr.io/xe/nginx-micro
|
||||||
COPY --from=build /app/build /usr/share/nginx/html
|
COPY --from=build /app/build /www
|
||||||
LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"
|
LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"
|
||||||
@@ -42,7 +42,7 @@ Anubis now supports localized responses. Locales can be added in [lib/localizati
|
|||||||
- [Brazilian Portugese](https://github.com/TecharoHQ/anubis/pull/726)
|
- [Brazilian Portugese](https://github.com/TecharoHQ/anubis/pull/726)
|
||||||
- [Chinese (Traditional)](https://github.com/TecharoHQ/anubis/pull/759)
|
- [Chinese (Traditional)](https://github.com/TecharoHQ/anubis/pull/759)
|
||||||
- English
|
- English
|
||||||
- [Estonian](https://github.com/TecharoHQ/anubis/pull/783)
|
- [Estonian](https://github.com/TecharoHQ/anubis/pull/783)
|
||||||
- [French](https://github.com/TecharoHQ/anubis/pull/716)
|
- [French](https://github.com/TecharoHQ/anubis/pull/716)
|
||||||
- [German](https://github.com/TecharoHQ/anubis/pull/741)
|
- [German](https://github.com/TecharoHQ/anubis/pull/741)
|
||||||
- [Spanish](https://github.com/TecharoHQ/anubis/pull/716)
|
- [Spanish](https://github.com/TecharoHQ/anubis/pull/716)
|
||||||
@@ -99,6 +99,7 @@ There are a bunch of other assorted features and fixes too:
|
|||||||
- Make the [Open Graph](./admin/configuration/open-graph.mdx) subsystem and DNSBL subsystem use [storage backends](./admin/policies.mdx#storage-backends) instead of storing everything in memory by default.
|
- Make the [Open Graph](./admin/configuration/open-graph.mdx) subsystem and DNSBL subsystem use [storage backends](./admin/policies.mdx#storage-backends) instead of storing everything in memory by default.
|
||||||
- Allow [Common Crawl](https://commoncrawl.org/) by default so scrapers have less incentive to scrape
|
- Allow [Common Crawl](https://commoncrawl.org/) by default so scrapers have less incentive to scrape
|
||||||
- The [bbolt storage backend](./admin/policies.mdx#bbolt) now runs its cleanup every hour instead of every five minutes.
|
- The [bbolt storage backend](./admin/policies.mdx#bbolt) now runs its cleanup every hour instead of every five minutes.
|
||||||
|
- Don't block Anubis starting up if [Thoth](./admin/thoth.mdx) health checks fail.
|
||||||
|
|
||||||
### Potentially breaking changes
|
### Potentially breaking changes
|
||||||
|
|
||||||
|
|||||||
@@ -60,15 +60,6 @@ func New(ctx context.Context, thothURL, apiToken string, plaintext bool) (*Clien
|
|||||||
|
|
||||||
hc := healthv1.NewHealthClient(conn)
|
hc := healthv1.NewHealthClient(conn)
|
||||||
|
|
||||||
resp, err := hc.Check(ctx, &healthv1.HealthCheckRequest{})
|
|
||||||
if err != nil {
|
|
||||||
return nil, fmt.Errorf("can't verify thoth health at %s: %w", thothURL, err)
|
|
||||||
}
|
|
||||||
|
|
||||||
if resp.Status != healthv1.HealthCheckResponse_SERVING {
|
|
||||||
return nil, fmt.Errorf("thoth is not healthy, wanted %s but got %s", healthv1.HealthCheckResponse_SERVING, resp.Status)
|
|
||||||
}
|
|
||||||
|
|
||||||
return &Client{
|
return &Client{
|
||||||
conn: conn,
|
conn: conn,
|
||||||
health: hc,
|
health: hc,
|
||||||
|
|||||||
Reference in New Issue
Block a user