* Allow CI to run concurrent builds in master Fixes #3911 Refactors the `cloud_integration` test to run in separate GKE clusters that are created and torn down on the fly. It leverages a new "gcloud" github action that is also used to set up gcloud in other build steps (`docker_deploy` and `chart_deploy`). The action also generates unique names for those clusters, based on the git commit SHA and `run_id`, a recently introduced variable that is unique per CI run and available to all the jobs. This fixes part of #3635 in that CI runs on the same SHA don't interfere with one another (in the `cloud_integration` test; still to do for `kind_integration`). The "gcloud" GH action is supported by `.github/actions/gcloud/index.js` that has a couple of dependencies. To avoid having to commit `node_modules`, after every change to that file one must run ```bash # only needed the first time npm i -g @zeit/ncc cd .github/actions/gcloud ncc build index.js ``` which generates the self-contained file `.github/actions/gcloud/dist/index.js`. (This last part might get easier in the future after other refactorings outside this PR). * Run integration tests for forked repos Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Address reviews Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Address more reviews Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Move some conditionals to jobs Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Change job name Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Move more conditionals to job level Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Added more flags to 'gcloud container clusters create' and consolidated 'create' and 'destroy' into ' action' * Run kind cleanup only for non-forked PRs Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Got rid of cloud_cleanup by using a post hook in the gcloud action * Removed cluster naming responsibility from the gcloud action * Consolidate .gitignore statements * Removed bin/_gcp.sh * Change name of Kind int. test job Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Ensure `kind_cleanup` still runs on cancelled host CI runs Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Add reviews Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Update workflow comment Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Split index.js into setup.js and destroy.js * trigger build * Moved the gcloud action into its own repo * Full version for the gcloud GH action * Rebase back to master Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Remvoe additional changes Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Remove additional changes Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> * Trigger CI Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> Co-authored-by: Alejandro Pedraza <alejandro.pedraza@gmail.com> |
||
---|---|---|
.github | ||
bin | ||
charts | ||
cli | ||
cni-plugin | ||
controller | ||
grafana | ||
pkg | ||
proto | ||
proxy-identity | ||
test | ||
testutil | ||
web | ||
.dockerignore | ||
.editorconfig | ||
.gcp.json.enc | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.proxy-version | ||
ADOPTERS.md | ||
BUILD.md | ||
CHANGES.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
DCO | ||
Dockerfile-base | ||
Dockerfile-debug | ||
Dockerfile-go-deps | ||
Dockerfile-proxy | ||
GOVERNANCE.md | ||
LICENSE | ||
MAINTAINERS.md | ||
README.md | ||
SECURITY_AUDIT.pdf | ||
TEST.md | ||
go.mod | ||
go.sum | ||
tools.go |
README.md
🎈 Welcome to Linkerd! 👋
Linkerd is a service mesh, designed to give platform-wide observability, reliability, and security without requiring configuration or code changes.
Linkerd is a Cloud Native Computing Foundation (CNCF) project.
Repo layout
This is the primary repo for the Linkerd 2.x line of development.
The complete list of Linkerd repos is:
- linkerd2: Main Linkerd 2.x repo, including control plane and CLI
- linkerd2-proxy: Linkerd 2.x data plane proxy
- linkerd2-proxy-api: Linkerd 2.x gRPC API bindings
- linkerd: Linkerd 1.x
- website: linkerd.io website (including docs for 1.x and 2.x)
Quickstart and documentation
You can run Linkerd on any Kubernetes 1.13+ cluster in a matter of seconds. See the Linkerd Getting Started Guide for how.
For more comprehensive documentation, start with the Linkerd docs. (The doc source code is available in the website repo.)
Working in this repo
BUILD.md
includes general information on how to work in this repo.
We ❤️ pull requests! See CONTRIBUTING.md
for info on
contributing changes.
Get involved
- Join Linkerd's user mailing list, developer mailing list, and announcements mailing list.
- Follow @linkerd on Twitter.
- Join the Linkerd Slack.
- Join us in the regular online community meetings!
Community meetings
We host regular online meetings for contributors, adopters, maintainers, and anyone else interested to connect in a synchronous fashion. These meetings take place the last Wednesday of the month at 9am Pacific / 4pm UTC.
We're a friendly group, so please feel free to join us!
Code of conduct
This project is for everyone. We ask that our users and contributors take a few minutes to review our code of conduct.
Security
Security Audit
A third party security audit was performed by Cure53. You can see the full report here.
License
Copyright 2019, Linkerd Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files 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.