diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 2b1207f..80eeccb 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -82,10 +82,11 @@ jobs: --set piper.gitProvider.token="${{ secrets.GIT_TOKEN }}" \ --set piper.gitProvider.webhook.url="${{ env.NGROK_URL }}/piper/webhook" \ --set piper.gitProvider.webhook.repoList={piper-e2e-test} \ - --set piper.gitProvider.organization.name="rookout" \ + --set piper.gitProvider.organization.name="quickube" \ --set image.repository=localhost:5001 \ --set piper.argoWorkflows.server.address="${{ env.NGROK_URL }}/argo" \ - --set-string env\[0\].name=GIT_WEBHOOK_AUTO_CLEANUP,env\[0\].value="true" && \ + --set-string env\[0\].name=GIT_WEBHOOK_AUTO_CLEANUP,env\[0\].value="true" \ + --set-string rookout.token="${{ secrets.ROOKOUT_TOKEN }}" && \ sleep 20 && kubectl logs deployment/piper kubectl wait \ --for=condition=ready pod \ @@ -93,7 +94,7 @@ jobs: --timeout=60s - uses: actions/checkout@v3 with: - repository: 'rookout/piper-e2e-test' + repository: 'quickube/piper-e2e-test' path: piper-e2e-test ref: 'main' - name: inject some changes to piper-e2e-test repo @@ -101,7 +102,7 @@ jobs: cd ./piper-e2e-test echo "" >> .workflows/triggers.yaml git config user.name 'e2e-test' - git config user.email 'sonario@rookout.com' + git config user.email 'goshatoo@gmail.com' git commit -am "trigger e2e test" - name: Create Pull Request id: cpr @@ -112,12 +113,16 @@ jobs: branch: ${{ github.head_ref }}-test title: ${{ github.head_ref }}-test delete-branch: true + - name: Wait for workflow creation + run: | + sleep 10 + - name: Close Pull Request uses: peter-evans/close-pull@v3 with: token: ${{ secrets.GIT_TOKEN }} pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} - repository: 'rookout/piper-e2e-test' + repository: 'quickube/piper-e2e-test' comment: Auto-closing pull request delete-branch: true - name: Check Result diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b51914e..3d6b85f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,14 +23,14 @@ jobs: id: meta uses: docker/metadata-action@v4 with: - images: rookout/piper + images: quickube/piper - name: Build and export uses: docker/build-push-action@v4 with: context: . platforms: linux/amd64,linux/arm64 push: true - tags: rookout/piper:${{ github.ref_name }},latest + tags: quickube/piper:${{ github.ref_name }},latest labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max diff --git a/CHANGELOG.md b/CHANGELOG.md index 32c5984..9c3e655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,216 +1,216 @@ # Changelog -## [1.5.0](https://github.com/Rookout/piper/compare/v1.4.0...v1.5.0) (2023-09-06) +## [1.5.0](https://github.com/quickube/piper/compare/v1.4.0...v1.5.0) (2023-09-06) ### Features -* bitbucket cloud support - RK-19712 ([#120](https://github.com/Rookout/piper/issues/120)) ([df662d0](https://github.com/Rookout/piper/commit/df662d0fcb7ac533c0c31158261d5d265fa2a2c0)) -* org belonging enforcment - RK-19484 ([#110](https://github.com/Rookout/piper/issues/110)) ([ff9e957](https://github.com/Rookout/piper/commit/ff9e957d92e6c5083dd9041ed3ddd3feb979eca6)) +* bitbucket cloud support - RK-19712 ([#120](https://github.com/quickube/piper/issues/120)) ([df662d0](https://github.com/quickube/piper/commit/df662d0fcb7ac533c0c31158261d5d265fa2a2c0)) +* org belonging enforcment - RK-19484 ([#110](https://github.com/quickube/piper/issues/110)) ([ff9e957](https://github.com/quickube/piper/commit/ff9e957d92e6c5083dd9041ed3ddd3feb979eca6)) ### Bug Fixes -* trim github notifiction massge ([#113](https://github.com/Rookout/piper/issues/113)) ([75464e3](https://github.com/Rookout/piper/commit/75464e3de9ffa90a417bb9e3d16527e24c9d4693)) -* watcher sudden closing ([#114](https://github.com/Rookout/piper/issues/114)) ([4cc3f0f](https://github.com/Rookout/piper/commit/4cc3f0f032c0b42d8a392b3b636a54847112859d)) +* trim github notifiction massge ([#113](https://github.com/quickube/piper/issues/113)) ([75464e3](https://github.com/quickube/piper/commit/75464e3de9ffa90a417bb9e3d16527e24c9d4693)) +* watcher sudden closing ([#114](https://github.com/quickube/piper/issues/114)) ([4cc3f0f](https://github.com/quickube/piper/commit/4cc3f0f032c0b42d8a392b3b636a54847112859d)) -## [1.4.0](https://github.com/Rookout/piper/compare/v1.3.0...v1.4.0) (2023-07-20) +## [1.4.0](https://github.com/quickube/piper/compare/v1.3.0...v1.4.0) (2023-07-20) ### Features -* add tag handler - RK-19248 ([#92](https://github.com/Rookout/piper/issues/92)) ([925dbc5](https://github.com/Rookout/piper/commit/925dbc5ebb8ab59f1d5a821235dade36f6f47a33)) -* github release event support - RK-19329 ([#101](https://github.com/Rookout/piper/issues/101)) ([0a797e8](https://github.com/Rookout/piper/commit/0a797e8ffbe417a416f5115c73f5172d74f7123c)) -* webhook creation cleanup and health checks- RK-19271 ([#98](https://github.com/Rookout/piper/issues/98)) ([cb99cc1](https://github.com/Rookout/piper/commit/cb99cc108a260ca7583a907d6abc2d6ef2b30ca8)) +* add tag handler - RK-19248 ([#92](https://github.com/quickube/piper/issues/92)) ([925dbc5](https://github.com/quickube/piper/commit/925dbc5ebb8ab59f1d5a821235dade36f6f47a33)) +* github release event support - RK-19329 ([#101](https://github.com/quickube/piper/issues/101)) ([0a797e8](https://github.com/quickube/piper/commit/0a797e8ffbe417a416f5115c73f5172d74f7123c)) +* webhook creation cleanup and health checks- RK-19271 ([#98](https://github.com/quickube/piper/issues/98)) ([cb99cc1](https://github.com/quickube/piper/commit/cb99cc108a260ca7583a907d6abc2d6ef2b30ca8)) ### Bug Fixes -* add labels as comma seprated list in global parameters - RK-19217 ([#89](https://github.com/Rookout/piper/issues/89)) ([88e1126](https://github.com/Rookout/piper/commit/88e11267b8e6878b99ce9261b29967100c219657)) -* event watcher failure will close the app - RK-19341 ([#104](https://github.com/Rookout/piper/issues/104)) ([e115401](https://github.com/Rookout/piper/commit/e1154014c5b85b82db576c07c0faa0c1e3126814)) -* pull request url to html url ([#97](https://github.com/Rookout/piper/issues/97)) ([4c5f6fd](https://github.com/Rookout/piper/commit/4c5f6fd23dc37fe23a781da59c3723b79ac2dc88)) -* retry and resumbit notifiction fix ([#96](https://github.com/Rookout/piper/issues/96)) ([4d6c815](https://github.com/Rookout/piper/commit/4d6c8152cc5456d6c55b3f1843029259cd23c7fb)) -* seprate webhook payload from specific git provider impl ([#100](https://github.com/Rookout/piper/issues/100)) ([98aa885](https://github.com/Rookout/piper/commit/98aa885a16b59dbbb727066d8233605faeb16719)) -* server managing improvements - RK-19210 ([#88](https://github.com/Rookout/piper/issues/88)) ([af763d4](https://github.com/Rookout/piper/commit/af763d4e1411e29f96c0d22a90099e87ea5e526c)) +* add labels as comma seprated list in global parameters - RK-19217 ([#89](https://github.com/quickube/piper/issues/89)) ([88e1126](https://github.com/quickube/piper/commit/88e11267b8e6878b99ce9261b29967100c219657)) +* event watcher failure will close the app - RK-19341 ([#104](https://github.com/quickube/piper/issues/104)) ([e115401](https://github.com/quickube/piper/commit/e1154014c5b85b82db576c07c0faa0c1e3126814)) +* pull request url to html url ([#97](https://github.com/quickube/piper/issues/97)) ([4c5f6fd](https://github.com/quickube/piper/commit/4c5f6fd23dc37fe23a781da59c3723b79ac2dc88)) +* retry and resumbit notifiction fix ([#96](https://github.com/quickube/piper/issues/96)) ([4d6c815](https://github.com/quickube/piper/commit/4d6c8152cc5456d6c55b3f1843029259cd23c7fb)) +* seprate webhook payload from specific git provider impl ([#100](https://github.com/quickube/piper/issues/100)) ([98aa885](https://github.com/quickube/piper/commit/98aa885a16b59dbbb727066d8233605faeb16719)) +* server managing improvements - RK-19210 ([#88](https://github.com/quickube/piper/issues/88)) ([af763d4](https://github.com/quickube/piper/commit/af763d4e1411e29f96c0d22a90099e87ea5e526c)) -## [1.3.0](https://github.com/Rookout/piper/compare/v1.2.0...v1.3.0) (2023-07-08) +## [1.3.0](https://github.com/quickube/piper/compare/v1.2.0...v1.3.0) (2023-07-08) ### Features -* add gracefull shutdown - RK-19184 ([#84](https://github.com/Rookout/piper/issues/84)) ([dcd514c](https://github.com/Rookout/piper/commit/dcd514c1a80ccf49dbd253f075dc8a225c5c8c35)) -* workflow status listener - RK-19190 ([#85](https://github.com/Rookout/piper/issues/85)) ([a8a470e](https://github.com/Rookout/piper/commit/a8a470e31b6a5b06ef6d75d8397ace96219b5ee6)) +* add gracefull shutdown - RK-19184 ([#84](https://github.com/quickube/piper/issues/84)) ([dcd514c](https://github.com/quickube/piper/commit/dcd514c1a80ccf49dbd253f075dc8a225c5c8c35)) +* workflow status listener - RK-19190 ([#85](https://github.com/quickube/piper/issues/85)) ([a8a470e](https://github.com/quickube/piper/commit/a8a470e31b6a5b06ef6d75d8397ace96219b5ee6)) ### Bug Fixes -* global parameters added and reorganized - RK-19161 ([#83](https://github.com/Rookout/piper/issues/83)) ([61c8fa0](https://github.com/Rookout/piper/commit/61c8fa053adb99b1423ceb4eef3b0dd465b1c5cf)) +* global parameters added and reorganized - RK-19161 ([#83](https://github.com/quickube/piper/issues/83)) ([61c8fa0](https://github.com/quickube/piper/commit/61c8fa053adb99b1423ceb4eef3b0dd465b1c5cf)) -## [1.2.0](https://github.com/Rookout/piper/compare/v1.1.3...v1.2.0) (2023-07-02) +## [1.2.0](https://github.com/quickube/piper/compare/v1.1.3...v1.2.0) (2023-07-02) ### Features -* change commit linter - RK-19094 ([#81](https://github.com/Rookout/piper/issues/81)) ([4586284](https://github.com/Rookout/piper/commit/45862843efa124be00263619492ba97b0c21e4e5)) +* change commit linter - RK-19094 ([#81](https://github.com/quickube/piper/issues/81)) ([4586284](https://github.com/quickube/piper/commit/45862843efa124be00263619492ba97b0c21e4e5)) ### Bug Fixes -* add snyk scan - RK-19072 ([#61](https://github.com/Rookout/piper/issues/61)) ([cdf6b90](https://github.com/Rookout/piper/commit/cdf6b909471bc66d70d85c329ce96d302e9a12fc)) -* e2e init - RK-19093 ([#60](https://github.com/Rookout/piper/issues/60)) ([7821785](https://github.com/Rookout/piper/commit/7821785d05c7dafce52e2946b63f9f1406996796)) -* event selection more specific - RK-19082 ([#76](https://github.com/Rookout/piper/issues/76)) ([db58bb3](https://github.com/Rookout/piper/commit/db58bb35123df023a7a0be813231968a48e5d4a6)) +* add snyk scan - RK-19072 ([#61](https://github.com/quickube/piper/issues/61)) ([cdf6b90](https://github.com/quickube/piper/commit/cdf6b909471bc66d70d85c329ce96d302e9a12fc)) +* e2e init - RK-19093 ([#60](https://github.com/quickube/piper/issues/60)) ([7821785](https://github.com/quickube/piper/commit/7821785d05c7dafce52e2946b63f9f1406996796)) +* event selection more specific - RK-19082 ([#76](https://github.com/quickube/piper/issues/76)) ([db58bb3](https://github.com/quickube/piper/commit/db58bb35123df023a7a0be813231968a48e5d4a6)) -## [1.1.3](https://github.com/Rookout/piper/compare/v1.1.2...v1.1.3) (2023-06-27) +## [1.1.3](https://github.com/quickube/piper/compare/v1.1.2...v1.1.3) (2023-06-27) ### Bug Fixes -* generate name conversion and labels added - RK-19070 ([#74](https://github.com/Rookout/piper/issues/74)) ([ca3fad0](https://github.com/Rookout/piper/commit/ca3fad063c0bcf8ea5a7f03a673180eac56f0c8f)) +* generate name conversion and labels added - RK-19070 ([#74](https://github.com/quickube/piper/issues/74)) ([ca3fad0](https://github.com/quickube/piper/commit/ca3fad063c0bcf8ea5a7f03a673180eac56f0c8f)) -## [1.1.2](https://github.com/Rookout/piper/compare/v1.1.1...v1.1.2) (2023-06-27) +## [1.1.2](https://github.com/quickube/piper/compare/v1.1.1...v1.1.2) (2023-06-27) ### Bug Fixes -* config selection improved logic ([#54](https://github.com/Rookout/piper/issues/54)) ([59f25dc](https://github.com/Rookout/piper/commit/59f25dc23e934fd8f935b59a734f96c5b4691ff4)) -* git tests added - RK-19030 ([#50](https://github.com/Rookout/piper/issues/50)) ([7d011c7](https://github.com/Rookout/piper/commit/7d011c7b982f686b2c27bb74c8d1eb8d6997af26)) -* json yaml conflic umarshling template ref to DAG task - RK-19034 ([#56](https://github.com/Rookout/piper/issues/56)) ([68ab378](https://github.com/Rookout/piper/commit/68ab3787fc30380dca82cd67138e54e4421889d5)) -* makefile improvence - RK-19036 ([#59](https://github.com/Rookout/piper/issues/59)) ([017d653](https://github.com/Rookout/piper/commit/017d65312473a99cf1e5bd880d21765009de4ac5)) -* remove argo configuration requierments ([#55](https://github.com/Rookout/piper/issues/55)) ([3a8ed9c](https://github.com/Rookout/piper/commit/3a8ed9c2abf2a2f711da6642f1617ef89d1d3119)) -* stop healthz logs spam ([#57](https://github.com/Rookout/piper/issues/57)) ([3f44edc](https://github.com/Rookout/piper/commit/3f44edc27e12cb52adde8137f5790f0d96277fd7)) +* config selection improved logic ([#54](https://github.com/quickube/piper/issues/54)) ([59f25dc](https://github.com/quickube/piper/commit/59f25dc23e934fd8f935b59a734f96c5b4691ff4)) +* git tests added - RK-19030 ([#50](https://github.com/quickube/piper/issues/50)) ([7d011c7](https://github.com/quickube/piper/commit/7d011c7b982f686b2c27bb74c8d1eb8d6997af26)) +* json yaml conflic umarshling template ref to DAG task - RK-19034 ([#56](https://github.com/quickube/piper/issues/56)) ([68ab378](https://github.com/quickube/piper/commit/68ab3787fc30380dca82cd67138e54e4421889d5)) +* makefile improvence - RK-19036 ([#59](https://github.com/quickube/piper/issues/59)) ([017d653](https://github.com/quickube/piper/commit/017d65312473a99cf1e5bd880d21765009de4ac5)) +* remove argo configuration requierments ([#55](https://github.com/quickube/piper/issues/55)) ([3a8ed9c](https://github.com/quickube/piper/commit/3a8ed9c2abf2a2f711da6642f1617ef89d1d3119)) +* stop healthz logs spam ([#57](https://github.com/quickube/piper/issues/57)) ([3f44edc](https://github.com/quickube/piper/commit/3f44edc27e12cb52adde8137f5790f0d96277fd7)) -## [1.1.1](https://github.com/Rookout/piper/compare/v1.1.0...v1.1.1) (2023-06-23) +## [1.1.1](https://github.com/quickube/piper/compare/v1.1.0...v1.1.1) (2023-06-23) ### Bug Fixes -* blank config map support ([#52](https://github.com/Rookout/piper/issues/52)) ([fc4a4b2](https://github.com/Rookout/piper/commit/fc4a4b28617afdd618125d1fbcd796b4967b2650)) -* config injection new config validation ([#49](https://github.com/Rookout/piper/issues/49)) ([c84ea9a](https://github.com/Rookout/piper/commit/c84ea9ac8542810b156bf2ae62fafa83a6fc1de0)) -* refactor names ([#51](https://github.com/Rookout/piper/issues/51)) ([36e066f](https://github.com/Rookout/piper/commit/36e066f8f738547af825b7833d97f9f4c4750f08)) +* blank config map support ([#52](https://github.com/quickube/piper/issues/52)) ([fc4a4b2](https://github.com/quickube/piper/commit/fc4a4b28617afdd618125d1fbcd796b4967b2650)) +* config injection new config validation ([#49](https://github.com/quickube/piper/issues/49)) ([c84ea9a](https://github.com/quickube/piper/commit/c84ea9ac8542810b156bf2ae62fafa83a6fc1de0)) +* refactor names ([#51](https://github.com/quickube/piper/issues/51)) ([36e066f](https://github.com/quickube/piper/commit/36e066f8f738547af825b7833d97f9f4c4750f08)) -## [1.1.0](https://github.com/Rookout/piper/compare/v1.0.14...v1.1.0) (2023-06-19) +## [1.1.0](https://github.com/quickube/piper/compare/v1.0.14...v1.1.0) (2023-06-19) ### Features -* add app version to helm chart ([#47](https://github.com/Rookout/piper/issues/47)) ([12e592d](https://github.com/Rookout/piper/commit/12e592d2222ed74fc7fee6d23ba20271491102ac)) +* add app version to helm chart ([#47](https://github.com/quickube/piper/issues/47)) ([12e592d](https://github.com/quickube/piper/commit/12e592d2222ed74fc7fee6d23ba20271491102ac)) -## [1.0.14](https://github.com/Rookout/piper/compare/v1.0.13...v1.0.14) (2023-06-19) +## [1.0.14](https://github.com/quickube/piper/compare/v1.0.13...v1.0.14) (2023-06-19) ### Bug Fixes -* change chart deployment flow ([#45](https://github.com/Rookout/piper/issues/45)) ([bcb329c](https://github.com/Rookout/piper/commit/bcb329c6a2b77f6d40e37ee0827b0f40a260e749)) +* change chart deployment flow ([#45](https://github.com/quickube/piper/issues/45)) ([bcb329c](https://github.com/quickube/piper/commit/bcb329c6a2b77f6d40e37ee0827b0f40a260e749)) -## [1.0.13](https://github.com/Rookout/piper/compare/v1.0.12...v1.0.13) (2023-06-19) +## [1.0.13](https://github.com/quickube/piper/compare/v1.0.12...v1.0.13) (2023-06-19) ### Bug Fixes -* change chart deployment flow ([#43](https://github.com/Rookout/piper/issues/43)) ([4585e0f](https://github.com/Rookout/piper/commit/4585e0f81fb79ee0a4dddde19e09e108b64bdfa3)) +* change chart deployment flow ([#43](https://github.com/quickube/piper/issues/43)) ([4585e0f](https://github.com/quickube/piper/commit/4585e0f81fb79ee0a4dddde19e09e108b64bdfa3)) -## [1.0.12](https://github.com/Rookout/piper/compare/v1.0.11...v1.0.12) (2023-06-19) +## [1.0.12](https://github.com/quickube/piper/compare/v1.0.11...v1.0.12) (2023-06-19) ### Bug Fixes -* move chart path ([#41](https://github.com/Rookout/piper/issues/41)) ([cbdd58a](https://github.com/Rookout/piper/commit/cbdd58a026d747d2ed64e32d76da1f8fa7cbf399)) +* move chart path ([#41](https://github.com/quickube/piper/issues/41)) ([cbdd58a](https://github.com/quickube/piper/commit/cbdd58a026d747d2ed64e32d76da1f8fa7cbf399)) -## [1.0.11](https://github.com/Rookout/piper/compare/v1.0.10...v1.0.11) (2023-06-19) +## [1.0.11](https://github.com/quickube/piper/compare/v1.0.10...v1.0.11) (2023-06-19) ### Bug Fixes -* move chart path ([#39](https://github.com/Rookout/piper/issues/39)) ([50af217](https://github.com/Rookout/piper/commit/50af2178642f36ffff10087a1be69021d0497d2c)) +* move chart path ([#39](https://github.com/quickube/piper/issues/39)) ([50af217](https://github.com/quickube/piper/commit/50af2178642f36ffff10087a1be69021d0497d2c)) -## [1.0.10](https://github.com/Rookout/piper/compare/v1.0.9...v1.0.10) (2023-06-19) +## [1.0.10](https://github.com/quickube/piper/compare/v1.0.9...v1.0.10) (2023-06-19) ### Bug Fixes -* chart release flow ([#38](https://github.com/Rookout/piper/issues/38)) ([89bb175](https://github.com/Rookout/piper/commit/89bb175707ae7be73374340510148b0b4fe19e6b)) -* move chart path ([#35](https://github.com/Rookout/piper/issues/35)) ([f9d3a42](https://github.com/Rookout/piper/commit/f9d3a4253f2a32b5582ee0048386ccddd4d64937)) -* move chart path ([#37](https://github.com/Rookout/piper/issues/37)) ([c4da10b](https://github.com/Rookout/piper/commit/c4da10b3039fe0ac4dba310e3545b8ab2d6553f6)) +* chart release flow ([#38](https://github.com/quickube/piper/issues/38)) ([89bb175](https://github.com/quickube/piper/commit/89bb175707ae7be73374340510148b0b4fe19e6b)) +* move chart path ([#35](https://github.com/quickube/piper/issues/35)) ([f9d3a42](https://github.com/quickube/piper/commit/f9d3a4253f2a32b5582ee0048386ccddd4d64937)) +* move chart path ([#37](https://github.com/quickube/piper/issues/37)) ([c4da10b](https://github.com/quickube/piper/commit/c4da10b3039fe0ac4dba310e3545b8ab2d6553f6)) -## [1.0.9](https://github.com/Rookout/piper/compare/v1.0.8...v1.0.9) (2023-06-19) +## [1.0.9](https://github.com/quickube/piper/compare/v1.0.8...v1.0.9) (2023-06-19) ### Bug Fixes -* minor chart fix ([#33](https://github.com/Rookout/piper/issues/33)) ([cf1fdb9](https://github.com/Rookout/piper/commit/cf1fdb9dfb1f2b2de3778255ce60c2f56fcf800f)) +* minor chart fix ([#33](https://github.com/quickube/piper/issues/33)) ([cf1fdb9](https://github.com/quickube/piper/commit/cf1fdb9dfb1f2b2de3778255ce60c2f56fcf800f)) -## [1.0.8](https://github.com/Rookout/piper/compare/v1.0.7...v1.0.8) (2023-06-19) +## [1.0.8](https://github.com/quickube/piper/compare/v1.0.7...v1.0.8) (2023-06-19) ### Bug Fixes -* minor chart fix ([#31](https://github.com/Rookout/piper/issues/31)) ([f538110](https://github.com/Rookout/piper/commit/f538110309b3c2d0ab0c9c1a7a8ce64d8ae32ec2)) +* minor chart fix ([#31](https://github.com/quickube/piper/issues/31)) ([f538110](https://github.com/quickube/piper/commit/f538110309b3c2d0ab0c9c1a7a8ce64d8ae32ec2)) -## [1.0.7](https://github.com/Rookout/piper/compare/v1.0.6...v1.0.7) (2023-06-19) +## [1.0.7](https://github.com/quickube/piper/compare/v1.0.6...v1.0.7) (2023-06-19) ### Bug Fixes -* minor chart fix ([#29](https://github.com/Rookout/piper/issues/29)) ([def910b](https://github.com/Rookout/piper/commit/def910b5efbb5c199e314fae1d0545cdb441ece9)) +* minor chart fix ([#29](https://github.com/quickube/piper/issues/29)) ([def910b](https://github.com/quickube/piper/commit/def910b5efbb5c199e314fae1d0545cdb441ece9)) -## [1.0.6](https://github.com/Rookout/piper/compare/v1.0.5...v1.0.6) (2023-06-19) +## [1.0.6](https://github.com/quickube/piper/compare/v1.0.5...v1.0.6) (2023-06-19) ### Bug Fixes -* minor chart fix ([#27](https://github.com/Rookout/piper/issues/27)) ([e87d7e5](https://github.com/Rookout/piper/commit/e87d7e5dcf7afc1118bd2d13757adfdb0a8525e1)) +* minor chart fix ([#27](https://github.com/quickube/piper/issues/27)) ([e87d7e5](https://github.com/quickube/piper/commit/e87d7e5dcf7afc1118bd2d13757adfdb0a8525e1)) -## [1.0.5](https://github.com/Rookout/piper/compare/v1.0.4...v1.0.5) (2023-06-19) +## [1.0.5](https://github.com/quickube/piper/compare/v1.0.4...v1.0.5) (2023-06-19) ### Bug Fixes -* minor chart fix ([#25](https://github.com/Rookout/piper/issues/25)) ([d8c9804](https://github.com/Rookout/piper/commit/d8c9804416acddfdb384850e7c29fb52b7de82e2)) +* minor chart fix ([#25](https://github.com/quickube/piper/issues/25)) ([d8c9804](https://github.com/quickube/piper/commit/d8c9804416acddfdb384850e7c29fb52b7de82e2)) -## [1.0.4](https://github.com/Rookout/piper/compare/v1.0.3...v1.0.4) (2023-06-19) +## [1.0.4](https://github.com/quickube/piper/compare/v1.0.3...v1.0.4) (2023-06-19) ### Bug Fixes -* minor chart fix ([#23](https://github.com/Rookout/piper/issues/23)) ([3569238](https://github.com/Rookout/piper/commit/35692382a4f31d74646cbe2110071624f108ea25)) +* minor chart fix ([#23](https://github.com/quickube/piper/issues/23)) ([3569238](https://github.com/quickube/piper/commit/35692382a4f31d74646cbe2110071624f108ea25)) -## [1.0.3](https://github.com/Rookout/piper/compare/v1.0.2...v1.0.3) (2023-06-19) +## [1.0.3](https://github.com/quickube/piper/compare/v1.0.2...v1.0.3) (2023-06-19) ### Bug Fixes -* minor chart fix ([#20](https://github.com/Rookout/piper/issues/20)) ([596a242](https://github.com/Rookout/piper/commit/596a242a4beb871617f67dd5d6a06f04039e4f46)) -* minor chart fix ([#22](https://github.com/Rookout/piper/issues/22)) ([037dda7](https://github.com/Rookout/piper/commit/037dda7e8e845b3b3e5d6576cf2bb0b63e74c4c0)) +* minor chart fix ([#20](https://github.com/quickube/piper/issues/20)) ([596a242](https://github.com/quickube/piper/commit/596a242a4beb871617f67dd5d6a06f04039e4f46)) +* minor chart fix ([#22](https://github.com/quickube/piper/issues/22)) ([037dda7](https://github.com/quickube/piper/commit/037dda7e8e845b3b3e5d6576cf2bb0b63e74c4c0)) -## [1.0.2](https://github.com/Rookout/piper/compare/v1.0.1...v1.0.2) (2023-06-19) +## [1.0.2](https://github.com/quickube/piper/compare/v1.0.1...v1.0.2) (2023-06-19) ### Bug Fixes -* minor chart fix ([#18](https://github.com/Rookout/piper/issues/18)) ([4e34925](https://github.com/Rookout/piper/commit/4e34925591e795972c5d4bae9315666e5abadbc9)) +* minor chart fix ([#18](https://github.com/quickube/piper/issues/18)) ([4e34925](https://github.com/quickube/piper/commit/4e34925591e795972c5d4bae9315666e5abadbc9)) -## [1.0.1](https://github.com/Rookout/piper/compare/v1.0.0...v1.0.1) (2023-06-19) +## [1.0.1](https://github.com/quickube/piper/compare/v1.0.0...v1.0.1) (2023-06-19) ### Bug Fixes -* minor chart fix ([#16](https://github.com/Rookout/piper/issues/16)) ([14cfa19](https://github.com/Rookout/piper/commit/14cfa193d3f9151f05ce0e77a0e2f1416cd3ccf7)) +* minor chart fix ([#16](https://github.com/quickube/piper/issues/16)) ([14cfa19](https://github.com/quickube/piper/commit/14cfa193d3f9151f05ce0e77a0e2f1416cd3ccf7)) ## 1.0.0 (2023-06-19) ### Features -* UT | Add test to AddFilesToTemplates ([#5](https://github.com/Rookout/piper/issues/5)) ([c316e0e](https://github.com/Rookout/piper/commit/c316e0e301494e3edf48a614ac84fcca3f77a688)) +* UT | Add test to AddFilesToTemplates ([#5](https://github.com/quickube/piper/issues/5)) ([c316e0e](https://github.com/quickube/piper/commit/c316e0e301494e3edf48a614ac84fcca3f77a688)) ### Bug Fixes -* add UT for utils ([#9](https://github.com/Rookout/piper/issues/9)) ([75819de](https://github.com/Rookout/piper/commit/75819dec4d5e4bab4da1dd440dde8dbe6e865be5)) -* create ci ([#11](https://github.com/Rookout/piper/issues/11)) ([9e193dd](https://github.com/Rookout/piper/commit/9e193ddc5450de973b7c1d1b7c069c78ac371ca7)) -* edge cases with nil pointer dereferences ([#8](https://github.com/Rookout/piper/issues/8)) ([b36a8ef](https://github.com/Rookout/piper/commit/b36a8ef40877f33c2ffdede0694188bfdca572b1)) -* Improve UT to IsOrgWebhookEnabled ([#7](https://github.com/Rookout/piper/issues/7)) ([eb5de70](https://github.com/Rookout/piper/commit/eb5de701e895dfa51a77ada42184325479c93198)) -* linting issues ([206bc9e](https://github.com/Rookout/piper/commit/206bc9eaa1f403d68992d65ff6f870e1930ca844)) -* linting issues ([#14](https://github.com/Rookout/piper/issues/14)) ([3c9724a](https://github.com/Rookout/piper/commit/3c9724a3b33ed83ecaa5ecac5973ba67dd2be6b3)) -* rookout default value fix ([#15](https://github.com/Rookout/piper/issues/15)) ([a6b1158](https://github.com/Rookout/piper/commit/a6b1158dc491bc7c6d47b4784ad1afcc80d64389)) -* typo in package name ([#12](https://github.com/Rookout/piper/issues/12)) ([114d12a](https://github.com/Rookout/piper/commit/114d12a79853b1db675dbb912b9881ce7f3c4795)) +* add UT for utils ([#9](https://github.com/quickube/piper/issues/9)) ([75819de](https://github.com/quickube/piper/commit/75819dec4d5e4bab4da1dd440dde8dbe6e865be5)) +* create ci ([#11](https://github.com/quickube/piper/issues/11)) ([9e193dd](https://github.com/quickube/piper/commit/9e193ddc5450de973b7c1d1b7c069c78ac371ca7)) +* edge cases with nil pointer dereferences ([#8](https://github.com/quickube/piper/issues/8)) ([b36a8ef](https://github.com/quickube/piper/commit/b36a8ef40877f33c2ffdede0694188bfdca572b1)) +* Improve UT to IsOrgWebhookEnabled ([#7](https://github.com/quickube/piper/issues/7)) ([eb5de70](https://github.com/quickube/piper/commit/eb5de701e895dfa51a77ada42184325479c93198)) +* linting issues ([206bc9e](https://github.com/quickube/piper/commit/206bc9eaa1f403d68992d65ff6f870e1930ca844)) +* linting issues ([#14](https://github.com/quickube/piper/issues/14)) ([3c9724a](https://github.com/quickube/piper/commit/3c9724a3b33ed83ecaa5ecac5973ba67dd2be6b3)) +* quickube default value fix ([#15](https://github.com/quickube/piper/issues/15)) ([a6b1158](https://github.com/quickube/piper/commit/a6b1158dc491bc7c6d47b4784ad1afcc80d64389)) +* typo in package name ([#12](https://github.com/quickube/piper/issues/12)) ([114d12a](https://github.com/quickube/piper/commit/114d12a79853b1db675dbb912b9881ce7f3c4795)) diff --git a/README.md b/README.md index 8bf4fda..96adc1a 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,13 @@ This folder should contain declarations of the templates and main DAG that will Finally, it will submit the Workflow as a K8s resource in the cluster. To access more detailed explanations, please navigate to the [Documentation site](https://piper.quickube.com). -https://github.com/Rookout/piper/assets/106976988/09b3a5d8-3428-4bdc-9146-3034d81164bf +https://github.com/quickube/piper/assets/106976988/09b3a5d8-3428-4bdc-9146-3034d81164bf ## Reporting Issues If you encounter any issues or bugs while using Piper, please help us improve by reporting them. Follow these steps to report an issue: -1. Go to the [Piper Issues](https://github.com/Rookout/Piper/issues) page on GitHub. +1. Go to the [Piper Issues](https://github.com/quickube/Piper/issues) page on GitHub. 2. Click on the "New Issue" button. 3. Provide a descriptive title and detailed description of the issue, including any relevant error messages or steps to reproduce the problem. 4. Add appropriate labels to categorize the issue (e.g., bug, enhancement, question). diff --git a/cmd/piper/piper.go b/cmd/piper/piper.go index d71fde9..a0ec7ac 100644 --- a/cmd/piper/piper.go +++ b/cmd/piper/piper.go @@ -2,13 +2,13 @@ package main import ( rookout "github.com/Rookout/GoSDK" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/event_handler" - "github.com/rookout/piper/pkg/git_provider" - "github.com/rookout/piper/pkg/server" - "github.com/rookout/piper/pkg/utils" - workflowHandler "github.com/rookout/piper/pkg/workflow_handler" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/event_handler" + "github.com/quickube/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/server" + "github.com/quickube/piper/pkg/utils" + workflowHandler "github.com/quickube/piper/pkg/workflow_handler" "golang.org/x/net/context" "log" "os/signal" diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 8c38f32..b20c131 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -90,7 +90,7 @@ brew install kind Deployment: 1. make sure docker are running. 2. create tunnel with ngrok using `make ngrok`, save the `Forwarding` address. -3. create `values.dev.yaml` file that contains subset of chart's `value.yaml` file. check [example of values file](https://github.com/Rookout/piper/tree/main/examples/template.values.dev.yaml) rename it to `values.dev.yaml` and put in root directory. +3. create `values.dev.yaml` file that contains subset of chart's `value.yaml` file. check [example of values file](https://github.com/quickube/piper/tree/main/examples/template.values.dev.yaml) rename it to `values.dev.yaml` and put in root directory. 4. use `make deploy`. it will do the following: * deploy a local registry as container * deploy a kind cluster as container with configuration diff --git a/docs/configuration/environment_variables.md b/docs/configuration/environment_variables.md index c4e9acf..531660e 100644 --- a/docs/configuration/environment_variables.md +++ b/docs/configuration/environment_variables.md @@ -1,7 +1,7 @@ ## Environment Variables The environment variables used by Piper to configure its functionality. -The helm chart populate them using [values.yaml](https://github.com/Rookout/piper/tree/main/helm-chart/values.yaml) file +The helm chart populate them using [values.yaml](https://github.com/quickube/piper/tree/main/helm-chart/values.yaml) file ### Git @@ -57,4 +57,4 @@ The helm chart populate them using [values.yaml](https://github.com/Rookout/pipe * ROOKOUT_LABELS The labels to label instances at Rookout, default to "service:piper" * ROOKOUT_REMOTE_ORIGIN - The repo URL for source code fetching, default:"https://github.com/Rookout/piper.git". \ No newline at end of file + The repo URL for source code fetching, default:"https://github.com/quickube/piper.git". \ No newline at end of file diff --git a/docs/getting_started/installation.md b/docs/getting_started/installation.md index 1731b01..5ab16c0 100644 --- a/docs/getting_started/installation.md +++ b/docs/getting_started/installation.md @@ -3,14 +3,14 @@ Piper should be deployed in the cluster with Argo Workflows. Piper will create a CRD that Argo Workflows will pick, so install or configure Piper to create those CRDs in the right namespace. -Please check out [values.yaml](https://github.com/Rookout/piper/tree/main/helm-chart/values.yaml) file of the helm chart configurations. +Please check out [values.yaml](https://github.com/quickube/piper/tree/main/helm-chart/values.yaml) file of the helm chart configurations. To add piper helm repo run: ```bash helm repo add piper https://piper.quickube.com ``` -After configuring Piper [values.yaml](https://github.com/Rookout/piper/tree/main/helm-chart/values.yaml), run the following command for installation: +After configuring Piper [values.yaml](https://github.com/quickube/piper/tree/main/helm-chart/values.yaml), run the following command for installation: ```bash helm upgrade --install piper piper/piper \ -f YOUR_VALUES_FILE.yaml @@ -26,7 +26,7 @@ Piper should listen to webhooks from your git provider. Expose it using ingress or service, then provide the address to `piper.webhook.url` as followed: `https://PIPER_EXPOESED_URL/webhook` -Checkout [values.yaml](https://github.com/Rookout/piper/tree/main/helm-chart/values.yaml) +Checkout [values.yaml](https://github.com/quickube/piper/tree/main/helm-chart/values.yaml) ### Git diff --git a/docs/index.md b/docs/index.md index d2e19e8..65488d1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,7 @@ # Introduction

