Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
734 commits
Select commit Hold shift + click to select a range
bfa381a
Update net-gateway-api nightly (#13180)
knative-automation Aug 3, 2022
e600ae7
Make Kingress reconciled with DomainMapping when adding a new label (…
xxinran Aug 4, 2022
e9a0ce9
Update net-gateway-api nightly (#13183)
knative-automation Aug 4, 2022
725c38c
Update net-kourier nightly (#13184)
knative-automation Aug 4, 2022
78ddf60
upgrade to latest dependencies (#13186)
knative-automation Aug 5, 2022
abb923e
Update net-contour nightly (#13188)
knative-automation Aug 5, 2022
838bbb0
Update net-istio nightly (#13189)
knative-automation Aug 5, 2022
19f508c
Update net-kourier nightly (#13187)
knative-automation Aug 5, 2022
f77b15e
Update net-gateway-api nightly (#13190)
knative-automation Aug 5, 2022
16730b2
Fixes resource quota test flake (#13181)
psschwei Aug 5, 2022
9399fb2
Update net-gateway-api nightly (#13195)
knative-automation Aug 8, 2022
698ac9e
Update net-contour nightly (#13194)
knative-automation Aug 8, 2022
fd833bc
Update net-kourier nightly (#13196)
knative-automation Aug 8, 2022
24e1ec2
Update net-gateway-api nightly (#13198)
knative-automation Aug 10, 2022
5bba016
A refactor of the queue volume constants (#13146)
davidhadas Aug 10, 2022
2e77abf
Fix timeout handlers to max duration instead of time to first byte (#…
nader-ziada Aug 11, 2022
b9ca11e
Update community files (#13203)
knative-automation Aug 12, 2022
8acf355
Update net-contour nightly (#13205)
knative-automation Aug 12, 2022
7cfc194
Update net-kourier nightly (#13206)
knative-automation Aug 12, 2022
86a3daf
Update net-istio nightly (#13207)
knative-automation Aug 12, 2022
fb89ff1
Update net-gateway-api nightly (#13212)
knative-automation Aug 15, 2022
468bb83
Update community files (#13213)
knative-automation Aug 15, 2022
dd2abc9
Refactor VolumeMountPath to Directory (#13202)
davidhadas Aug 15, 2022
d4601f3
Update actions (#13214)
knative-automation Aug 15, 2022
58148c5
upgrade to latest dependencies (#13215)
knative-automation Aug 16, 2022
ee06bc5
fix linting (#13216)
dprotaso Aug 16, 2022
77d24d1
Update net-gateway-api nightly (#13217)
knative-automation Aug 16, 2022
951c48c
Update net-kourier nightly (#13221)
knative-automation Aug 16, 2022
0474e35
Update net-istio nightly (#13219)
knative-automation Aug 16, 2022
15ee48d
Update net-contour nightly (#13220)
knative-automation Aug 16, 2022
dbd3fc3
Update net-certmanager nightly (#13218)
knative-automation Aug 16, 2022
b48e0e5
Update net-kourier nightly (#13223)
knative-automation Aug 17, 2022
358d04e
Update net-certmanager nightly (#13224)
knative-automation Aug 17, 2022
b3a7557
Update net-contour nightly (#13225)
knative-automation Aug 17, 2022
d89869e
Properly shutdown tracer when the work is done (#13226)
mgencur Aug 17, 2022
d60e5e7
upgrade to latest dependencies (#13227)
knative-automation Aug 18, 2022
8d0281e
Update net-istio nightly (#13222)
knative-automation Aug 18, 2022
ea5c535
stop the queue-proxy drain if we don't receive a TERM signal (#13229)
dprotaso Aug 20, 2022
765a052
Update net-certmanager nightly (#13234)
knative-automation Aug 22, 2022
2a72beb
upgrade to latest dependencies (#13238)
knative-automation Aug 22, 2022
7315b02
Update net-kourier nightly (#13236)
knative-automation Aug 22, 2022
374b282
Update community files (#13240)
knative-automation Aug 23, 2022
3178bc9
Update net-contour nightly (#13244)
knative-automation Aug 23, 2022
768e8ba
Update net-certmanager nightly (#13241)
knative-automation Aug 23, 2022
8a2fb54
Update net-istio nightly (#13242)
knative-automation Aug 23, 2022
d79b8bb
upgrade to latest dependencies (#13246)
knative-automation Aug 23, 2022
b36de60
revision request start timeout should default to revision timeout sec…
dprotaso Aug 24, 2022
b7075ab
Update net-contour nightly (#13252)
knative-automation Aug 29, 2022
17a970f
Update net-kourier nightly (#13250)
knative-automation Aug 29, 2022
79232f4
Update net-certmanager nightly (#13249)
knative-automation Aug 29, 2022
39f30aa
Update net-gateway-api nightly (#13251)
knative-automation Aug 29, 2022
f517a90
Update net-istio nightly (#13253)
knative-automation Aug 29, 2022
e9df8d9
Update net-kourier nightly (#13264)
knative-automation Aug 31, 2022
4fc7743
Add timeout handler to activator to respect the revision timeouts (#1…
nader-ziada Aug 31, 2022
84be423
add e2e test for timeout with websocket (#13232)
nader-ziada Sep 1, 2022
89469ad
Update net-certmanager nightly (#13266)
knative-automation Sep 1, 2022
85d2eee
Update net-gateway-api nightly (#13267)
knative-automation Sep 1, 2022
f43692b
Update net-kourier nightly (#13269)
knative-automation Sep 1, 2022
3e07846
Update net-contour nightly (#13268)
knative-automation Sep 1, 2022
6d3d676
Tests for encryption with Kourier local gateway (#13263)
mgencur Sep 5, 2022
ab56cfe
Update net-kourier nightly (#13273)
knative-automation Sep 5, 2022
62685b3
upgrade to latest dependencies (#13272)
knative-automation Sep 5, 2022
85c593d
Update net-gateway-api nightly (#13279)
knative-automation Sep 6, 2022
0643359
Update net-istio nightly (#13280)
knative-automation Sep 6, 2022
6bf8c1f
Update net-contour nightly (#13282)
knative-automation Sep 6, 2022
e826275
Update net-certmanager nightly (#13281)
knative-automation Sep 6, 2022
19cd295
update setup-ko action to v0.6 (#13283)
psschwei Sep 6, 2022
78f8af6
Update net-contour nightly (#13287)
knative-automation Sep 7, 2022
8eb8629
upgrade to latest dependencies (#13288)
knative-automation Sep 7, 2022
540e947
upgrade to latest dependencies (#13290)
knative-automation Sep 11, 2022
c5c5ea2
use GKE 1.23 clusters (#13289)
psschwei Sep 12, 2022
1c6a05d
Update net-certmanager nightly (#13291)
knative-automation Sep 12, 2022
8b76bfe
Update net-contour nightly (#13294)
knative-automation Sep 12, 2022
50bec63
Update net-istio nightly (#13295)
knative-automation Sep 12, 2022
a92d508
Update net-kourier nightly (#13297)
knative-automation Sep 12, 2022
f38229d
Use new k8s.io/util/clock package (#13300)
psschwei Sep 12, 2022
67255a6
Update net-gateway-api nightly (#13296)
knative-automation Sep 12, 2022
95cebbc
update to use k8s.io/utils/clock package (#13301)
psschwei Sep 13, 2022
e7ad41e
Update net-kourier nightly (#13302)
knative-automation Sep 13, 2022
3cae749
Update net-gateway-api nightly (#13306)
knative-automation Sep 14, 2022
8690e51
Update net-contour nightly (#13307)
knative-automation Sep 14, 2022
ee1058c
Fix LatestReadyRevision semantics - it only advances forward (#13239)
dprotaso Sep 14, 2022
43c7a5c
upgrade to latest dependencies (#13292)
knative-automation Sep 14, 2022
c832f35
Add the capability for perf tests to store their results in an influx…
nader-ziada Sep 14, 2022
d6ab464
Update net-istio nightly (#13309)
knative-automation Sep 15, 2022
dc8d797
update kapp module name in e2e tests (#13315)
psschwei Sep 19, 2022
81b75a5
Update net-kourier nightly (#13314)
knative-automation Sep 19, 2022
d1af2ab
Update net-contour nightly (#13313)
knative-automation Sep 19, 2022
9a2028a
Update net-gateway-api nightly (#13311)
knative-automation Sep 19, 2022
dadd0b6
Update net-istio nightly (#13312)
knative-automation Sep 19, 2022
3f03f22
upgrade to latest dependencies (#13324)
knative-automation Sep 21, 2022
2332731
upgrade to latest dependencies (#13326)
knative-automation Sep 21, 2022
2befffb
Update net-istio nightly (#13328)
knative-automation Sep 22, 2022
6b1972b
upgrade to latest dependencies (#13330)
knative-automation Sep 23, 2022
ed3515c
Fix: Raise the reconciliation timeout from 10 to 30s. (#13323)
mattmoor Sep 25, 2022
4ac8668
Update net-kourier nightly (#13335)
knative-automation Sep 26, 2022
243fad9
Update net-istio nightly (#13334)
knative-automation Sep 26, 2022
8a11681
Update net-kourier nightly (#13336)
knative-automation Sep 27, 2022
c18d504
Update community files (#13339)
knative-automation Sep 28, 2022
bf0e590
Update net-kourier nightly (#13340)
knative-automation Sep 28, 2022
47907d0
Update net-certmanager nightly (#13341)
knative-automation Sep 28, 2022
bedf5e9
Update community files (#13342)
knative-automation Sep 29, 2022
842e273
Update net-gateway-api nightly (#13344)
knative-automation Sep 29, 2022
6791c23
Update net-certmanager nightly (#13346)
knative-automation Sep 29, 2022
f0d66ee
Update net-istio nightly (#13345)
knative-automation Sep 29, 2022
79a4588
Use kebab-case in config for queue sidecar image key (#13347)
psschwei Sep 29, 2022
affc8df
upgrade to latest dependencies (#13348)
knative-automation Sep 30, 2022
183bea1
Add log message when internal encryption is enabled (#13351)
nak3 Oct 3, 2022
4229a18
upgrade to latest dependencies (#13352)
knative-automation Oct 3, 2022
080aaa5
Fix psp in config manifests (#13327)
Oct 5, 2022
ce2a9f6
upgrade to latest dependencies (#13356)
knative-automation Oct 5, 2022
c3f3eae
Remove kind 1.22 testing, since min-version will be 1.23 in the next …
nader-ziada Oct 5, 2022
7199d90
Update community files (#13360)
knative-automation Oct 6, 2022
cf0550d
Update net-kourier nightly (#13363)
knative-automation Oct 6, 2022
e1b8e36
Update net-istio nightly (#13364)
knative-automation Oct 6, 2022
52cba34
Update net-certmanager nightly (#13365)
knative-automation Oct 6, 2022
7c49366
Update net-gateway-api nightly (#13362)
knative-automation Oct 6, 2022
80aed04
Update actions (#13366)
knative-automation Oct 6, 2022
a741bc0
upgrade to latest dependencies (#13361)
knative-automation Oct 6, 2022
473faf4
Update net-gateway-api nightly (#13368)
knative-automation Oct 7, 2022
a90ffb3
upgrade to latest dependencies (#13367)
knative-automation Oct 7, 2022
3430cee
Update net-kourier nightly (#13369)
knative-automation Oct 7, 2022
6463604
Update net-certmanager nightly (#13370)
knative-automation Oct 7, 2022
974d19d
upgrade k8s autoscaling to v2 (#13337)
nader-ziada Oct 7, 2022
b584945
Update net-gateway-api nightly (#13373)
knative-automation Oct 10, 2022
f7bf75a
Update net-kourier nightly (#13374)
knative-automation Oct 10, 2022
2383f14
Update net-istio nightly (#13375)
knative-automation Oct 10, 2022
636e121
upgrade to latest dependencies (#13372)
knative-automation Oct 10, 2022
9f882f1
add e2e test on k8s 1.25.2 (#13358)
nader-ziada Oct 11, 2022
53b7da3
upgrade to latest dependencies (#13378)
knative-automation Oct 11, 2022
3ac6d4a
Make conformance tests configurable with custom resource values (#13286)
norman465 Oct 11, 2022
cbc4601
upgrade to latest dependencies (#13380)
knative-automation Oct 12, 2022
b476119
Update net-certmanager nightly (#13381)
knative-automation Oct 12, 2022
e44a412
Update net-kourier nightly (#13382)
knative-automation Oct 12, 2022
995b296
Update net-contour nightly (#13383)
knative-automation Oct 12, 2022
24b8e81
Update net-istio nightly (#13385)
knative-automation Oct 13, 2022
2220d0c
Adding profiling readme back (#13389)
nader-ziada Oct 13, 2022
5f7d942
upgrade to latest dependencies (#13390)
knative-automation Oct 14, 2022
6c47a5d
Update net-kourier nightly (#13393)
knative-automation Oct 14, 2022
a81679b
Update net-gateway-api nightly (#13391)
knative-automation Oct 14, 2022
bce312c
Update net-contour nightly (#13392)
knative-automation Oct 14, 2022
535572e
Update net-istio nightly (#13394)
knative-automation Oct 14, 2022
f9a75d7
Use svc.cluster.local as default domain (#13259)
psschwei Oct 14, 2022
a18077c
Feature: Let users set `allowPrivilegeEscalation = false` on ksvc. (#…
mattmoor Oct 15, 2022
555e6ab
Fix: Add the new `AllowPrivilegeEscalation` field to the *other* fiel…
mattmoor Oct 16, 2022
d780e92
upgrade to latest dependencies (#13403)
knative-automation Oct 17, 2022
e95e99d
Update net-kourier nightly (#13404)
knative-automation Oct 17, 2022
6264c1b
Fix path validation when running tests on Windows (#13400)
evankanderson Oct 17, 2022
6e597fa
Enable emptyDir volumes for Knative Services (#13405)
dprotaso Oct 17, 2022
388128b
Run queue proxy with restricted profile (#13376)
Oct 18, 2022
d108ba9
Allow setting seccompProfile to enable using restricted security prof…
evankanderson Oct 18, 2022
e82287d
updates features cm to include new allowed securitycontext field (#13…
psschwei Oct 18, 2022
0b88704
Update net-gateway-api nightly (#13406)
knative-automation Oct 19, 2022
a6a18b8
updates HPA webhook api version (#13411)
psschwei Oct 19, 2022
4c99f48
Update community files (#13413)
knative-automation Oct 24, 2022
5411bd0
upgrade to latest dependencies (#13415)
knative-automation Oct 25, 2022
9e7150f
upgrade to latest dependencies (#13417)
knative-automation Oct 26, 2022
299aa96
upgrade to latest dependencies (#13420)
knative-automation Oct 27, 2022
3b35f78
Update net-contour nightly (#13421)
knative-automation Oct 27, 2022
b44de34
Update net-gateway-api nightly (#13422)
knative-automation Oct 27, 2022
81ebd47
upgrade to latest dependencies (#13423)
knative-automation Oct 28, 2022
21fc2b2
upgrade to latest dependencies (#13424)
knative-automation Oct 31, 2022
c737bb1
Update net-certmanager nightly (#13425)
knative-automation Oct 31, 2022
41f35ca
Update community files (#13426)
knative-automation Oct 31, 2022
2ca1aea
Update net-istio nightly (#13428)
knative-automation Nov 1, 2022
3d9c724
upgrade to latest dependencies (#13427)
knative-automation Nov 1, 2022
025c712
upgrade to latest dependencies (#13429)
knative-automation Nov 2, 2022
bc368c3
Update net-contour nightly (#13431)
knative-automation Nov 2, 2022
a47c428
ran codegen with go1.19 & fix linter warnings (#13438)
dprotaso Nov 3, 2022
d72ba07
bump kind to 1.17 in e2e (#13437)
nader-ziada Nov 3, 2022
6f42856
Update net-gateway-api nightly (#13432)
knative-automation Nov 4, 2022
09f44f5
Update community files (#13434)
knative-automation Nov 4, 2022
1b38451
Update net-gateway-api nightly (#13444)
knative-automation Nov 7, 2022
9106a61
Update net-certmanager nightly (#13445)
knative-automation Nov 7, 2022
f9fd5c8
Update net-contour nightly (#13446)
knative-automation Nov 7, 2022
601c762
Update net-certmanager nightly (#13452)
knative-automation Nov 8, 2022
fd1b9ed
Set filtered factory label in controller main + Upgrade to latest dep…
nader-ziada Nov 8, 2022
c3e0f12
Add support for QPOptions TLS + Audience bound Tokens (#13384)
davidhadas Nov 8, 2022
8c79b7f
Update net-gateway-api nightly (#13455)
knative-automation Nov 9, 2022
2a22058
Update net-contour nightly (#13454)
knative-automation Nov 9, 2022
afc6942
Update net-kourier nightly (#13456)
knative-automation Nov 9, 2022
0511892
Update net-certmanager nightly (#13457)
knative-automation Nov 9, 2022
bd88e05
Use new keys for internal encryption secret data (#13388)
KauzClay Nov 9, 2022
44295ff
Update net-contour nightly (#13462)
knative-automation Nov 11, 2022
8848735
Update net-kourier nightly (#13463)
knative-automation Nov 11, 2022
0df133d
Update net-certmanager nightly (#13461)
knative-automation Nov 11, 2022
aebc16c
Update net-istio nightly (#13460)
knative-automation Nov 11, 2022
874cceb
Update net-gateway-api nightly (#13466)
knative-automation Nov 14, 2022
2b20603
add missing 'component' label to webhook template (#13469)
maschmid Nov 15, 2022
aee40fd
upgrade to latest dependencies (#13467)
knative-automation Nov 15, 2022
651f27e
next K8s min version is 1.24 (#13473)
dprotaso Nov 15, 2022
bb6457f
upgrade to latest dependencies (#13474)
knative-automation Nov 16, 2022
1f3302d
Update net-kourier nightly (#13475)
knative-automation Nov 16, 2022
26bb82f
Update net-kourier nightly (#13479)
knative-automation Nov 17, 2022
358853a
Update net-certmanager nightly (#13480)
knative-automation Nov 17, 2022
8f5491a
Update net-gateway-api nightly (#13481)
knative-automation Nov 17, 2022
87aad28
Update net-contour nightly (#13482)
knative-automation Nov 17, 2022
7157519
Update community files (#13477)
knative-automation Nov 17, 2022
2522268
Update net-gateway-api nightly (#13489)
knative-automation Nov 21, 2022
149d152
Update net-istio nightly (#13490)
knative-automation Nov 21, 2022
638e114
Update net-istio nightly (#13491)
knative-automation Nov 22, 2022
3a9cefb
Update net-istio nightly (#13497)
knative-automation Nov 23, 2022
cd1cd1a
upgrade to latest dependencies (#13496)
knative-automation Nov 23, 2022
05a28e0
Ensure probes from the autoscaler are not passed to the user-containe…
dprotaso Nov 24, 2022
e17e4d1
Update net-contour nightly (#13502)
knative-automation Nov 24, 2022
2ba4499
Don't set seccomp profile in the queue proxy (#13507)
dprotaso Nov 24, 2022
5b217ef
Update net-istio nightly (#13510)
knative-automation Nov 25, 2022
b7492cc
Update net-certmanager nightly (#13509)
knative-automation Nov 25, 2022
bcef4be
Update net-contour nightly (#13514)
knative-automation Nov 28, 2022
0ea12f4
Update net-contour nightly (#13520)
knative-automation Nov 29, 2022
1beadbd
Update net-gateway-api nightly (#13523)
knative-automation Nov 30, 2022
327bf91
Update net-istio nightly (#13524)
knative-automation Nov 30, 2022
7f217bb
Use ubuntu 20.04 for kind e2e tests (#13528)
psschwei Dec 5, 2022
95a6492
upgrade to latest dependencies (#13526)
knative-automation Dec 5, 2022
99c3d5a
Update net-gateway-api nightly (#13527)
knative-automation Dec 5, 2022
ceb505d
Update net-gateway-api nightly (#13530)
knative-automation Dec 6, 2022
b4198e7
Update net-kourier nightly (#13532)
knative-automation Dec 7, 2022
442877d
Update net-certmanager nightly (#13533)
knative-automation Dec 7, 2022
a4f6edc
Update net-contour nightly (#13534)
knative-automation Dec 7, 2022
017bb66
Update net-istio nightly (#13538)
knative-automation Dec 8, 2022
38fa7c0
Update community files (#13545)
knative-automation Dec 9, 2022
114bebe
Update net-contour nightly (#13550)
knative-automation Dec 12, 2022
f0379ef
Update net-certmanager nightly (#13548)
knative-automation Dec 12, 2022
f1b45e6
Update net-istio nightly (#13549)
knative-automation Dec 12, 2022
01676d5
Update net-kourier nightly (#13547)
knative-automation Dec 12, 2022
cd50d85
Update net-gateway-api nightly (#13554)
knative-automation Dec 16, 2022
3812acf
Update net-contour nightly (#13555)
knative-automation Dec 16, 2022
88ccb50
Update net-certmanager nightly (#13557)
knative-automation Dec 16, 2022
35abde0
Update net-istio nightly (#13556)
knative-automation Dec 16, 2022
3b8f17c
Update net-kourier nightly (#13561)
knative-automation Dec 20, 2022
aaa992e
upgrade to latest dependencies (#13564)
knative-automation Dec 23, 2022
11d88db
Update community files (#13584)
knative-automation Jan 10, 2023
fb0c4bd
Add setup script for internal-encryption e2e test (#13559)
KauzClay Jan 12, 2023
4ad830a
add fetch depth so we can fetch the tags (#13586)
dprotaso Jan 12, 2023
7b5c641
upgrade to latest dependencies (#13573)
knative-automation Jan 12, 2023
b9d0952
Update net-certmanager nightly (#13588)
knative-automation Jan 12, 2023
6d70f59
Update net-gateway-api nightly (#13577)
knative-automation Jan 12, 2023
288e59a
Update net-contour nightly (#13578)
knative-automation Jan 12, 2023
b421efb
Update net-kourier nightly (#13590)
knative-automation Jan 12, 2023
10a8e38
Update community files (#13593)
knative-automation Jan 13, 2023
e6db06e
Update net-gateway-api nightly (#13598)
knative-automation Jan 13, 2023
bab961f
Update net-certmanager nightly (#13595)
knative-automation Jan 13, 2023
3db1864
Update net-istio nightly (#13596)
knative-automation Jan 13, 2023
fc1cf65
Update net-contour nightly (#13597)
knative-automation Jan 13, 2023
ff959e4
Update net-kourier nightly (#13599)
knative-automation Jan 13, 2023
76005a0
upgrade to latest dependencies (#13594)
knative-automation Jan 13, 2023
162b8fb
consistent label selector for Service - include app label (#13265)
a7i Jan 13, 2023
cd2ad0c
Update actions (#13604)
knative-automation Jan 16, 2023
e760ae2
Dene
Semaerdem3536 Jan 16, 2023
e37b4df
Merge branch 'knative:main' into patch-2
Semaerdem3536 Jan 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
322 changes: 227 additions & 95 deletions .github/workflows/kind-e2e.yaml

Large diffs are not rendered by default.

59 changes: 4 additions & 55 deletions .github/workflows/knative-go-build.yaml
Original file line number Diff line number Diff line change
@@ -1,65 +1,14 @@
# Copyright 2020 The Knative Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten.
# This file is automagically synced here from github.com/knative-sandbox/knobots

name: Build

on:
pull_request:
branches: [ 'main', 'master', 'release-*' ]
branches: [ 'main', 'release-*' ]

jobs:

build:
name: Build
strategy:
matrix:
go-version: [1.17.x]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}

steps:

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go

- name: Check out code
uses: actions/checkout@v2

- id: go_mod
uses: andstor/file-existence-action@v1
with:
files: go.mod

- name: Build
if: ${{ steps.go_mod.outputs.files_exists == 'true' }}
run: |
tags="$(grep -I -r '// +build' . | \
grep -v '^./vendor/' | \
grep -v '^./hack/' | \
grep -v '^./third_party' | \
cut -f3 -d' ' | \
tr ',' '\n' | \
sort | uniq | \
grep -v '^!' | \
tr '\n' ' ')"

echo "Building with tags: ${tags}"
go test -vet=off -tags "${tags}" -exec echo ./...
uses: knative/actions/.github/workflows/go-build.yaml@main
76 changes: 6 additions & 70 deletions .github/workflows/knative-go-test.yaml
Original file line number Diff line number Diff line change
@@ -1,81 +1,17 @@
# Copyright 2020 The Knative Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright 2022 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten.
# This file is automagically synced here from github.com/knative-sandbox/knobots

name: Test

on:

push:
branches: [ 'main', 'master' ]
branches: [ 'main', 'release-*' ]

pull_request:
branches: [ 'main', 'master', 'release-*' ]
branches: [ 'main', 'release-*' ]

jobs:

test:
name: Unit Tests
strategy:
matrix:
go-version: [1.17.x]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}

steps:

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Merge upstream
if: github.event_name == 'pull_request'
run: |
if ! git config user.name > /dev/null; then
git config user.name "John Doe"
fi
if ! git config user.email > /dev/null; then
git config user.email "johndoe@localhost"
fi
git remote add upstream https://github.com/${{ github.repository }}.git
git fetch upstream ${{ github.base_ref }}
git pull --no-rebase --no-commit upstream ${{ github.base_ref }}
shell: bash

- name: Check for .codecov.yaml
id: codecov-enabled
uses: andstor/file-existence-action@v1
with:
files: .codecov.yaml

- if: steps.codecov-enabled.outputs.files_exists == 'true'
name: Produce Go Coverage
run: echo 'COVER_OPTS=-coverprofile=coverage.txt -covermode=atomic' >> $GITHUB_ENV

- name: Test
run: go test -race $COVER_OPTS ./...

- if: steps.codecov-enabled.outputs.files_exists == 'true'
name: Codecov
uses: codecov/codecov-action@v1
uses: knative/actions/.github/workflows/go-test.yaml@main
157 changes: 13 additions & 144 deletions .github/workflows/knative-releasability.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# Copyright 2020 The Knative Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright 2022 The Knative Authors.
# SPDX-License-Identifier: Apache-2.0

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/knative-sandbox/knobots and will be overwritten.
# This file is automagically synced here from github.com/knative-sandbox/knobots

name: 'Releasability'

Expand All @@ -25,139 +13,20 @@ on:
inputs:
releaseFamily:
description: 'Release? (vX.Y)'
required: false
moduleReleaseFamily:
description: 'Module Release? (vX.Y)'
required: false
slackChannel:
description: 'Slack Channel? (release-#)'
required: false

jobs:
releasability:
name: Releasability
runs-on: 'ubuntu-latest'

env:
#########################################
# Update this section each release. #
RELEASE: 'v1.0'
MODULE_RELEASE: 'v0.27'
SLACK_CHANNEL: 'release-1dot0'
#########################################

steps:
- name: Defaults
run: |
# If manual trigger sent releaseFamily, moduleReleaseFamily and slackChannel, then override them
if [[ "${{ github.event.inputs.releaseFamily }}" != "" ]]; then
echo "RELEASE=${{ github.event.inputs.releaseFamily }}" >> $GITHUB_ENV
fi
if [[ "${{ github.event.inputs.moduleReleaseFamily }}" != "" ]]; then
echo "MODULE_RELEASE=${{ github.event.inputs.moduleReleaseFamily }}" >> $GITHUB_ENV
fi
if [[ "${{ github.event.inputs.slackChannel }}" != "" ]]; then
echo "SLACK_CHANNEL=${{ github.event.inputs.slackChannel }}" >> $GITHUB_ENV
fi
if [[ "${{ secrets.SLACK_WEBHOOK }}" != "" ]]; then
echo "SLACK_WEBHOOK=exists" >> $GITHUB_ENV
fi

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x

- name: Install Dependencies
run: go install knative.dev/test-infra/buoy@main

- name: Check out code
uses: actions/checkout@v2

- name: Exists
id: exists
run: |
EXISTS=0
buoy exists go.mod --release ${RELEASE} --module-release ${MODULE_RELEASE} --verbose || EXISTS=$?
if [[ "$EXISTS" -eq "0" ]]; then
EXISTS=true
else
EXISTS=false
fi
echo ::set-output name=release-branch::${EXISTS}

- name: Check
if: steps.exists.outputs.release-branch == 'false'
run: |
# The following pushes the stdout of buoy into $CHECK_MESSAGE
CHECK=0
echo 'CHECK_MESSAGE<<EOF' >> $GITHUB_ENV
buoy check go.mod --release ${RELEASE} --module-release ${MODULE_RELEASE} --domain knative.dev --verbose >> $GITHUB_ENV 2>&1 || CHECK=$?
echo 'EOF' >> $GITHUB_ENV

# We just captured the return code of the buoy call, test it to see
# if we should continue validating. The next steps short circuit if
# we already know we are not ready for a release.
if [[ "$CHECK" -eq "0" ]]; then
echo 'current=true' >> $GITHUB_ENV
else
echo 'current=false' >> $GITHUB_ENV
fi

- name: Upgrade
if: steps.exists.outputs.release-branch == 'false' && env.current == 'true'
run: |
# if update deps returns un-successful, then mark current to false.
if ! ./hack/update-deps.sh --release ${RELEASE} --module-release ${MODULE_RELEASE} --upgrade; then
echo "VERIFY_MESSAGE=Unable to update deps for ${{ github.repository }}." >> $GITHUB_ENV
echo 'current=false' >> $GITHUB_ENV
fi

- name: Verify
if: steps.exists.outputs.release-branch == 'false' && env.current == 'true'
run: |
# If we don't run `git status` before the "git diff-index" it seems
# to list every file that's been touched by codegen.
git status

CHANGED="$(git diff-index --name-only HEAD --)"

# If we see no changes after the upgrade, then we are up to date.
if [[ "$CHANGED" == "" ]]; then
echo "VERIFY_MESSAGE=${{ github.repository }} up to date." >> $GITHUB_ENV
else
echo "VERIFY_MESSAGE=${{ github.repository }} is out of date." >> $GITHUB_ENV
echo "The following files are changed: $CHANGED"
echo 'current=false' >> $GITHUB_ENV
fi

- name: Status GO
if: steps.exists.outputs.release-branch == 'false' && env.current == 'true'
run: |
echo 'SLACK_COLOR=#098e00' >> $GITHUB_ENV
echo 'SLACK_TITLE=Releasability for ${{ github.repository }} @ ${{ env.RELEASE }} is GO!' >> $GITHUB_ENV

- name: Status NO-GO
if: steps.exists.outputs.release-branch == 'false' && env.current == 'false'
run: |
echo 'SLACK_COLOR=#8E1600' >> $GITHUB_ENV
echo 'SLACK_TITLE=Releasability for ${{ github.repository }} @ ${{ env.RELEASE }} is NO-GO!' >> $GITHUB_ENV

- name: Post status to Slack
# Note: using env.SLACK_WEBHOOK here because secrets are not allowed in the if block.
if: env.SLACK_WEBHOOK != '' && steps.exists.outputs.release-branch == 'false'
uses: rtCamp/action-slack-notify@v2.1.0
env:
SLACK_ICON: http://github.com/knative.png?size=48
SLACK_USERNAME: github-actions
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
MSG_MINIMAL: 'true'
SLACK_MESSAGE: |
${{ env.CHECK_MESSAGE }}
${{ env.VERIFY_MESSAGE }}
For detailed logs: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

- name: Fail if NO-GO
if: steps.exists.outputs.release-branch == 'false' && env.current == 'false'
run: |
# When we have figured out that things are NO-GO, we intentionally fail the job
# so that the status badge shows up red and we can use the badges to create a
# releasability dashboard for all of the repos.
exit 1
uses: knative/actions/.github/workflows/releasability.yaml@main
with:
releaseFamily: ${{ github.event.inputs.releaseFamily || 'v1.9' }}
moduleReleaseFamily: ${{ github.event.inputs.moduleReleaseFamily || 'v0.36' }}
slackChannel: ${{ github.event.inputs.slackChannel || 'release' }}
secrets:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
Loading