Commit Graph

  • d403a29fdc Update documentation vzt/fix-ok-to-test Volodymyr Zotov 2025-10-02 15:34:51 -05:00
  • d30ed0b9d7 Name the jobs 'run-e2e-tests' Volodymyr Zotov 2025-10-02 15:31:23 -05:00
  • db2053fde4 Update status for e2e-test check as well Volodymyr Zotov 2025-10-02 15:28:48 -05:00
  • 316f605680 Update docs Volodymyr Zotov 2025-10-02 13:18:05 -05:00
  • 7135f439a5 Update check-external-pr check when e2e test success Volodymyr Zotov 2025-10-02 13:14:04 -05:00
  • 625297c1fb Add doc explaining how to test forked PR Volodymyr Zotov 2025-10-02 12:41:01 -05:00
  • e967f7ce1e Revert job name Volodymyr Zotov 2025-10-02 12:40:35 -05:00
  • 5199e9f350 Revert "Update status check to 'success' only if e2e tests are passed" Volodymyr Zotov 2025-10-02 12:37:04 -05:00
  • 878b38deac Update status check to 'success' only if e2e tests are passed Volodymyr Zotov 2025-10-02 12:36:27 -05:00
  • 1a40b4fb95 Pass jobm name as env Volodymyr Zotov 2025-10-02 12:35:06 -05:00
  • 4b5d3c5f1a Use propper job name e2e-tests Volodymyr Zotov 2025-10-02 12:34:10 -05:00
  • 8d4908fb72 Updated comment to mention sha= portion to dispatch the event Volodymyr Zotov 2025-10-02 11:50:15 -05:00
  • 6cf52a7bfc Use process.env.job instead of hardcoding job name Volodymyr Zotov 2025-10-02 11:29:31 -05:00
  • 7ef9ec6de7 Update e2e job names to avoid confustion and fix updating check status Volodymyr Zotov 2025-10-02 08:35:37 -05:00
  • 5ccb0d88bb Merge pull request #224 from 1Password/vzt/test-contributions-workflow main Volodymyr Zotov 2025-10-02 08:16:43 -05:00
  • 3f52bb2840 Add new line at the end of the file Volodymyr Zotov 2025-10-02 08:09:04 -05:00
  • 7650aef60a Merge pull request #225 from 1Password/vzt/testhelper-module Volodymyr Zotov 2025-10-02 08:07:26 -05:00
  • 63e3f29be9 Refactor e2e test workflows Volodymyr Zotov 2025-09-30 21:44:16 -05:00
  • 49bc9cb329 Use workflow anchors Volodymyr Zotov 2025-09-30 21:37:11 -05:00
  • a5e4a352e9 Update readme Volodymyr Zotov 2025-09-30 16:59:30 -05:00
  • edde903759 Do not use first pod, but look for matching pod in array Volodymyr Zotov 2025-09-30 16:54:07 -05:00
  • 03b093ac17 Add webhooks to schema Volodymyr Zotov 2025-09-17 11:21:21 -05:00
  • 79ee171b7f Add functions to testhelper package Volodymyr Zotov 2025-09-17 11:08:11 -05:00
  • c9a8cc6fb8 Add go.sum Volodymyr Zotov 2025-09-17 10:52:12 -05:00
  • a390354100 Make testhelper as a standalone module to install as dependency into kubernetes-secrets-injector Volodymyr Zotov 2025-09-17 10:45:50 -05:00
  • de62e07bcf Bump action versions in other workflows Volodymyr Zotov 2025-09-11 12:20:40 -05:00
  • 3ebc536dd7 Add empty line at the end of the file Volodymyr Zotov 2025-09-11 11:50:02 -05:00
  • 6769e25a98 Do not run e2e tests when making a change on documentation or not realted to the operator files Volodymyr Zotov 2025-09-11 11:49:09 -05:00
  • d8734c9ae3 Run e2e tests when pusing to main and bump actions to the latest Volodymyr Zotov 2025-09-11 11:16:47 -05:00
  • 460742869b Add workflow to run e2e tests on contributor's branch Volodymyr Zotov 2025-09-11 11:14:10 -05:00
  • 35e476230c Add ok-to-test workflow Volodymyr Zotov 2025-09-11 10:52:53 -05:00
  • 0f56cab693 Merge pull request #220 from 1Password/vzt/pr-template Volodymyr Zotov 2025-09-09 14:16:03 -05:00
  • a1ab24f244 Add 'Resolves' section Volodymyr Zotov 2025-09-09 14:08:15 -05:00
  • 13e4b16846 Merge pull request #219 from 1Password/vzt/test-improvements Volodymyr Zotov 2025-09-09 13:59:59 -05:00
  • 3a9691576a Add ok to test workflow Volodymyr Zotov 2025-09-05 13:45:29 -05:00
  • 94602ddd72 Fix lint errors Volodymyr Zotov 2025-09-05 11:34:18 -05:00
  • 292c6f0e93 Update testing doc to mention integration and unit tests under single command Volodymyr Zotov 2025-09-05 11:24:02 -05:00
  • 0f1293ca95 Update testing doc to merge integration and unit tests under single command Volodymyr Zotov 2025-09-05 11:20:08 -05:00
  • 706ebdd8b8 Copy manager.yaml from test/e2e when starting e2e tests Volodymyr Zotov 2025-09-05 10:13:23 -05:00
  • bd963bcd1d Revert config/manager.yaml Volodymyr Zotov 2025-09-05 09:34:49 -05:00
  • bf6cac81cb Add capabilities for ["CHOWN", "FOWNER"] to make it more striker Volodymyr Zotov 2025-09-04 11:17:38 -05:00
  • 9c4849ec2e Ignore these files across entire project Volodymyr Zotov 2025-09-04 10:43:55 -05:00
  • c2788770fd Add comment about installing 1p cli in test workflow Volodymyr Zotov 2025-09-04 10:41:25 -05:00
  • 6baef1b9cf Fix lint error Volodymyr Zotov 2025-08-28 13:24:55 -05:00
  • 7e08158d2f Use op.ReadItemField command Volodymyr Zotov 2025-08-28 13:22:11 -05:00
  • 976909c438 Update OpReadField method to be able to read different item fields Volodymyr Zotov 2025-08-28 13:20:45 -05:00
  • e61ba49018 Add namespace package Volodymyr Zotov 2025-08-28 13:17:27 -05:00
  • 6492b3cf34 Remove operator package, as make commands can be run directly using system.Run Volodymyr Zotov 2025-08-28 13:12:48 -05:00
  • 9d08bcc864 Update e2e local testing steps Volodymyr Zotov 2025-08-28 11:25:57 -05:00
  • f7f5462133 Pass CRDs on createion of kube instance Volodymyr Zotov 2025-08-27 11:19:17 -05:00
  • 128954cd80 Add pull request template Volodymyr Zotov 2025-08-26 17:05:35 -05:00
  • a1cbd40f9e Refer to testing.md from contributing.md Volodymyr Zotov 2025-08-26 16:56:50 -05:00
  • d75a33d524 Add testing.md doc to describe where specific tests should be added Volodymyr Zotov 2025-08-26 16:50:06 -05:00
  • b1b6c97a88 Remove redundant if statement Volodymyr Zotov 2025-08-26 16:33:49 -05:00
  • 0c3caf88b6 Provide default inerval and timeout via config Volodymyr Zotov 2025-08-26 16:31:07 -05:00
  • 24edff22d4 Do not run e2e tests when moving from draft to ready and vise versa Volodymyr Zotov 2025-08-26 16:25:23 -05:00
  • 8c893270f4 Update CONTRIBUTING.md with instructions on how to run e2e tests locally Volodymyr Zotov 2025-08-26 15:51:59 -05:00
  • d5f1044571 Do not install kubectl cli in pipeline as we use golang library to interact with cluster Volodymyr Zotov 2025-08-26 15:12:16 -05:00
  • b40f27b052 Refactor kube package to use controller-runtime golang client to interact with cluster Volodymyr Zotov 2025-08-26 15:11:04 -05:00
  • cd03a651ad Refactor kube package to use controller-runtime client instead of using kubectl CLI. Volodymyr Zotov 2025-08-25 22:52:17 -05:00
  • 9aac824066 Add test case for ignore-secret tag Volodymyr Zotov 2025-08-22 11:22:39 -05:00
  • 05ad484bd6 Fix lint error Volodymyr Zotov 2025-08-22 10:25:45 -05:00
  • 71b29d5fe6 Install op-cli into github action job Volodymyr Zotov 2025-08-22 10:25:04 -05:00
  • c082f9562e Add tests case to check that kubernetes secret is updated after item is updated in 1Password Volodymyr Zotov 2025-08-22 10:14:49 -05:00
  • 57478247cf Update secret to point to operator-acceptance-tests vault Volodymyr Zotov 2025-08-22 09:57:20 -05:00
  • 4836140f66 Add CheckSecretPasswordWasUpdated function to the kube package Volodymyr Zotov 2025-08-22 09:56:38 -05:00
  • 2b36f16940 Introduce op package to handle op-cli commands Volodymyr Zotov 2025-08-22 09:38:21 -05:00
  • bb97134e10 Add comments on each test helper function Volodymyr Zotov 2025-08-22 08:30:35 -05:00
  • 904d269e7b Roll back changes to customization yaml Volodymyr Zotov 2025-08-21 17:01:10 -05:00
  • cf9b267eaf Remove commented code Volodymyr Zotov 2025-08-21 16:02:04 -05:00
  • 4d64beab86 Exclude e2e tests from make test command Volodymyr Zotov 2025-08-21 15:52:38 -05:00
  • ca051a08cf Move testhelper package to pkg so it can be installed as dependency in secrets injector repo Volodymyr Zotov 2025-08-21 15:22:41 -05:00
  • 22a7c8f586 Create 1password-credentials.json from env var Volodymyr Zotov 2025-08-21 14:57:24 -05:00
  • 2003d13788 Fix lint issues and CheckSecretExists function Volodymyr Zotov 2025-08-21 10:38:19 -05:00
  • 7187f41ef1 Checking that all secrets are created before running tests Volodymyr Zotov 2025-08-21 10:17:19 -05:00
  • d0b11c70f0 Roll back Connect test Volodymyr Zotov 2025-08-21 10:11:06 -05:00
  • 9825cb57c9 Test with service account Volodymyr Zotov 2025-08-21 10:02:13 -05:00
  • 6bb6088353 Use GetProjectRoot to create secret Volodymyr Zotov 2025-08-21 09:56:37 -05:00
  • 5a56fd3330 Wait for Connect pod is running Volodymyr Zotov 2025-08-20 15:51:50 -05:00
  • dcd7eefac0 Increase timeout to 1 minute Volodymyr Zotov 2025-08-20 15:39:44 -05:00
  • 29b7ed7899 Run correct make command that starts e2e tests Volodymyr Zotov 2025-08-20 15:33:08 -05:00
  • 331e8d7bfb Add e2e tests workflow Volodymyr Zotov 2025-08-20 15:29:58 -05:00
  • c144bd3d01 Remove PatchOperatorManageConnect as manifest has MANAGE_CONNECT: true set already Volodymyr Zotov 2025-08-20 15:02:21 -05:00
  • 299689fe13 Extract setting context namespace to standalone function SetContextNamespace Volodymyr Zotov 2025-08-20 14:57:47 -05:00
  • 882d8e951d Never pull the image, but use local when deploying the operator. Deploy along with Connect Volodymyr Zotov 2025-08-20 14:56:32 -05:00
  • 7885ba649b Set to namespace to default Volodymyr Zotov 2025-08-20 14:42:08 -05:00
  • 600adf2670 Move cmd package to testhelper and rename to be system Volodymyr Zotov 2025-08-20 14:27:12 -05:00
  • 88b2dfbf67 Use GetProjectRoot in Run Volodymyr Zotov 2025-08-20 14:15:26 -05:00
  • e167db2357 Remove secret from previous step Volodymyr Zotov 2025-08-20 10:28:18 -05:00
  • 91a9bb6d63 Create op-credentials secret to use operator with Connect Volodymyr Zotov 2025-08-20 10:24:16 -05:00
  • 116c8c92a7 Update item path to point to test secret Volodymyr Zotov 2025-08-20 09:36:20 -05:00
  • 4307e9d713 Add 1password-credentials.json and op-session to git ignore Volodymyr Zotov 2025-08-20 09:33:52 -05:00
  • 1759055edd Update sqlite-permissions to run as root, so it can start Connect in e2e tests Volodymyr Zotov 2025-08-20 09:10:32 -05:00
  • c1e9934088 Fix typo Volodymyr Zotov 2025-08-19 14:51:32 -05:00
  • 19b629f2ee Move BuildOperatorImage function to testhelper.operator package Volodymyr Zotov 2025-08-19 14:50:39 -05:00
  • 174f952691 Split testing flow for Connect and Service Accounts Volodymyr Zotov 2025-08-19 12:05:29 -05:00
  • f8704223c8 Move all helpers to testhelper package Volodymyr Zotov 2025-08-19 12:04:56 -05:00
  • 5630d788a2 Create kube package that abstracts interactions with kubernetes cluster Volodymyr Zotov 2025-08-19 11:52:28 -05:00
  • d504e5ef35 Add e2e tests using Service Accounts Volodymyr Zotov 2025-08-19 09:51:19 -05:00
  • 7d2596a4aa Create e2e tests package Volodymyr Zotov 2025-08-15 13:27:25 -05:00