Skip to content

Commit

Permalink
add istioctl cli to istio package (#34452)
Browse files Browse the repository at this point in the history
<!---
Provide a short summary in the Title above. Examples of good PR titles:
* "ruby-3.1: new package"
* "haproxy: fix CVE-2014-123456"
-->

<!--
Please include references to any related issues or delete this section
otherwise.
 -->

Fixes:

Related: adds istioctl sub-package to the istio package

### Pre-review Checklist

<!--
This checklist is mostly useful as a reminder of small things that can
easily be
forgotten – it is meant as a helpful tool rather than hoops to jump
through.

At the moment of this PR you have the most information on what all the
change
will affect, so please take the time to jot it down.

Put an `x` in all the items that apply, make notes next to any that
haven't been
addressed, and remove any items that are not relevant to this PR.

-->

#### For new package PRs only
<!-- remove if unrelated -->
- [ ] This PR is marked as fixing a pre-existing package request bug
- [ ] Alternatively, the PR is marked as related to a pre-existing
package request bug, such as a dependency
- [x] REQUIRED - The package is available under an OSI-approved or
FSF-approved license
- [x] REQUIRED - The version of the package is still receiving security
updates
- [ ] This PR links to the upstream project's support policy (e.g.
`endoflife.date`)

Signed-off-by: Batuhan Apaydin <[email protected]>
  • Loading branch information
developer-guy authored Nov 18, 2024
1 parent e9735b2 commit fb1d46e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion istio-1.24.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: istio-1.24
version: 1.24.0
epoch: 1
epoch: 2
description: Istio is an open source service mesh that layers transparently onto existing distributed applications.
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -40,6 +40,26 @@ subpackages:
provides:
- istio-cni=${{package.full-version}}

- name: istioctl-${{vars.major-minor-version}}
pipeline:
- uses: go/build
with:
packages: ./istioctl/cmd/istioctl
output: istioctl
ldflags: |
-X istio.io/istio/pkg/version.buildVersion=${{package.version}}
-X istio.io/istio/pkg/version.buildGitRevision=$(git rev-parse HEAD)
-X istio.io/istio/pkg/version.buildTag=$(git describe --tags --always)
-X istio.io/istio/pkg/version.buildStatus="Clean"
dependencies:
provides:
- istioctl=${{package.full-version}}
test:
pipeline:
- runs: |
istioctl version
istioctl --help
- name: istio-cni-${{vars.major-minor-version}}-compat
pipeline:
- runs: |
Expand Down

0 comments on commit fb1d46e

Please sign in to comment.