Skip to content

Commit 9be5621

Browse files
committed
fix: update submodules
1 parent d029c97 commit 9be5621

8 files changed

Lines changed: 80 additions & 12 deletions

File tree

.github/workflows/develop.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ jobs:
1111
permissions:
1212
contents: read
1313
packages: write
14-
14+
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818
with:
1919
submodules: recursive
20-
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
2122
- name: Extract branch tag
2223
id: tag
2324
run: |
@@ -95,7 +96,8 @@ jobs:
9596
uses: actions/checkout@v4
9697
with:
9798
submodules: recursive
98-
99+
token: ${{ secrets.GITHUB_TOKEN }}
100+
99101
- name: Extract branch tag
100102
id: tag
101103
run: |
@@ -123,16 +125,20 @@ jobs:
123125
- name: Load Docker image into kind
124126
run: |
125127
TAG="${{ steps.tag.outputs.tag }}"
126-
docker pull ghcr.io/${{ github.repository }}:${TAG}
127-
kind load docker-image ghcr.io/${{ github.repository }}:${TAG} --name mapas-test
128+
REPO="${{ github.repository }}"
129+
REPO_LOWER=$(echo "$REPO" | tr '[:upper:]' '[:lower:]')
130+
docker pull ghcr.io/${REPO_LOWER}:${TAG}
131+
kind load docker-image ghcr.io/${REPO_LOWER}:${TAG} --name mapas-test
128132
129133
- name: Install helm chart
130134
run: |
131135
TAG="${{ steps.tag.outputs.tag }}"
136+
REPO="${{ github.repository }}"
137+
REPO_LOWER=$(echo "$REPO" | tr '[:upper:]' '[:lower:]')
132138
helm install mapas gitops/charts/mapas \
133139
--namespace mapas-test \
134140
--create-namespace \
135-
--set image.repository=ghcr.io/${{ github.repository }} \
141+
--set image.repository=ghcr.io/${REPO_LOWER} \
136142
--set image.tag=${TAG} \
137143
--set postgresql.enabled=false \
138144
--set redis.enabled=false \

.github/workflows/release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
submodules: recursive
20-
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
2122
- name: Docker meta
2223
id: meta
2324
uses: docker/metadata-action@v5
@@ -91,7 +92,8 @@ jobs:
9192
uses: actions/checkout@v4
9293
with:
9394
submodules: recursive
94-
95+
token: ${{ secrets.GITHUB_TOKEN }}
96+
9597
- name: Set up Helm
9698
uses: azure/setup-helm@v4
9799
with:
@@ -106,16 +108,20 @@ jobs:
106108
- name: Load Docker image into kind
107109
run: |
108110
IMAGE_TAG="${{ github.ref_name }}"
109-
docker pull ghcr.io/${{ github.repository }}:${IMAGE_TAG}
110-
kind load docker-image ghcr.io/${{ github.repository }}:${IMAGE_TAG} --name mapas-test
111+
REPO="${{ github.repository }}"
112+
REPO_LOWER=$(echo "$REPO" | tr '[:upper:]' '[:lower:]')
113+
docker pull ghcr.io/${REPO_LOWER}:${IMAGE_TAG}
114+
kind load docker-image ghcr.io/${REPO_LOWER}:${IMAGE_TAG} --name mapas-test
111115
112116
- name: Install helm chart
113117
run: |
114118
IMAGE_TAG="${{ github.ref_name }}"
119+
REPO="${{ github.repository }}"
120+
REPO_LOWER=$(echo "$REPO" | tr '[:upper:]' '[:lower:]')
115121
helm install mapas gitops/charts/mapas \
116122
--namespace mapas-test \
117123
--create-namespace \
118-
--set image.repository=ghcr.io/${{ github.repository }} \
124+
--set image.repository=ghcr.io/${REPO_LOWER} \
119125
--set image.tag=${IMAGE_TAG} \
120126
--set postgresql.enabled=true \
121127
--set redis.enabled=false \

.gitmodules

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
[submodule "src/plugins/AdminLoginAsUser"]
2+
path = src/plugins/AdminLoginAsUser
3+
url = https://github.com/mapasculturais/plugin-AdminLoginAsUser
4+
[submodule "src/themes/RCV"]
5+
path = src/themes/RCV
6+
url = https://gitlab.hacklab.com.br/mapas/theme-rcv.git
7+
[submodule "src/themes/Pnab"]
8+
path = src/themes/Pnab
9+
url = https://github.com/culturagovbr/theme-Pnab
10+
[submodule "src/plugins/SpamDetector"]
11+
path = src/plugins/SpamDetector
12+
url = https://github.com/culturagovbr/plugin-SpamDetector
13+
[submodule "src/plugins/RecreatePCacheOnLogin"]
14+
path = src/plugins/RecreatePCacheOnLogin
15+
url = https://github.com/culturagovbr/plugin-RecreatePCacheOnLogin
16+
[submodule "src/themes/MapaMinC"]
17+
path = src/themes/MapaMinC
18+
url = https://github.com/culturagovbr/theme-MapaMinC
19+
[submodule "src/themes/Funarte"]
20+
path = src/themes/Funarte
21+
url = https://github.com/redemapas/theme-Funarte
22+
[submodule "src/plugins/Metabase"]
23+
path = src/plugins/Metabase
24+
url = https://github.com/culturagovbr/plugin-Metabase
25+
[submodule "src/plugins/MapasBlame"]
26+
path = src/plugins/MapasBlame
27+
url = https://github.com/culturagovbr/plugin-MapasBlame
28+
[submodule "src/plugins/ValuersManagement"]
29+
path = src/plugins/ValuersManagement
30+
url = https://github.com/Periferias/plugin-ValuersManagement
31+
[submodule "src/themes/PeriferiaViva25"]
32+
path = src/themes/PeriferiaViva25
33+
url = https://github.com/Periferias/theme-ppv-25
34+
[submodule "src/plugins/MultipleLocalAuth"]
35+
path = src/plugins/MultipleLocalAuth
36+
url = https://github.com/mapasculturais/plugin-MultipleLocalAuth
137
[submodule "src/plugins/MapasNetwork"]
238
path = src/plugins/MapasNetwork
3-
url = git@github.com:RedeMapas/plugin-MapasNetwork.git
39+
url = https://github.com/RedeMapas/plugin-MapasNetwork
40+
[submodule "src/plugins/WhatsAppFloating"]
41+
path = src/plugins/WhatsAppFloating
42+
url = https://github.com/RedeMapas/plugin-WhatsAppFloating
43+
[submodule "plugins/Accessibility"]
44+
path = plugins/Accessibility
45+
url = https://github.com/mapasculturais/plugin-Accessibility
46+
[submodule "plugins/Analytics"]
47+
path = plugins/Analytics
48+
url = https://github.com/mapasculturais/plugin-Analytics
49+
[submodule "src/plugins/CustomEntity"]
50+
path = src/plugins/CustomEntity
51+
url = https://github.com/mapasculturais/plugin-CustomEntity
52+
[submodule "src/themes/RedeMapas"]
53+
path = src/themes/RedeMapas
54+
url = https://github.com/redemapas/theme-redemapas

src/themes/Funarte

Submodule Funarte added at c857fc3

src/themes/MapaMinC

Submodule MapaMinC added at 8dce1eb

src/themes/Pnab

Submodule Pnab added at 856455e

src/themes/RCV

Submodule RCV added at e4ecd78

src/themes/RedeMapas

Submodule RedeMapas added at d55d8da

0 commit comments

Comments
 (0)