From 1d7ccae7f7784692957cd1e8efb7faf6ac5a6838 Mon Sep 17 00:00:00 2001 From: Andrei Kurilov <18027129+akurilov@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:27:49 +0300 Subject: [PATCH] feat: add the hachyderm.io server --- .github/workflows/staging.yaml | 120 +++++++++++---------- helm/int-mastodon/values-hachyderm-io.yaml | 10 ++ 2 files changed, 73 insertions(+), 57 deletions(-) create mode 100644 helm/int-mastodon/values-hachyderm-io.yaml diff --git a/.github/workflows/staging.yaml b/.github/workflows/staging.yaml index b01f20e..ef37379 100644 --- a/.github/workflows/staging.yaml +++ b/.github/workflows/staging.yaml @@ -67,68 +67,74 @@ jobs: --region ${{ secrets.GKE_CLUSTER_REGION }} \ --project ${{ secrets.GKE_PROJECT_ID }} - - name: Helm Upgrade 1 - run: | - helm upgrade --install ${COMPONENT} helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-mastodon-social-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) - - - name: Helm Upgrade 2 - run: | - helm upgrade --install ${COMPONENT}-infosec-exchange helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-infosec-exchange-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 3 - run: | - helm upgrade --install ${COMPONENT}-mstdn-social helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-mstdn-social-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 4 - run: | - helm upgrade --install ${COMPONENT}-botsin-space helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-botsin-space-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 5 - run: | - helm upgrade --install ${COMPONENT}-flipboard-social helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-flipboard-social-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 6 - run: | - helm upgrade --install ${COMPONENT}-mastodon-cloud helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-mastodon-cloud-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 7 - run: | - helm upgrade --install ${COMPONENT}-techhub-social helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-techhub-social-0.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 8 - run: | - helm upgrade --install ${COMPONENT}-mstdn-jp helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-mstdn-jp.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - +# - name: Helm Upgrade 1 +# run: | +# helm upgrade --install ${COMPONENT} helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-mastodon-social-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) +# +# - name: Helm Upgrade 2 +# run: | +# helm upgrade --install ${COMPONENT}-infosec-exchange helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-infosec-exchange-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 3 +# run: | +# helm upgrade --install ${COMPONENT}-mstdn-social helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-mstdn-social-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 4 +# run: | +# helm upgrade --install ${COMPONENT}-botsin-space helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-botsin-space-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 5 +# run: | +# helm upgrade --install ${COMPONENT}-flipboard-social helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-flipboard-social-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 6 +# run: | +# helm upgrade --install ${COMPONENT}-mastodon-cloud helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-mastodon-cloud-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 7 +# run: | +# helm upgrade --install ${COMPONENT}-techhub-social helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-techhub-social-0.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 8 +# run: | +# helm upgrade --install ${COMPONENT}-mstdn-jp helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-mstdn-jp.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# # - name: Helm Upgrade 9 # run: | # helm upgrade --install ${COMPONENT}-mastodon-world helm/package/${COMPONENT}-0.0.0.tgz \ # --values helm/int-mastodon/values-mastodon-uno.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 10 +# run: | +# helm upgrade --install ${COMPONENT}-mastodon-uno helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-mastodon-uno.yaml \ +# --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ +# +# - name: Helm Upgrade 11 +# run: | +# helm upgrade --install ${COMPONENT}-c-im helm/package/${COMPONENT}-0.0.0.tgz \ +# --values helm/int-mastodon/values-c-im.yaml \ # --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - name: Helm Upgrade 10 - run: | - helm upgrade --install ${COMPONENT}-mastodon-uno helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-mastodon-uno.yaml \ - --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ - - - name: Helm Upgrade 11 + - name: Helm Upgrade 12 run: | - helm upgrade --install ${COMPONENT}-c-im helm/package/${COMPONENT}-0.0.0.tgz \ - --values helm/int-mastodon/values-c-im.yaml \ + helm upgrade --install ${COMPONENT}-hachyderm-io helm/package/${COMPONENT}-0.0.0.tgz \ + --values helm/int-mastodon/values-hachyderm-io.yaml \ --set-string podAnnotations.commit=$(git rev-parse --short HEAD) \ diff --git a/helm/int-mastodon/values-hachyderm-io.yaml b/helm/int-mastodon/values-hachyderm-io.yaml new file mode 100644 index 0000000..554e627 --- /dev/null +++ b/helm/int-mastodon/values-hachyderm-io.yaml @@ -0,0 +1,10 @@ +mastodon: + endpoint: + accounts: "https://hachyderm.io/api/v1/accounts" + search: "https://hachyderm.io/api/v2/search" + stream: "https://hachyderm.io/api/v1/streaming/public?remote=false&only_media=false" +queue: + interestsCreated: + name: "int-mastodon-hachyderm-io" + interestsUpdated: + name: "int-mastodon-hachyderm-io"