fix: use public SharedCode clone URL
This commit is contained in:
1 parent
d9d31bc921
commit
b2ffa39148
7 files changed
+9
-9
No files matched your search
@@ -37,7 +37,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for attempt in 1 2 3 4 5; do
|
for attempt in 1 2 3 4 5; do
|
||||||
rm -rf SharedCode
|
rm -rf SharedCode
|
||||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if [ "$attempt" -eq 5 ]; then
|
if [ "$attempt" -eq 5 ]; then
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for attempt in 1 2 3 4 5; do
|
for attempt in 1 2 3 4 5; do
|
||||||
rm -rf SharedCode
|
rm -rf SharedCode
|
||||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if [ "$attempt" -eq 5 ]; then
|
if [ "$attempt" -eq 5 ]; then
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for attempt in 1 2 3 4 5; do
|
for attempt in 1 2 3 4 5; do
|
||||||
rm -rf SharedCode
|
rm -rf SharedCode
|
||||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if [ "$attempt" -eq 5 ]; then
|
if [ "$attempt" -eq 5 ]; then
|
||||||
@@ -77,7 +77,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for attempt in 1 2 3 4 5; do
|
for attempt in 1 2 3 4 5; do
|
||||||
rm -rf SharedCode
|
rm -rf SharedCode
|
||||||
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then
|
if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if [ "$attempt" -eq 5 ]; then
|
if [ "$attempt" -eq 5 ]; then
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
[submodule "SharedCode"]
|
[submodule "SharedCode"]
|
||||||
path = SharedCode
|
path = SharedCode
|
||||||
url = https://repos.gfranz.ch/Gabriel20xx/SharedCode.git
|
url = https://repos.gfranz.ch/Gabriel20xx/SharedCode
|
||||||
branch = main
|
branch = main
|
||||||
+1
-1
@@ -3,7 +3,7 @@ RUN apk add --no-cache git
|
|||||||
WORKDIR /frontend
|
WORKDIR /frontend
|
||||||
COPY frontend/package*.json ./
|
COPY frontend/package*.json ./
|
||||||
RUN --mount=type=bind,source=SharedCode.git,target=/tmp/SharedCode.git,readonly \
|
RUN --mount=type=bind,source=SharedCode.git,target=/tmp/SharedCode.git,readonly \
|
||||||
git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode.git" && \
|
git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode" && \
|
||||||
for attempt in 1 2 3 4 5; do \
|
for attempt in 1 2 3 4 5; do \
|
||||||
npm ci && break; \
|
npm ci && break; \
|
||||||
if [ "$attempt" -eq 5 ]; then exit 1; fi; \
|
if [ "$attempt" -eq 5 ]; then exit 1; fi; \
|
||||||
|
|||||||
Generated
+2
-2
@@ -8,7 +8,7 @@
|
|||||||
"name": "collabtable-server-frontend",
|
"name": "collabtable-server-frontend",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main",
|
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main",
|
||||||
"@lucide/svelte": "latest",
|
"@lucide/svelte": "latest",
|
||||||
"@tanstack/svelte-query": "latest",
|
"@tanstack/svelte-query": "latest",
|
||||||
"bits-ui": "latest",
|
"bits-ui": "latest",
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
},
|
},
|
||||||
"node_modules/@gabriel20xx/shared-code": {
|
"node_modules/@gabriel20xx/shared-code": {
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main",
|
"resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"vite": "latest"
|
"vite": "latest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main",
|
"@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main",
|
||||||
"@lucide/svelte": "latest",
|
"@lucide/svelte": "latest",
|
||||||
"@tanstack/svelte-query": "latest",
|
"@tanstack/svelte-query": "latest",
|
||||||
"bits-ui": "latest",
|
"bits-ui": "latest",
|
||||||
|
|||||||
Reference in new issue
Block a user