Commit Graph

118 Commits

Author SHA1 Message Date
Sérgio Ramos
7f1d731dc6 import existing deployment groups (#516)
* refactor: config() from mutation to query

* refactor(cp-frontend): remove unused dependency

* feat(portal-watch): expose getContainers() and compose tags

* fix(portal-watch): assert services by name AND hash

* feat(portal-data): expose importable and import APIs

* fix(portal-data): add missing dependencies

* feat(portal-api): expose import/importable

* feat(cp-gql-schema): add import/importable

* feat(cp-frontend): import existing project

* style(portal-watch): lint

* style(portal-data): lint

* chore: update lockfile
2017-06-26 09:29:12 -05:00
Sérgio Ramos
20b8b23cbb chore(cp-frontend): restore Dockerfile for demo compose 2017-06-26 14:26:55 +01:00
geek
892c5a4575 chore(frontend): move docker artificats into docker folder 2017-06-26 13:59:14 +01:00
JUDIT GRESKOVITS
a373e4efa2 feat(cp-frontend, cp-gql-mock-server): add stop, start, delete to resolvers 2017-06-26 13:53:10 +01:00
Sérgio Ramos
2ea33c2a07 feat(cp-frontend): improve review stage of deployment group creation 2017-06-23 12:49:36 +01:00
Sérgio Ramos
bc679d6ac6 feat(portal-api): integrate portal-watch (#510) 2017-06-22 12:09:13 -05:00
Sérgio Ramos
8530b24691 feat(joyent-cp-frontend): integrate toolkit's SectionList 2017-06-22 11:47:25 +01:00
Sérgio Ramos
aa8d9f7a25 feat(eslint-config-joyent-portal): don't lint anything prettier related 2017-06-22 11:46:54 +01:00
geek
54a5c6a46e feat(cp-frontend): use nginx instead of serve 2017-06-22 10:43:29 +01:00
Sérgio Ramos
5307c1db1f build: change npm loglevel to info 2017-06-20 16:25:03 +01:00
Sérgio Ramos
914dbca77f build: force npm^4 2017-06-20 15:52:09 +01:00
Sérgio Ramos
76ee6b66ed build(cp-frontend): build assets on runtime 2017-06-20 15:45:50 +01:00
Sérgio Ramos
d4bedc0515 build: s/sensors.sh/sensors 2017-06-20 14:48:05 +01:00
Sérgio Ramos
7b02780472 build: remove redundant sensor 2017-06-20 14:44:40 +01:00
Sérgio Ramos
aaef6e64e1 build: ignore package-lock 2017-06-20 14:44:27 +01:00
geek
6cd39b2d8c build: extended support for containerpilot v3
with sensors and local-compose
2017-06-20 13:54:37 +01:00
Sérgio Ramos
edc5fcba87 style(joyent-cp-frontend): remove unused variables 2017-06-20 10:40:23 +01:00
Sérgio Ramos
eb37c7de49 feat(joyent-cp-frontend): integrate toolkit's Breadcrumb 2017-06-20 10:40:23 +01:00
Sérgio Ramos
b8dfb73959 build: update docker-compose ports 2017-06-20 01:11:15 +01:00
Sérgio Ramos
86662ae170 build: update config files to support containerpilot v3 2017-06-20 00:18:34 +01:00
Sérgio Ramos
443752dc75 build: don't uglify 2017-06-19 15:29:33 +01:00
Sérgio Ramos
29b42fd4fc chore: remove packages' yarn-lock
related: https://github.com/lerna/lerna/issues/852
2017-06-19 13:50:10 +01:00
JUDIT GRESKOVITS
7e359e5836 feat: number input and mutations for restart, stop and start 2017-06-19 13:48:34 +01:00
Sérgio Ramos
97a820688b fix(joyent-cp-frontend): destruct data in handleQuickActionsClick 2017-06-16 23:41:28 +01:00
Sérgio Ramos
487e96e261 test(joyent-cp-frontend): disable ci tests (for now) 2017-06-16 23:18:23 +01:00
Sérgio Ramos
054306bb73 fix(joyent-cp-frontend): warn on debugger 2017-06-16 23:13:48 +01:00
Sérgio Ramos
c65706c0ab fix(joyent-cp-frontend): send event when calling onQuickActionsClick 2017-06-16 23:13:12 +01:00
Sérgio Ramos
eeb4fde251 fix(joyent-cp-frontend): fix prettier errors 2017-06-16 23:03:35 +01:00
Sérgio Ramos
ce3f63eaae fix(joyent-cp-frontend): patch react-scripts to use eslintrc 2017-06-16 23:01:06 +01:00
Sérgio Ramos
b22121cb93 fix: downgrade eslint 2017-06-16 22:45:45 +01:00
Sérgio Ramos
871893598f chore: restore removed packages 2017-06-16 21:46:36 +01:00
Sérgio Ramos
18be101068 chore: re-align dependencies 2017-06-16 21:08:33 +01:00
JUDIT GRESKOVITS
bd2bf728c6 feat(joyent-cp-frontend,joyent-ui-toolkit,joyent-cp-gql-mock-data): Scaling and delete modals 2017-06-16 15:19:30 +01:00
Sérgio Ramos
6cfeae136d chore: fix linting with hoisted eslint 2017-06-15 17:11:40 +01:00
Sérgio Ramos
4923f39463 fix(joyent-cp-frontend): add polling interval to dg list 2017-06-15 17:11:40 +01:00
geek
5220139fdb bug(portal-data): query by deployment slug works 2017-06-15 17:11:40 +01:00
Sérgio Ramos
1cc2330b22 feat(joyent-cp-frontend): create dg initial implementation 2017-06-15 17:11:40 +01:00
Sérgio Ramos
b6f6f1b2a8 fix(joyent-cp-frontend): fix fallback gql hostname 2017-06-07 16:56:33 +01:00
Sérgio Ramos
6ab74d4216 test(joyent-cp-frontend): update Header snapshots 2017-06-07 15:09:49 +01:00
Sérgio Ramos
f17fae6a74 feat(joyent-cp-frontend): integrate toolkit's Header 2017-06-07 15:09:49 +01:00
Sérgio Ramos
1510341307 test(joyent-cp-frontend): bootstrap unit tests 2017-06-07 10:27:33 +01:00
geek
7b9a40a8f9 chore: bootstrap data for frontend 2017-06-06 10:38:59 +01:00
Sérgio Ramos
caf07a24d9 build(joyent-cp-frontend): build after setting ENV 2017-06-02 01:03:51 +01:00
Sérgio Ramos
5c34c94935 build: reference the right serve bin 2017-06-02 00:25:23 +01:00
Sérgio Ramos
6bc4d25521 build: don't yarn global 2017-06-01 23:50:13 +01:00
Sérgio Ramos
7dcf112309 style(joyent-cp-frontend): ignore build 2017-06-01 23:35:01 +01:00
Sérgio Ramos
2ce47eb669 build(joyent-cp-frontend): build for demo 2017-06-01 23:32:58 +01:00
Sérgio Ramos
7445a9a3e5 docs: fix demo links 2017-06-01 21:09:05 +01:00
Sérgio Ramos
0503802282 ci: better run-parallel error log 2017-06-01 17:04:13 +01:00
JUDIT GRESKOVITS
8cd863f394 fix(joyent-cp-frontend,joyent-ui-toolkit): Uuids become ids 2017-06-01 15:05:10 +01:00
Sérgio Ramos
539e1ea35e fix(joyent-cp-frontend): set REACT_APP_GQL_HOSTNAME 2017-06-01 12:10:14 +01:00
Sérgio Ramos
23871f351c docs: add demo links to readmes 2017-06-01 11:59:06 +01:00
JUDIT GRESKOVITS
cab7411454 feat(joyent-ui-toolkit,joyent-cp-frontend): Quick actions show and hide 2017-06-01 11:08:32 +01:00
Sérgio Ramos
df5d8655f9 fix(joyent-cp-frontend): use a dynamic graphql hostname 2017-05-31 22:48:33 +01:00
Sérgio Ramos
1b672c5667 docs: add container badges 2017-05-31 22:35:35 +01:00
Sérgio Ramos
0667ca8ad3 chore: different test targets for CI
this allows for junit reports and parallel executions
2017-05-31 20:04:12 +01:00
Sérgio Ramos
fdbfeb2e37 chore: setup docker-compose.yml 2017-05-30 18:54:20 +01:00
geek
1efcc32748 chore(portal-data): move portal-data to packages 2017-05-25 21:07:34 +01:00
JUDIT GRESKOVITS
d93ab9eb74 Merge branch 'master' of https://github.com/yldio/joyent-portal 2017-05-25 17:49:56 +01:00
JUDIT GRESKOVITS
5ffa07aeee feat(cp-frontend): Move portal query to header, display result, return user from mock server 2017-05-25 17:32:19 +01:00
Sérgio Ramos
e2c0845145 chore: publish
- cloudapi-gql@1.0.4
 - joyent-cp-frontend@1.1.0
 - joyent-cp-gql-mock-server@1.0.4
 - joyent-cp-gql-schema@1.0.4
 - joyent-cp-rdb-bootstrap@1.0.4
 - normalized-styled-components@1.0.5
 - pseudo-json-ast@1.0.6
 - pseudo-yaml-ast@1.0.6
 - remcalc@1.0.5
 - rnd-id@1.0.5
 - styled-is@1.0.7
 - joyent-ui-toolkit@1.1.0
 - unitcalc@1.0.5
2017-05-25 16:07:31 +01:00
Sérgio Ramos
f3e531dbd8 feat(cp-frontend,ui-toolkit): style inheritance using .extend (#458)
styled-components@2 exposes a new `.extend`[1] API. It is less problematic than
styled(Parent).

[1]: https://www.styled-components.com/docs/basics#extending-styles
2017-05-25 09:59:58 -05:00
Sérgio Ramos
d2ac10ae28 fix(cp-frontend): use postinstall hook to patch react-scripts
instead of `install`
2017-05-25 14:57:41 +01:00
Sérgio Ramos
73899b2784 fix(cp-frontend): gracefully handle multiple postinstall executions
checks if the webpack backup exists already before trying to create it
2017-05-25 14:41:29 +01:00
Sérgio Ramos
c45fb3ce41 chore: publish
- cloudapi-gql@1.0.3
 - joyent-cp-frontend@1.0.3
 - joyent-cp-gql-mock-server@1.0.3
 - joyent-cp-gql-schema@1.0.3
 - joyent-cp-rdb-bootstrap@1.0.3
 - normalized-styled-components@1.0.4
 - pseudo-json-ast@1.0.5
 - pseudo-yaml-ast@1.0.5
 - remcalc@1.0.4
 - rnd-id@1.0.4
 - styled-is@1.0.6
 - joyent-ui-toolkit@1.0.3
 - unitcalc@1.0.4
2017-05-25 14:21:02 +01:00
Sérgio Ramos
185916e9bf chore: update dependencies 2017-05-25 13:47:44 +01:00
Sérgio Ramos
5fb69bec22 chore(cp-frontend): assert nsc imports are after sc's
nsc = normalized-styled-components
sc = styled-components
2017-05-25 13:15:18 +01:00
Sérgio Ramos
8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00