- +

Welcome to Piper! @@ -11,7 +11,7 @@ Piper is an open source project that aimed at providing multibranch pipeline fun ## General explanation

- +

To achieve multibranch pipeline functionality Piper will do the hard works for us. diff --git a/docs/usage/workflows_config.md b/docs/usage/workflows_config.md index 173bcc5..2ef0eef 100644 --- a/docs/usage/workflows_config.md +++ b/docs/usage/workflows_config.md @@ -7,7 +7,7 @@ Piper can inject configuration for Workflows that Piper creates. ### ConfigMap Piper will mount a configMap when helm used. `piper.workflowsConfig` variable in helm chart, will create a configMap that hold set of configuration for Piper. -Here is an [examples](https://github.com/Rookout/piper/tree/main/examples/config.yaml) of such configuration. +Here is an [examples](https://github.com/quickube/piper/tree/main/examples/config.yaml) of such configuration. ### Spec This will be injected to Workflow spec field. can hold all configuration of the Workflow. @@ -16,4 +16,4 @@ This will be injected to Workflow spec field. can hold all configuration of the ### onExit This is the exit handler for each of the Workflows create by piper. It configures a DAG that will be executed when the workflow ends. -You can provide the templates to it us in the following [Examples](https://github.com/Rookout/piper/tree/main/examples/config.yaml). \ No newline at end of file +You can provide the templates to it us in the following [Examples](https://github.com/quickube/piper/tree/main/examples/config.yaml). \ No newline at end of file diff --git a/docs/usage/workflows_folder.md b/docs/usage/workflows_folder.md index a01beb6..5ed3ca4 100644 --- a/docs/usage/workflows_folder.md +++ b/docs/usage/workflows_folder.md @@ -1,6 +1,6 @@ ## .workflows Folder -Piper will look in each of the target branches for a `.workflows` folder. [example](https://github.com/Rookout/piper/tree/main/examples/.workflows). +Piper will look in each of the target branches for a `.workflows` folder. [example](https://github.com/quickube/piper/tree/main/examples/.workflows). We will explain each of the files that should be included in the `.workflows` folder. ### triggers.yaml (convention name) @@ -17,13 +17,13 @@ Piper will execute each of matching triggers, so configure it wisely. templates: ["templates.yaml"] config: "default" ``` -Can be found [here](https://github.com/Rookout/piper/tree/main/examples/.workflows/triggers.yaml). +Can be found [here](https://github.com/quickube/piper/tree/main/examples/.workflows/triggers.yaml). In this example `main.yaml` will be executed as DAG when `push` or `pull_request.synchronize` events will be applied in `main` branch. `onExit` will be executed `exit.yaml` when finished the workflow as exit handler. -`onExit` can overwrite the default `onExit` configuration from by reference existing DAG tasks as in the [example](https://github.com/Rookout/piper/tree/main/examples/.workflows/exit.yaml). +`onExit` can overwrite the default `onExit` configuration from by reference existing DAG tasks as in the [example](https://github.com/quickube/piper/tree/main/examples/.workflows/exit.yaml). `config` field used for workflow configuration selection. the default value is `default` configuration. @@ -36,7 +36,7 @@ For instance, GitHub pull_request event have few action, one of them is synchron For which branch that trigger will be executed. #### onStart -This [file](https://github.com/Rookout/piper/tree/main/examples/.workflows/main.yaml) can be named as you wish and will be referenced in `triggers.yaml` file. It will define an entrypoint DAG that the Workflow will execute. +This [file](https://github.com/quickube/piper/tree/main/examples/.workflows/main.yaml) can be named as you wish and will be referenced in `triggers.yaml` file. It will define an entrypoint DAG that the Workflow will execute. As a best practice, this file should contain the dependencies logic and parametrization of each of referenced templates. It should not implement new templates, for this, use template.yaml file. @@ -45,15 +45,15 @@ This field used to pass verbose exitHandler to the triggered workflow. It will override the default onExit from the provided `config` or the default `config`. In the provided `exit.yaml` describes a DAG that will overwrite the default `onExit` configuration. -[Example](https://github.com/Rookout/piper/tree/main/examples/.workflows/exit.yaml) +[Example](https://github.com/quickube/piper/tree/main/examples/.workflows/exit.yaml) #### templates This field will have additional templates that will be injected to the workflows. The purpose of this field is to create repository scope templates that can be referenced from the DAGs templates at `onStart` or `onExit`. -[Example](https://github.com/Rookout/piper/tree/main/examples/.workflows/templates.yaml) +[Example](https://github.com/quickube/piper/tree/main/examples/.workflows/templates.yaml) As a best practice, use this field for template implementation and reference them from executed. -[Example](https://github.com/Rookout/piper/tree/main/examples/.workflows/main.yaml). +[Example](https://github.com/quickube/piper/tree/main/examples/.workflows/main.yaml). ### config configured by `piper-workflows-config` [configMap](workflows_config.md). @@ -63,4 +63,4 @@ Can be passed explicitly, or will use `deafault` configuration. Will hold a list of global parameters of the Workflow. can be referenced from any template with `{{ workflow.parameters.___ }}.` -[Example](https://github.com/Rookout/piper/tree/main/examples/.workflows/parameters.yaml) \ No newline at end of file +[Example](https://github.com/quickube/piper/tree/main/examples/.workflows/parameters.yaml) \ No newline at end of file diff --git a/go.mod b/go.mod index 850edcb..264a837 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/rookout/piper +module github.com/quickube/piper go 1.20 diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 5333c0f..acf5809 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -1,5 +1,5 @@ # Default values for Piper. -# For more information head to https:/github.com/rookout/piper +# For more information head to https:/github.com/quickube/piper # Map of Piper configurations. piper: @@ -97,7 +97,7 @@ image: # -- Piper image name name: piper # -- Piper public dockerhub repo - repository: rookout + repository: quickube # -- Piper image pull policy pullPolicy: IfNotPresent # -- Piper image tag diff --git a/mkdocs.yml b/mkdocs.yml index 888ce63..3c8f644 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,8 +2,8 @@ site_name: Piper - Multibranch Pipeline for ArgoWorkflows site_description: 'Piper project for multibranch pipeline in Argo Workflows' site_author: 'George Dozoretz' docs_dir: docs/ -repo_url: https://github.com/rookout/piper -repo_name: rookout/piper +repo_url: https://github.com/quickube/piper +repo_name: quickube/piper theme: name: material icon: diff --git a/pkg/clients/types.go b/pkg/clients/types.go index 10aeea0..09724e3 100644 --- a/pkg/clients/types.go +++ b/pkg/clients/types.go @@ -1,8 +1,8 @@ package clients import ( - "github.com/rookout/piper/pkg/git_provider" - "github.com/rookout/piper/pkg/workflow_handler" + "github.com/quickube/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/workflow_handler" ) type Clients struct { diff --git a/pkg/common/types.go b/pkg/common/types.go index 0991ede..d5ea213 100644 --- a/pkg/common/types.go +++ b/pkg/common/types.go @@ -1,7 +1,7 @@ package common import ( - "github.com/rookout/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/git_provider" ) type WorkflowsBatch struct { diff --git a/pkg/conf/rookout.go b/pkg/conf/rookout.go index fb7c3a3..d05c348 100644 --- a/pkg/conf/rookout.go +++ b/pkg/conf/rookout.go @@ -9,7 +9,7 @@ import ( type RookoutConfig struct { Token string `envconfig:"ROOKOUT_TOKEN" default:""` Labels string `envconfig:"ROOKOUT_LABELS" default:"service:piper"` - RemoteOrigin string `envconfig:"ROOKOUT_REMOTE_ORIGIN" default:"https://github.com/Rookout/piper.git"` + RemoteOrigin string `envconfig:"ROOKOUT_REMOTE_ORIGIN" default:"https://github.com/quickube/piper.git"` } func (cfg *RookoutConfig) RookoutConfLoad() error { diff --git a/pkg/conf/workflows_config.go b/pkg/conf/workflows_config.go index c581a86..ae5dc93 100644 --- a/pkg/conf/workflows_config.go +++ b/pkg/conf/workflows_config.go @@ -5,7 +5,7 @@ import ( "log" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/utils" ) type WorkflowsConfig struct { diff --git a/pkg/event_handler/github_event_notifier.go b/pkg/event_handler/github_event_notifier.go index ed2e03a..e5c3609 100644 --- a/pkg/event_handler/github_event_notifier.go +++ b/pkg/event_handler/github_event_notifier.go @@ -4,9 +4,9 @@ import ( "context" "fmt" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" ) var workflowTranslationToGithubMap = map[string]string{ diff --git a/pkg/event_handler/github_event_notifier_test.go b/pkg/event_handler/github_event_notifier_test.go index f89dcb8..a8a0239 100644 --- a/pkg/event_handler/github_event_notifier_test.go +++ b/pkg/event_handler/github_event_notifier_test.go @@ -3,15 +3,15 @@ package event_handler import ( "context" "errors" - "github.com/rookout/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/git_provider" assertion "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "net/http" "testing" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" ) type mockGitProvider struct{} diff --git a/pkg/event_handler/main.go b/pkg/event_handler/main.go index f93ebe0..e819677 100644 --- a/pkg/event_handler/main.go +++ b/pkg/event_handler/main.go @@ -2,8 +2,8 @@ package event_handler import ( "context" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "log" ) diff --git a/pkg/event_handler/workflow_event_handler.go b/pkg/event_handler/workflow_event_handler.go index 5e8cf79..6b9c5a9 100644 --- a/pkg/event_handler/workflow_event_handler.go +++ b/pkg/event_handler/workflow_event_handler.go @@ -3,7 +3,7 @@ package event_handler import ( "fmt" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/clients" + "github.com/quickube/piper/pkg/clients" "golang.org/x/net/context" "k8s.io/apimachinery/pkg/watch" "log" diff --git a/pkg/git_provider/bitbucket.go b/pkg/git_provider/bitbucket.go index 4e0fdb3..efbed56 100644 --- a/pkg/git_provider/bitbucket.go +++ b/pkg/git_provider/bitbucket.go @@ -5,8 +5,8 @@ import ( "encoding/json" "fmt" "github.com/ktrysmt/go-bitbucket" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" "github.com/tidwall/gjson" "golang.org/x/net/context" "io" diff --git a/pkg/git_provider/bitbucket_test.go b/pkg/git_provider/bitbucket_test.go index 0cd0b21..b3cea1f 100644 --- a/pkg/git_provider/bitbucket_test.go +++ b/pkg/git_provider/bitbucket_test.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" "github.com/ktrysmt/go-bitbucket" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" assertion "github.com/stretchr/testify/assert" "golang.org/x/net/context" "net/http" diff --git a/pkg/git_provider/bitbucket_utils.go b/pkg/git_provider/bitbucket_utils.go index 568725a..34a8741 100644 --- a/pkg/git_provider/bitbucket_utils.go +++ b/pkg/git_provider/bitbucket_utils.go @@ -3,8 +3,8 @@ package git_provider import ( "fmt" bitbucket "github.com/ktrysmt/go-bitbucket" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" "log" "net/http" "strings" diff --git a/pkg/git_provider/github.go b/pkg/git_provider/github.go index b2d5863..ec9e290 100644 --- a/pkg/git_provider/github.go +++ b/pkg/git_provider/github.go @@ -3,12 +3,12 @@ package git_provider import ( "context" "fmt" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/utils" "log" "net/http" "strings" - "github.com/rookout/piper/pkg/conf" + "github.com/quickube/piper/pkg/conf" "github.com/google/go-github/v52/github" ) diff --git a/pkg/git_provider/github_test.go b/pkg/git_provider/github_test.go index e622961..b0eb787 100644 --- a/pkg/git_provider/github_test.go +++ b/pkg/git_provider/github_test.go @@ -9,8 +9,8 @@ import ( "testing" "github.com/google/go-github/v52/github" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" assertion "github.com/stretchr/testify/assert" ) diff --git a/pkg/git_provider/github_utils.go b/pkg/git_provider/github_utils.go index 61f6874..f3f1133 100644 --- a/pkg/git_provider/github_utils.go +++ b/pkg/git_provider/github_utils.go @@ -6,10 +6,10 @@ import ( "net/http" "strings" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/utils" "github.com/google/go-github/v52/github" - "github.com/rookout/piper/pkg/conf" + "github.com/quickube/piper/pkg/conf" ) func isOrgWebhookEnabled(ctx context.Context, c *GithubClientImpl) (*github.Hook, bool) { diff --git a/pkg/git_provider/github_utils_test.go b/pkg/git_provider/github_utils_test.go index 9442929..31d8e53 100644 --- a/pkg/git_provider/github_utils_test.go +++ b/pkg/git_provider/github_utils_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/google/go-github/v52/github" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" assertion "github.com/stretchr/testify/assert" ) diff --git a/pkg/git_provider/main.go b/pkg/git_provider/main.go index 85ff6c6..9ebc5fa 100644 --- a/pkg/git_provider/main.go +++ b/pkg/git_provider/main.go @@ -2,7 +2,7 @@ package git_provider import ( "fmt" - "github.com/rookout/piper/pkg/conf" + "github.com/quickube/piper/pkg/conf" ) func NewGitProviderClient(cfg *conf.GlobalConfig) (Client, error) { diff --git a/pkg/server/main.go b/pkg/server/main.go index c14ea9c..07f975d 100644 --- a/pkg/server/main.go +++ b/pkg/server/main.go @@ -1,8 +1,8 @@ package server import ( - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" "golang.org/x/net/context" "log" ) diff --git a/pkg/server/routes/healthz.go b/pkg/server/routes/healthz.go index 62042c5..f69f7f9 100644 --- a/pkg/server/routes/healthz.go +++ b/pkg/server/routes/healthz.go @@ -1,8 +1,8 @@ package routes import ( - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/webhook_creator" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/webhook_creator" "golang.org/x/net/context" "log" "net/http" diff --git a/pkg/server/routes/webhook.go b/pkg/server/routes/webhook.go index 89c4196..1d2a4ec 100644 --- a/pkg/server/routes/webhook.go +++ b/pkg/server/routes/webhook.go @@ -1,14 +1,14 @@ package routes import ( - "github.com/rookout/piper/pkg/webhook_creator" + "github.com/quickube/piper/pkg/webhook_creator" "log" "net/http" "github.com/gin-gonic/gin" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - webhookHandler "github.com/rookout/piper/pkg/webhook_handler" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + webhookHandler "github.com/quickube/piper/pkg/webhook_handler" ) func AddWebhookRoutes(cfg *conf.GlobalConfig, clients *clients.Clients, rg *gin.RouterGroup, wc *webhook_creator.WebhookCreatorImpl) { diff --git a/pkg/server/server.go b/pkg/server/server.go index afb519f..b071702 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -2,10 +2,10 @@ package server import ( "github.com/gin-gonic/gin" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/server/routes" - "github.com/rookout/piper/pkg/webhook_creator" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/server/routes" + "github.com/quickube/piper/pkg/webhook_creator" "log" "net/http" ) diff --git a/pkg/server/types.go b/pkg/server/types.go index fbbe126..b150c96 100644 --- a/pkg/server/types.go +++ b/pkg/server/types.go @@ -2,9 +2,9 @@ package server import ( "github.com/gin-gonic/gin" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/webhook_creator" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/webhook_creator" "net/http" ) diff --git a/pkg/webhook_creator/main.go b/pkg/webhook_creator/main.go index 2b81997..6e1b390 100644 --- a/pkg/webhook_creator/main.go +++ b/pkg/webhook_creator/main.go @@ -3,10 +3,10 @@ package webhook_creator import ( "fmt" "github.com/emicklei/go-restful/v3/log" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/git_provider" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/utils" "golang.org/x/net/context" "strconv" "strings" diff --git a/pkg/webhook_creator/mocks.go b/pkg/webhook_creator/mocks.go index b6188d3..dd618a4 100644 --- a/pkg/webhook_creator/mocks.go +++ b/pkg/webhook_creator/mocks.go @@ -2,7 +2,7 @@ package webhook_creator import ( "errors" - "github.com/rookout/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/git_provider" "golang.org/x/net/context" "net/http" ) diff --git a/pkg/webhook_creator/tests_test.go b/pkg/webhook_creator/tests_test.go index d651ef6..8518166 100644 --- a/pkg/webhook_creator/tests_test.go +++ b/pkg/webhook_creator/tests_test.go @@ -2,9 +2,9 @@ package webhook_creator import ( "errors" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/git_provider" "github.com/stretchr/testify/assert" "golang.org/x/net/context" "math/rand" diff --git a/pkg/webhook_handler/types.go b/pkg/webhook_handler/types.go index 8898858..165e574 100644 --- a/pkg/webhook_handler/types.go +++ b/pkg/webhook_handler/types.go @@ -2,7 +2,7 @@ package webhook_handler import ( "context" - "github.com/rookout/piper/pkg/common" + "github.com/quickube/piper/pkg/common" ) type Trigger struct { diff --git a/pkg/webhook_handler/webhook_handler.go b/pkg/webhook_handler/webhook_handler.go index ae84cbe..92ed4d4 100644 --- a/pkg/webhook_handler/webhook_handler.go +++ b/pkg/webhook_handler/webhook_handler.go @@ -3,11 +3,11 @@ package webhook_handler import ( "context" "fmt" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/common" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/git_provider" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/common" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/utils" "gopkg.in/yaml.v3" "log" ) diff --git a/pkg/webhook_handler/webhook_handler_test.go b/pkg/webhook_handler/webhook_handler_test.go index dcd8352..c0d4380 100644 --- a/pkg/webhook_handler/webhook_handler_test.go +++ b/pkg/webhook_handler/webhook_handler_test.go @@ -3,10 +3,10 @@ package webhook_handler import ( "context" "fmt" - "github.com/rookout/piper/pkg/clients" - "github.com/rookout/piper/pkg/common" - "github.com/rookout/piper/pkg/git_provider" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/clients" + "github.com/quickube/piper/pkg/common" + "github.com/quickube/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/utils" assertion "github.com/stretchr/testify/assert" "net/http" "strings" @@ -125,7 +125,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -175,7 +175,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -225,7 +225,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -248,7 +248,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -271,7 +271,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -294,7 +294,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -344,7 +344,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -398,7 +398,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch1", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", @@ -452,7 +452,7 @@ func TestPrepareBatchForMatchingTriggers(t *testing.T) { Branch: "branch2", Commit: "commitHSA", User: "piper", - UserEmail: "piper@rookout.com", + UserEmail: "piper@quickube.com", PullRequestURL: "", PullRequestTitle: "", DestBranch: "", diff --git a/pkg/workflow_handler/types.go b/pkg/workflow_handler/types.go index b8e94e7..f95f5c3 100644 --- a/pkg/workflow_handler/types.go +++ b/pkg/workflow_handler/types.go @@ -3,7 +3,7 @@ package workflow_handler import ( "context" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/common" + "github.com/quickube/piper/pkg/common" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/watch" ) diff --git a/pkg/workflow_handler/workflows.go b/pkg/workflow_handler/workflows.go index ce444f8..d0aa8a8 100644 --- a/pkg/workflow_handler/workflows.go +++ b/pkg/workflow_handler/workflows.go @@ -13,9 +13,9 @@ import ( "log" "strings" - "github.com/rookout/piper/pkg/common" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/common" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/utils" ) const ( diff --git a/pkg/workflow_handler/workflows_test.go b/pkg/workflow_handler/workflows_test.go index b52cf40..3644e53 100644 --- a/pkg/workflow_handler/workflows_test.go +++ b/pkg/workflow_handler/workflows_test.go @@ -2,9 +2,9 @@ package workflow_handler import ( "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/common" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/common" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/git_provider" assertion "github.com/stretchr/testify/assert" "testing" ) diff --git a/pkg/workflow_handler/workflows_utils.go b/pkg/workflow_handler/workflows_utils.go index 52839a5..7dcadb0 100644 --- a/pkg/workflow_handler/workflows_utils.go +++ b/pkg/workflow_handler/workflows_utils.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/conf" - "github.com/rookout/piper/pkg/git_provider" - "github.com/rookout/piper/pkg/utils" + "github.com/quickube/piper/pkg/conf" + "github.com/quickube/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/utils" "gopkg.in/yaml.v3" "log" "regexp" diff --git a/pkg/workflow_handler/workflows_utils_test.go b/pkg/workflow_handler/workflows_utils_test.go index 548d2d8..166e0fb 100644 --- a/pkg/workflow_handler/workflows_utils_test.go +++ b/pkg/workflow_handler/workflows_utils_test.go @@ -3,7 +3,7 @@ package workflow_handler import ( "fmt" "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" - "github.com/rookout/piper/pkg/git_provider" + "github.com/quickube/piper/pkg/git_provider" assertion "github.com/stretchr/testify/assert" "testing" )