I know this has to be something i am doing but it’s driving me nuts.
I have CI set up and a runner on a windows PC in my house. CE is running in a docker on unraid also at my house.
I have a Vue webapp that i have been working on for a while. I recently decided it was getting big enough that i needed to start doing some proper versioning so i made quite a few commits trying to get the versioning right. When i looked at the files i realized the version numbers weren’t coming up.
So here is my findings so far. On my machine i can NPM RUN BUILD and everything build into my local dist folder without an issue. I can go onto the runner and open the project folder and do an NPM RUN BUILD and the dist folder gets the right data. I have deleted all the old builds thinking maybe it was a gitlab link problem just serving old files, i have completely removed the runner and all files and re-paired it to the server. What the heck am i missing?
I am running as basic of a CI file as i can imagine but for some reason it runs the job and “passes” but the version available for download is many commits old.
Here is my CI file. The output from the build whines about an SSL certs but everything else seems to complete fine. If you want a full paste let me know and i’ll go pull one of those too.
Any ideas why i’m not getting a current build on these?
latestBuild: stage: build script: - npm install --progress=false - npm run build only: - tags - release - pre-release artifacts: name: "MaintCenter_%CI_COMMIT_REF_NAME%_%date:~-10,2%%date:~-7,2%%date:~-4,4%" expire_in: 4 weeks paths: - dist