Commit graph

18 commits

Author SHA1 Message Date
Sanne Raymaekers
cc6a96c05d .travis: Enable stage-stable and prod-stable branches 2022-04-21 14:42:55 +02:00
Sanne Raymaekers
940caa87bd .travis: Drop custom release script 2022-04-14 13:43:03 +02:00
Sanne Raymaekers
c124439112 package.json: Simplify scripts
It's important to have NODE_ENV=production during build time in travis,
as packages can have different build artifacts depending on the NODE_ENV
value.
2022-04-12 20:03:38 +02:00
Sanne Raymaekers
cd9149e757 .travis: Use npm ci to install dependencies 2022-02-22 15:40:55 +01:00
Martin Maroši
7e77a3198a Require npm@7 to install dependencies. 2021-10-12 15:03:04 +02:00
Sanne Raymaekers
fb862bfaa9 .travis.yml: Only build the main and prod-beta branch
This avoids double builds on the npm-update PRs.
2021-09-09 13:36:16 +02:00
Tom Gundersen
46fbb53e46 travis: upgrade to npm 12
This is what the starter app uses, and what most of us use locally,
so let's stay consistent.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2021-05-21 19:23:14 +02:00
Sanne Raymaekers
2e5eaa85d9 package.json: Pin exact versions 2021-04-12 15:58:58 +02:00
Sanne Raymaekers
7f6f828b56 Revert "Update travis config file to rebase on master before test running"
This reverts commit bd99a90faa.

While this is common in cockpit's projects, osbuild projects refrain
from rebasing branches.

Rebasing on master as it happens to be when the test is running, leaves
you in a state where you neither know that the branch itself is working,
nor that it will work when you actually do merge it later, because
master might have changed in between.
2020-11-11 13:04:23 +02:00
Xiaofeng Wang
bd99a90faa Update travis config file to rebase on master before test running 2020-11-11 10:22:51 +01:00
Sanne Raymaekers
ec298c769f npm: Use npm-update to keep all packages updated
Rather than freezing the packages and updating them manually, use
npm-update to have the latest available version.
2020-11-02 19:40:48 +01:00
Ryan Long
e71004f291
update keys for deployments (#28) 2020-10-30 10:39:57 -05:00
Jacob Kozol
ea09205a27 test: add initial jest tests
Basic jest tests are added for the landing page. These tests use the
react testing library so the enzyme dependencies are removed from the
package.json. The travis config is also updated.
2020-10-22 10:23:08 +02:00
Sanne Raymaekers
16ec5a7e3f
On travis run with NODE_ENV=production (#11)
* package.json: Clean up scripts

* travis: Run travis build scripts

These run with NODE_ENV=production, which is needed to have correct
routing on all clouddot instances.
2020-09-22 08:23:26 -05:00
Major Hayden
4c6c3fae1b 📦 package.json: Update scripts section
The starter app has been updated over the last few months and new
options are required in the `scripts` section of `package.json`.

Bring the `scripts` section in line with the starter app to fix some
issues around routing requests to `/beta` in CI.

Signed-off-by: Major Hayden <major@redhat.com>
2020-09-22 10:30:34 +02:00
Sanne Raymaekers
bd62e178ce
travis: Configure travis builds (#5)
This should upload builds to osbuild/image-builder-frontend-build.
2020-09-21 10:57:45 -05:00
sanne raymaekers
f62384485b Rename to image-builder-frontend 2020-09-14 12:16:35 +02:00
sanne raymaekers
f93d36b972 copy from RedHatInsights/insights-frontend-starter-app template
Copied removing unused parts, and includes some initial changes.
2020-04-15 12:46:02 +02:00