This file contains hidden or 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
| deploy_dev: | |
| stage: deploy | |
| dependencies: | |
| - test | |
| environment: | |
| name: Development | |
| image: alpine | |
| script: | |
| # Environment variables | |
| - export DOMAIN=$(echo "$CI_ENVIRONMENT_URL" | sed -e 's|^https://||;s|/.*$||') |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: ###NAME###-service | |
| labels: | |
| name: ###NAME###-service | |
| environment: dev | |
| spec: | |
| type: LoadBalancer | |
| loadBalancerIP: ###LOAD_BALANCER_IP### |
This file contains hidden or 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
| stages: | |
| - build | |
| - test | |
| - deploy | |
| variables: | |
| # from https://storage.googleapis.com/kubernetes-release/release/stable.txt | |
| K8S_STABLE_VERSION_URL: https://storage.googleapis.com/kubernetes-release/release/v1.10.4/bin/linux/amd64/kubectl | |
| build: |
This file contains hidden or 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
| export function filter<T, U extends T>( | |
| array: T[], | |
| f: (x: T) => x is U | |
| ) : U[]; | |
| export function filter<T>( | |
| array: T[], | |
| f: (x: T) => boolean | |
| ) : T[]; | |
| export function filter<T, U extends T>( | |
| array: ReadonlyArray<T>, |
This file contains hidden or 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
| function Node(this: Node, kind: SyntaxKind, pos: number, end: number) { | |
| this.pos = pos; | |
| this.end = end; | |
| this.kind = kind; | |
| this.id = 0; | |
| this.flags = NodeFlags.None; | |
| this.modifierFlagsCache = ModifierFlags.None; | |
| this.transformFlags = TransformFlags.None; | |
| this.parent = undefined; | |
| this.original = undefined; |
This file contains hidden or 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
| /** | |
| * Filters an array by a predicate function. Returns the same array instance if the predicate is | |
| * true for all elements, otherwise returns a new array instance containing the filtered subset. | |
| */ | |
| export function filter<T, U extends T>(array: T[], f: (x: T) => x is U ): U[]; | |
| export function filter<T >(array: T[], f: (x: T) => boolean): T[]; | |
| export function filter<T, U extends T>(array: ReadonlyArray<T> , f: (x: T) => x is U ): ReadonlyArray<U>; | |
| export function filter<T, U extends T>(array: ReadonlyArray<T> , f: (x: T) => boolean): ReadonlyArray<T>; | |
| export function filter<T >(array: T[], f: (x: T) => boolean): T[] { | |
| if (array) { |
This file contains hidden or 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
| /** | |
| * Filters an array by a predicate function. Returns the same array instance if the predicate is | |
| * true for all elements, otherwise returns a new array instance containing the filtered subset. | |
| */ | |
| export function filter<T, U extends T>(array: T[], f: (x: T) => x is U): U[]; | |
| export function filter<T>(array: T[], f: (x: T) => boolean): T[]; | |
| export function filter<T, U extends T>(array: ReadonlyArray<T>, f: (x: T) => x is U): ReadonlyArray<U>; | |
| export function filter<T, U extends T>(array: ReadonlyArray<T>, f: (x: T) => boolean): ReadonlyArray<T>; | |
| export function filter<T>(array: T[], f: (x: T) => boolean): T[] { | |
| if (array) { |
This file contains hidden or 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
| import { Schemas } from 'vs/base/common/network' ; | |
| import { IProcessEnvironment , isMacintosh } from 'vs/base/common/platform' ; | |
| import { TPromise } from 'vs/base/common/winjs.base' ; | |
| import { whenDeleted } from 'vs/base/node/pfs' ; | |
| import { IChannel } from 'vs/base/parts/ipc/common/ipc' ; | |
| import { IConfigurationService } from 'vs/platform/configuration/common/configuration' ; | |
| import { ParsedArgs , IEnvironmentService } from 'vs/platform/environment/common/environment' ; | |
| import { createDecorator } from 'vs/platform/instantiation/common/instantiation' ; | |
| import { ILogService } from 'vs/platform/log/common/log' ; | |
| import { IURLSer |
This file contains hidden or 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
| import { Schemas } from 'vs/base/common/network'; | |
| import { IProcessEnvironment , isMacintosh } from 'vs/base/common/platform'; | |
| import { TPromise } from 'vs/base/common/winjs.base'; | |
| import { whenDeleted } from 'vs/base/node/pfs'; | |
| import { IChannel } from 'vs/base/parts/ipc/common/ipc'; | |
| import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; | |
| import { ParsedArgs , IEnvironmentService } from 'vs/platform/environment/common/environment'; | |
| import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; | |
| import { ILogService } from 'vs/platform/log/common/log'; | |
| import { IURLService } from 'vs/platform/url/common/url'; |
This file contains hidden or 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
| const columns = [ | |
| { | |
| name: 'id', | |
| index: 'id', | |
| width: 55 | |
| }, | |
| { | |
| name: 'invdate', | |
| index: 'invdate', | |
| width: 90 |