Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 2cee6b1

Browse files
authored
Merge pull request #196 from triggermesh/service-schedule
Service events scheduling
2 parents e024707 + 1d6dc4f commit 2cee6b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1654
-477
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright (c) 2018 TriggerMesh, Inc
189+
Copyright (c) 2020 TriggerMesh Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ steps:
1111
- ${_KANIKO_EXTRA_ARGS}
1212
waitFor: ['-']
1313

14+
timeout: 1800s
15+
1416
substitutions:
1517
_KANIKO_IMAGE_TAG: "latest"
1618
_KANIKO_NO_PUSH: "false"

cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 TriggerMesh, Inc
1+
// Copyright 2020 TriggerMesh Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 TriggerMesh, Inc
1+
// Copyright 2020 TriggerMesh Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/deploy.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 TriggerMesh, Inc
1+
// Copyright 2020 TriggerMesh Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -15,8 +15,6 @@
1515
package cmd
1616

1717
import (
18-
"fmt"
19-
2018
"github.com/spf13/cobra"
2119
"github.com/triggermesh/tm/pkg/client"
2220
)
@@ -29,10 +27,7 @@ func newDeployCmd(clientset *client.ConfigSet) *cobra.Command {
2927
Run: func(cmd *cobra.Command, args []string) {
3028
s.Namespace = client.Namespace
3129
if clientset.Log.IsDebug() && concurrency > 1 {
32-
clientset.Log.Warnf(`You are about to run %d deployments in parallel with verbose output.
33-
It's better to either add "--concurrency=1" argument or remove debug flag.
34-
Press Ctr+C to abort or Enter to continue anyway...`, concurrency)
35-
fmt.Scanln()
30+
clientset.Log.Warnf(`You are about to run %d deployments in parallel with verbose logging - the output may be unreadable.`, concurrency)
3631
}
3732
if err := s.DeployYAML(yaml, args, concurrency, clientset); err != nil {
3833
clientset.Log.Fatal(err)

cmd/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 TriggerMesh, Inc
1+
// Copyright 2020 TriggerMesh Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2018 TriggerMesh, Inc
2+
Copyright (c) 2020 TriggerMesh Inc.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

cmd/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 TriggerMesh, Inc
1+
// Copyright 2020 TriggerMesh Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/set.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 TriggerMesh, Inc
1+
// Copyright 2020 TriggerMesh Inc.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

go.mod

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,35 @@ module github.com/triggermesh/tm
33
go 1.13
44

55
require (
6-
contrib.go.opencensus.io/exporter/ocagent v0.6.0 // indirect
7-
contrib.go.opencensus.io/exporter/stackdriver v0.12.9 // indirect
86
github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect
9-
github.com/dsnet/compress v0.0.1 // indirect
10-
github.com/frankban/quicktest v1.7.2 // indirect
117
github.com/ghodss/yaml v1.0.0
12-
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
8+
github.com/json-iterator/go v1.1.10 // indirect
139
github.com/knative/build v0.7.0
1410
github.com/knative/pkg v0.0.0-20190624141606-d82505e6c5b4
1511
github.com/mholt/archiver v2.1.0+incompatible
16-
github.com/nwaples/rardecode v1.0.0 // indirect
1712
github.com/olekukonko/tablewriter v0.0.4
18-
github.com/openzipkin/zipkin-go v0.2.2 // indirect
1913
github.com/pierrec/lz4 v2.4.0+incompatible // indirect
20-
github.com/robfig/cron v1.2.0 // indirect
21-
github.com/sirupsen/logrus v1.4.2
14+
github.com/sirupsen/logrus v1.6.0
2215
github.com/spf13/afero v1.2.2
23-
github.com/spf13/cobra v0.0.5
24-
github.com/stretchr/testify v1.4.0
25-
github.com/tektoncd/pipeline v0.11.2
16+
github.com/spf13/cobra v1.0.0
17+
github.com/stretchr/testify v1.5.1
18+
github.com/tektoncd/pipeline v0.14.0
2619
github.com/tektoncd/triggers v0.1.0
2720
github.com/tidwall/gjson v1.3.2 // indirect
28-
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
29-
google.golang.org/genproto v0.0.0-20191028173616-919d9bdd9fe6 // indirect
21+
golang.org/x/crypto v0.0.0-20200707235045-ab33eee955e0
22+
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
23+
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect
3024
gopkg.in/src-d/go-git.v4 v4.13.1
31-
gopkg.in/yaml.v2 v2.2.5
32-
k8s.io/api v0.17.2
33-
k8s.io/apimachinery v0.17.2
34-
k8s.io/client-go v0.17.0
35-
k8s.io/utils v0.0.0-20191030222137-2b95a09bc58d // indirect
36-
knative.dev/eventing v0.12.0
37-
knative.dev/eventing-contrib v0.11.2
38-
knative.dev/pkg v0.0.0-20200207155214-fef852970f43
39-
knative.dev/serving v0.12.0
40-
sigs.k8s.io/controller-runtime v0.4.0 // indirect
25+
gopkg.in/yaml.v2 v2.3.0
26+
k8s.io/api v0.18.5
27+
k8s.io/apimachinery v0.18.5
28+
k8s.io/client-go v12.0.0+incompatible
29+
k8s.io/klog/v2 v2.3.0 // indirect
30+
k8s.io/utils v0.0.0-20200619165400-6e3d28b6ed19 // indirect
31+
knative.dev/eventing v0.15.0
32+
knative.dev/eventing-contrib v0.15.0
33+
knative.dev/pkg v0.0.0-20200708171447-5358179e7499
34+
knative.dev/serving v0.15.0
4135
)
4236

4337
replace (
@@ -61,5 +55,4 @@ replace (
6155
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.0.0-20191016115707-22244e5b01eb
6256
k8s.io/metrics => k8s.io/metrics v0.0.0-20191016113728-f445c7b35c1c
6357
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.0.0-20191016112728-ceb381866e80
64-
knative.dev/pkg => knative.dev/pkg v0.0.0-20200122022923-4e81bc3c320f
6558
)

0 commit comments

Comments
 (0)