Here is what I am getting on failed builds, happened earlier today, fixed itself and now again failing. Looks like an issue on their end:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on IonicJS Runner 2 (7981969b)
Using Shell executor…
Running on ip-10-2-14-88…
Cloning repository…
Cloning into ‘/home/gitlab-runner/builds/7981969b/0/project-1’…
Checking out 12724826 as master…
Skipping Git submodules setup
$ fetch-updates
Running after script…
$ clean-up
Cleaning up files…
Successful clean up
ERROR: Job failed: exit status 1
ionic info output below, I think the problem is with the fetch-updates line, I think it is timing out (a guess based on watching the logs as they happen, via their web admin ui). I opened a ticket with them, lets see how long till I get a response. Right now I don’t think Ionic PRO is ready for production deployment. Tomorrow I will start looking at CodePush. Now that they are getting rid of Push and Auth it leaves me only using Deploy.
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on IonicJS Snapshot Runner (6c67ff43)
Using Shell executor...
Running on ip-10-2-14-88...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/6c67ff43/0/project-1'...
Checking out 46c264cb as master...
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates...
$ build-app
Fetching build dependencies...
Running: npm install
It seems that it was only a coincidence, I had to reset the branch I was working on and it works with an older app-scripts version. Ionic Pro might have had an issue with their build script
Ok, I now have an update on this. It seems to have been caused by a brief outage. There was then another outage yesterday, due to an AWS issue.
We don’t have any reason to believe this will recur, but please let us know if you see any more problems.
Thanks!
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on Prod Snapshot Builds 1 (c9648220)
Using Shell executor...
Running on ip-10-2-50-5...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/c9648220/2/project-1'...
Checking out 9c6af159 as master...
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates...
$ build-app
Fetching build dependencies...
Running after script...
$ clean-up
Cleaning up files...
Successful clean up
ERROR: Job failed: exit status 1
EDIT: Ok I retry with the same code and now the build worked… Very strange…
Error: /usr/src/app/src/pages/news/news.ts has a @IonicPage decorator, but it does not have a corresponding “NgModule” at /usr/src/app/src/pages/news/news.module.ts Error: /usr/src/app/src/pages/news/news.ts has a decorator, but it does not have a corresponding “NgModule” at /usr/src/app/src/pages/news/news.module.ts at new BuildError (/usr/src/app/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28) at /usr/src/app/node_modules/@ionic/app-scripts/dist/deep-linking.js:57:u7121:
After removing @IonicPage from the TC file, there was a problem:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89) on Prod Snapshot Builds 1 (c9648220) Using Shell executor… Running on ip-10-2-25-214… Cloning repository… Cloning into ‘/home/gitlab-runner/builds/c9648220/2/project-1’… Checking out a73e7bbc as ElprofApp… Skipping Git submodules setup fetch-updates Checking for build process updates... build-app Fetching build dependencies… Running after script… $ clean-up Cleaning up files… Successful clean up ERROR: Job failed: exit status 1