フ0フ0
フ0フ0
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
I will try to do that, thanks for your help, still feels weird about this problem tho
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
It's a possibility, do you think it might resolve the problem ?
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
There must be a difference between the two of them, something is trying to be pushed that isn't when i do it manually ?
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
Yeah but in that case how can we explain that it's working just fine from the terminal ?
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
zipped my api is 168 KB. Would it be possible that it is trying to push something with it ? Like railway itself that i just installed ? Idk i'm just trying to understand haha
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
I never used git lfs so far, my api is really not that big
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
I greatly reduced my action file :
stages:
- deploy

cache:
paths:
- node_modules/
- .pnpm-store

deploy_api:
stage: deploy
image: ubuntu
script:
- apt-get update && apt-get install -y curl
- curl -fsSL https://railway.app/install.sh | sh
- railway up --service=api -d
only:
- pushes
- main
environment:
name: production
url: https://your-api-url

deploy_intra:
stage: deploy
image: ubuntu
script:
- apt-get update && apt-get install -y curl
- curl -fsSL https://railway.app/install.sh | sh
- railway up --service=intra -d
only:
- pushes
- main
stages:
- deploy

cache:
paths:
- node_modules/
- .pnpm-store

deploy_api:
stage: deploy
image: ubuntu
script:
- apt-get update && apt-get install -y curl
- curl -fsSL https://railway.app/install.sh | sh
- railway up --service=api -d
only:
- pushes
- main
environment:
name: production
url: https://your-api-url

deploy_intra:
stage: deploy
image: ubuntu
script:
- apt-get update && apt-get install -y curl
- curl -fsSL https://railway.app/install.sh | sh
- railway up --service=intra -d
only:
- pushes
- main
But the problem stay the same :
Failed to upload code. File too large (321410994 bytes)
Failed to upload code. File too large (321410994 bytes)
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
I'll try like that
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
This is really true thank you so much haha
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
It's not a good practice to have three stages in the CI/CD, test => build => deploy ?
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
5,9 Mb
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
Nothing really exceptional here
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
It's a nestjs api and nextjs api
29 replies
RRailway
Created by フ0フ0 on 3/7/2024 in #✋|help
File too large on Gitlab CI/CD
3f04c542-6a1b-4f34-9230-cf3922e8a905
29 replies