-
QA2 Maintenance CI system (< LTS 2021)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# nuxeoctl configure is needed to process templates | |
docker run --rm \ | |
-v $PWD/nuxeo.war:$NUXEO_HOME/nxserver/nuxeo.war \ | |
docker-private.packages.nuxeo.com/nuxeo/nuxeo \ | |
/bin/bash -c "$NUXEO_HOME/bin/nuxeoctl configure; java -cp $NUXEO_HOME/nxserver/bundles/*:$NUXEO_HOME/nxserver/lib/*:$NUXEO_HOME/lib/* -Dnuxeo.home="$NUXEO_HOME" org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor $NUXEO_HOME/nxserver" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# build kind cluster | |
if k3d ls | grep "k3s-nuxeo" >/dev/null; then | |
k3d delete -n k3s-nuxeo | |
fi | |
k3d create -n k3s-nuxeo -p 80:80 --wait 60 | |
KUBECONFIG=$(k3d get-kubeconfig --name='k3s-nuxeo') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# build kind cluster | |
if kind get clusters | grep "nuxeo" >/dev/null; then | |
kind delete cluster --name nuxeo | |
fi | |
# https://kind.sigs.k8s.io/docs/user/ingress/#create-cluster | |
cat <<EOF | kind create cluster --wait 2m --name nuxeo --config=- | |
kind: Cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Time between pages | |
const TIMEOUT = 5 * 1000; | |
// https://chromedevtools.github.io/devtools-protocol/ | |
const BASE = 'http://localhost:9222'; | |
const open = url => fetch(`${BASE}/json/new?${url}`).then(r => r.json()); | |
const activate = target => fetch(`${BASE}/json/activate/${target.id}`); | |
const ws = target => new Promise(resolve => (new WebSocket(target.webSocketDebuggerUrl).onopen = e => resolve(e.target))); | |
const reload = target => ws(target).then(c => c.send(JSON.stringify({id: 0, method: 'Page.reload'}))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@license | |
Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | |
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt | |
Code distributed by Google as part of the polymer project is also | |
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dom-module id="nuxeo-grid"> | |
<template> | |
<style> | |
:host { | |
display: block; | |
@apply(--paper-font-common-base); | |
} | |
iron-list { |
NewerOlder