Skip to content

Commit

Permalink
Change org and repository name (#334)
Browse files Browse the repository at this point in the history
Signed-off-by: Praveen Rewar <[email protected]>
Signed-off-by: Joao Pereira <[email protected]>
Co-authored-by: Praveen Rewar <[email protected]>
  • Loading branch information
joaopapereira and praveenrewar authored Feb 2, 2023
1 parent 3c53a53 commit 4de47b2
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 19 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Add issues to project

on:
issues:
types: ['opened']
pull_request_target:
types: ['opened']

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/carvel-dev/projects/1
github-token: ${{ secrets.CARVEL_ADD_TO_PROJECT_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
validate-github-action:
runs-on: ubuntu-latest
steps:
- uses: vmware-tanzu/carvel-setup-action@v1
- uses: carvel-dev/setup-action@v1
with:
only: kbld
kbld: ${{ github.event.release.tag_name }}
Expand All @@ -25,7 +25,7 @@ jobs:
exit 1
fi
- run: |
curl -X POST https://api.github.com/repos/vmware-tanzu/carvel-release-scripts/dispatches \
curl -X POST https://api.github.com/repos/carvel-dev/release-scripts/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.carvel_bot_access_token }} \
--data '{"event_type": "kbld_released", "client_payload": { "tagName": "${{ github.event.release.tag_name }}", "repo": "${{ github.repository }}", "toolName": "kbld" }}'
2 changes: 1 addition & 1 deletion .github/workflows/test-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
path: src/github.com/${{ github.repository }}
fetch-depth: 0
- name: Install Carvel Tools
uses: vmware-tanzu/carvel-setup-action@v1
uses: carvel-dev/setup-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
only: ytt, kapp
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Trivy CVE Dependency Scanner

on:
schedule:
- cron: '0 0 * * *'

jobs:
trivy-scan:
uses: carvel-dev/release-scripts/.github/workflows/trivy-scan.yml@main
with:
repo: carvel-dev/kbld
tool: kbld
goVersion: 1.19.4
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }}
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ snapshot:
release:
# Repo in which the release will be created.
github:
owner: vmware-tanzu
name: carvel-kbld
owner: carvel-dev
name: kbld

# If set to true, will not auto-publish the release.
draft: true
Expand Down
2 changes: 2 additions & 0 deletions GOVERNANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# kbld Governance
kbld governance can be found within the main [Carvel GitHub repo](https://github.com/carvel-dev/carvel) within the [GOVERNANCE.md](https://github.com/carvel-dev/carvel/blob/develop/GOVERNANCE.md) file.
2 changes: 2 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# kbld Maintainers
Maintainers for kbld can be found within the main [Carvel GitHub repo](https://github.com/carvel-dev/carvel) within the [MAINTAINERS.md](https://github.com/carvel-dev/carvel/blob/develop/MAINTAINERS.md) file.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
- Website: https://carvel.dev/kbld
- Slack: [#carvel in Kubernetes slack](https://slack.kubernetes.io)
- [Docs](docs/README.md) with topics about building, packaging images, blog posts, etc.
- Install: Grab prebuilt binaries from the [Releases page](https://github.com/vmware-tanzu/carvel-kbld/releases) or [Homebrew Carvel tap](https://github.com/vmware-tanzu/homebrew-carvel)
- Backlog: [See what we're up to](https://app.zenhub.com/workspaces/carvel-backlog-6013063a24147d0011410709/board?repos=182335015). (Note: we use ZenHub which requires GitHub authorization).
- Install: Grab prebuilt binaries from the [Releases page](https://github.com/carvel-dev/kbld/releases) or [Homebrew Carvel tap](https://github.com/carvel-dev/homebrew)
- Backlog: [See what we're up to](https://github.com/orgs/carvel-dev/projects/1/views/1?filterQuery=repo%3A%22carvel-dev%2Fkbld%22).

`kbld` (pronounced: `kei·bild`) seamlessly incorporates image building and image pushing into your development and deployment workflows.

Expand All @@ -22,15 +22,15 @@ Features:

![](docs/kbld-screenshot.png)

See [building and deploying simple Go application to Kubernetes example](https://github.com/vmware-tanzu/carvel-simple-app-on-kubernetes#step-3-building-container-images-locally) that uses kbld.
See [building and deploying simple Go application to Kubernetes example](https://github.com/carvel-dev/simple-app-on-kubernetes#step-3-building-container-images-locally) that uses kbld.

### Join the Community and Make Carvel Better
Carvel is better because of our contributors and maintainers. It is because of you that we can bring great software to the community.
Please join us during our online community meetings. Details can be found on our [Carvel website](https://carvel.dev/community/).

You can chat with us on Kubernetes Slack in the #carvel channel and follow us on Twitter at @carvel_dev.

Check out which organizations are using and contributing to Carvel: [Adopter's list](https://github.com/vmware-tanzu/carvel/blob/master/ADOPTERS.md)
Check out which organizations are using and contributing to Carvel: [Adopter's list](https://github.com/carvel-dev/carvel/blob/master/ADOPTERS.md)

# Development

Expand Down
2 changes: 2 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# kbld Roadmap
The roadmap details for kbld can be found within the main [Carvel GitHub repo](https://github.com/carvel-dev/carvel) within the [ROADMAP.md](https://github.com/carvel-dev/carvel/blob/develop/ROADMAP.md) file.
20 changes: 10 additions & 10 deletions docs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ eval $(minikube docker-env)

For those interested in extending and improving kbld, below is a quick reference on the structure of the source code:

- [.github/workflows/test-gh.yml](https://github.com/vmware-tanzu/carvel-kbld/blob/develop/.github/workflows/test-gh.yml) is a Github Action that runs build and unit tests when commits are pushed
- [hack](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/hack) has build and test scripts
- [cmd/kbld](https://github.com/vmware-tanzu/carvel-kbld/blob/develop/cmd/kbld) is the entry package for main kbld binary
- [pkg/kbld/cmd](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/pkg/kbld/cmd) includes all kbld CLI commands (kbld.go is root command)
- [pkg/kbld/config](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/pkg/kbld/config) describes kbld configuration resources such as Config, Sources, etc.
- [pkg/kbld/resources](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/pkg/kbld/resources) allows to parse YAML files into Resource objects
- [pkg/kbld/image](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/pkg/kbld/image) contains set of classes that know how to "transform" image URLs (build it, resolve it to digest, tag it)
- [pkg/kbld/registry](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/pkg/kbld/registry) provides a simplified registry API client
- [pkg/kbld/search](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/pkg/kbld/search) implements YAML node searcher that finds image URLs
- [test/e2e](https://github.com/vmware-tanzu/carvel-kbld/tree/develop/test/e2e) includes e2e tests that can run against Docker registry.
- [.github/workflows/test-gh.yml](https://github.com/carvel-dev/kbld/blob/develop/.github/workflows/test-gh.yml) is a Github Action that runs build and unit tests when commits are pushed
- [hack](https://github.com/carvel-dev/kbld/tree/develop/hack) has build and test scripts
- [cmd/kbld](https://github.com/carvel-dev/kbld/blob/develop/cmd/kbld) is the entry package for main kbld binary
- [pkg/kbld/cmd](https://github.com/carvel-dev/kbld/tree/develop/pkg/kbld/cmd) includes all kbld CLI commands (kbld.go is root command)
- [pkg/kbld/config](https://github.com/carvel-dev/kbld/tree/develop/pkg/kbld/config) describes kbld configuration resources such as Config, Sources, etc.
- [pkg/kbld/resources](https://github.com/carvel-dev/kbld/tree/develop/pkg/kbld/resources) allows to parse YAML files into Resource objects
- [pkg/kbld/image](https://github.com/carvel-dev/kbld/tree/develop/pkg/kbld/image) contains set of classes that know how to "transform" image URLs (build it, resolve it to digest, tag it)
- [pkg/kbld/registry](https://github.com/carvel-dev/kbld/tree/develop/pkg/kbld/registry) provides a simplified registry API client
- [pkg/kbld/search](https://github.com/carvel-dev/kbld/tree/develop/pkg/kbld/search) implements YAML node searcher that finds image URLs
- [test/e2e](https://github.com/carvel-dev/kbld/tree/develop/test/e2e) includes e2e tests that can run against Docker registry.

## How to set up an insecure-only registry
It is occasionally necessary to test against insecure-only registries in order to ensure the commands can run against http endpoints.
Expand Down

0 comments on commit 4de47b2

Please sign in to comment.