Commit Graph

1574 Commits

Author SHA1 Message Date
AhmedGrati
0a3b1897c0 fix: remove e2e flakiness by making the loop deterministic
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-24 16:31:22 +01:00
AhmedGrati
3172bc05b5 fix: remove e2e flakiness by making the loop deterministic
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-24 16:19:22 +01:00
dependabot[bot]
404b0caae7
chore(deps)(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 (#1742)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.28.2 to 0.28.3.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.28.2...v0.28.3)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:52:06 +01:00
Kubernetes Prow Robot
f722bfb6c1
Merge pull request #1737 from AhmedGrati/fix-e2e-test
fix e2e test
2023-10-17 14:21:40 +02:00
AhmedGrati
37a1dc26ad fix: update flaky e2e test
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 12:11:45 +01:00
AhmedGrati
40e19877ab fix: update flaky e2e test
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 11:35:44 +01:00
AhmedGrati
1dc9f0bc93 fix: add exit 1 to spot failed errors
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 11:20:56 +01:00
AhmedGrati
6725250b33 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:58:52 +01:00
AhmedGrati
e86dd3f16a chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:57:05 +01:00
AhmedGrati
615e0af371 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:50:52 +01:00
AhmedGrati
7d99530025 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:40:19 +01:00
AhmedGrati
422e450615 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:37:42 +01:00
AhmedGrati
a1eec7bbe8 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:34:23 +01:00
AhmedGrati
1b6d901aa0 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:26:11 +01:00
AhmedGrati
0367b73b93 chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:04:14 +01:00
AhmedGrati
c76361bd99 fix: add exit on error for e2e tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-15 00:01:27 +01:00
AhmedGrati
4c203d941e fix: use dyff to check that yaml files are equal
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-14 18:24:19 +01:00
dependabot[bot]
1f4b06988e
chore(deps)(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (#1733)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 12:00:50 +01:00
dependabot[bot]
6d14cf7bc8
chore(deps)(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 (#1734)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 12:00:29 +01:00
Charlie Drage
68443971f3
docs: update installation page to have arm64 mention (#1736)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind feature
-->

/kind documentation

Updates the documentation to mention arm64.

#### What this PR does / why we need it:

N/A

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-10-12 14:23:43 -04:00
Charlie Drage
a92241f799
1.31.2 Release (#1735) 2023-10-12 08:54:11 -04:00
AhmedGrati
115f3862fc fix: update part of e2e tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-11 20:09:07 +01:00
Charlie Drage
09dc978e8e
only add namespace if specified (#1731)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind cleanup
/kind documentation
/kind feature
-->

/kind bug

#### What this PR does / why we need it:

When we generate the YAML, we should NOT add namespace by default,
namespace should only be added if it has been specified via the command
line.

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Fixes https://github.com/kubernetes/kompose/issues/1729

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-10-11 10:29:55 -04:00
Charlie Drage
46dcb9181b
1.31.1 Release (#1726) 2023-10-06 13:36:09 -04:00
Charlie Drage
c0e0393bbd
bug: fixes bug with error out with using kompose convert with no -f (#1725)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind cleanup
/kind documentation
/kind feature
-->

/kind bug

Fixes a validation bug where if you do not provide a compose.yaml or
docker-compose.yaml it will nil point error out rather than have an
appropriate "file not found" output.

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Closes https://github.com/kubernetes/kompose/issues/1719

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-10-06 13:34:44 -04:00
Charlie Drage
a04ecdb9e8
1.31.0 Release (#1714) 2023-09-29 11:42:16 -04:00
Kubernetes Prow Robot
ddd5f33745
Merge pull request #1709 from axel7083/main
feat: adding support for --profile cmd option
2023-09-26 06:45:26 -07:00
axel7083
134db384b2
Apply suggestions from code review
Co-authored-by: Charlie Drage <charlie@charliedrage.com>
2023-09-26 08:41:47 +02:00
dependabot[bot]
1e9713dd48
chore(deps)(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1 (#1710)
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases)
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: gotest.tools/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 20:00:19 -04:00
axel7083
821b1afbf6 fix: typo 2023-09-21 22:10:07 +02:00
axel7083
0302093e0a fix: removing unused property 2023-09-21 22:09:18 +02:00
axel7083
4592dd2e23 Merge remote-tracking branch 'origin/main' 2023-09-21 22:04:26 +02:00
axel7083
82eb2a8e10 test: adding tests for convert 2023-09-21 22:03:51 +02:00
axel7083
a712272be9
Delete output.yaml 2023-09-21 21:37:14 +02:00
Kubernetes Prow Robot
ccb98b998a
Merge pull request #1712 from kubernetes/dependabot/go_modules/github.com/compose-spec/compose-go-1.19.0
chore(deps)(deps): bump github.com/compose-spec/compose-go from 1.18.4 to 1.19.0
2023-09-21 11:58:27 -07:00
dependabot[bot]
4e8c57a39f
chore(deps)(deps): bump github.com/compose-spec/compose-go
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.18.4 to 1.19.0.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.18.4...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 14:27:35 +00:00
axel7083
a7c63a650c Adding support for --profile cmd option 2023-09-17 17:41:05 +02:00
dependabot[bot]
708b222ed5
chore(deps)(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 (#1705)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 08:10:58 +01:00
dependabot[bot]
8a45af2b18
chore(deps)(deps): bump k8s.io/api from 0.28.1 to 0.28.2 (#1707)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.28.1 to 0.28.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.28.1...v0.28.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 08:10:33 +01:00
dependabot[bot]
fd16948969
chore(deps)(deps): bump k8s.io/apimachinery from 0.28.1 to 0.28.2 (#1706)
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.28.1 to 0.28.2.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.28.1...v0.28.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 21:55:59 +01:00
dependabot[bot]
5adacf25c2
chore(deps)(deps): bump github.com/compose-spec/compose-go (#1703)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.18.3 to 1.18.4.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.18.3...v1.18.4)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 17:04:51 +01:00
dependabot[bot]
090d760bca
chore(ci)(deps): bump actions/checkout from 3 to 4 (#1704)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 17:04:27 +01:00
dependabot[bot]
d8227a1de0
chore(deps)(deps): bump github.com/compose-spec/compose-go (#1701)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.18.2 to 1.18.3.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.18.2...v1.18.3)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 15:59:28 +01:00
AhmedGrati
0be4868914
Fix expose conversion (#1696)
* fix: remove hostport from expose conversion

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: update unit tests

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-08-28 08:55:00 -04:00
dependabot[bot]
0fa1c1e032
chore(deps)(deps): bump k8s.io/api from 0.28.0 to 0.28.1 (#1700)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.28.0 to 0.28.1.
- [Commits](https://github.com/kubernetes/api/compare/v0.28.0...v0.28.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 17:42:59 +01:00
dependabot[bot]
cb82ef5211
chore(deps)(deps): bump gotest.tools/v3 from 3.4.0 to 3.5.0 (#1697)
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases)
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: gotest.tools/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 15:45:38 +01:00
AhmedGrati
ea80734f91
Feat: add kompose client PoC (#1593)
* fix: support host port and protocol in functional tests

* feat: add kompose client with options

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: add options unit tests

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* feat: add partial convert options

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* feat: finish convert process

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: finish unit tests of the kompose client

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* remove unecessary changes

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* feat: add generate network policies to client

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* update go mod

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-08-24 11:38:21 +01:00
dependabot[bot]
b83d4d4094
chore(deps)(deps): bump k8s.io/api from 0.27.3 to 0.28.0 (#1694)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.27.3 to 0.28.0.
- [Commits](https://github.com/kubernetes/api/compare/v0.27.3...v0.28.0)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 15:50:30 +01:00
Lctrs
e9c6ecc03c
fix(dependabot): remove obsolete ignore list for go packages (#1685)
Follow #1677
2023-08-23 15:21:34 +01:00
dependabot[bot]
247e5e5541
chore(deps)(deps): bump github.com/compose-spec/compose-go (#1692)
Bumps [github.com/compose-spec/compose-go](https://github.com/compose-spec/compose-go) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/compose-spec/compose-go/releases)
- [Commits](https://github.com/compose-spec/compose-go/compare/v1.18.1...v1.18.2)

---
updated-dependencies:
- dependency-name: github.com/compose-spec/compose-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 15:21:13 +01:00