Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add jenkins ci config #806

Merged
merged 4 commits into from
Sep 24, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .circleci/config.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: node_js
node_js:
- 8.11
before_install:
- npm i -g npm@6.0.0
- 8.12.0
env:
- NO_SANDBOX=true
install: npm ci
Expand Down
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
build:
npm --version
# Pin the npm version to 6.4.1 (as bundled with node 8.12)
# Using npx is a workaround for npm<5.6 not being able to self update
# See: https://github.com/ipfs/ci-websites/issues/3
npx npm@5.6 i -g npm@6.4.1
npm --version
npm ci
npm run lint
npm test
npm run build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The app is built with [`create-react-app`](https://github.com/facebook/create-re

## Install

With `node` >= 8.9 and `npm` >= 6.0 installed, run
With `node` >= 8.12 and `npm` >= 6.4.1 installed, run

```sh
> npm install
Expand Down
7 changes: 7 additions & 0 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
website([
website: 'webui.ipfs.io',
build_directory: 'build/',
record: [
'master': '_dnslink',
]
])
2 changes: 1 addition & 1 deletion test/e2e/navigation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ it('Navigation test: node running', async () => {

await addMockIpfs(page)

const waitForTitle = title => page.waitForFunction(`document.title === '${title}'`, { timeout: 5000 })
const waitForTitle = title => page.waitForFunction(`document.title === '${title}'`, { timeout: 8000 })

await page.goto(appUrl)
await waitForTitle('Status - IPFS')
Expand Down