Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] run Workspace Integration tests in Github Actions #16904

Merged
merged 9 commits into from
Mar 20, 2023

Conversation

kylos101
Copy link
Contributor

@kylos101 kylos101 commented Mar 17, 2023

Description

Run Workspace integration tests in GHA. Note: it is not a reliable source of truth yet - we're iterating.

Many thanks to @vulkoingim for getting us online with GHA, and @iQQBot for pioneering with the IDE integration tests.

Related Issue(s)

Fixes # n/a

How to test

  1. Use the gh CLI to trigger a run yourself, you'll need to authenticate gh auth login, and then trigger the action gh workflow run "Workspace integration tests" --ref kylos101/wks-intg-fix -f name=kylos101-w723fcbd2de -f version=main-gha.4902
  2. Inspect GHA versus werft results, below

GHA, runs tests, there are failures and the # of tests run varies (to fix in a future PR), status is shared in Slack via #workspace-jobs.

compare it with

The Werft job, which is broke as of ~March 15, and no longer can run tests because it cannot spin up a preview environment, without us investing more on the SID team. @corneliusludmann for 👀

Release Notes

NONE

Documentation

Build Options:

  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

kylos101 and others added 3 commits March 17, 2023 16:03
Tests consistently run now, but, some are failing, and need to be fixed
in a follow-on PR.
* split jobs

* [preview] pass context to rollout status

* ¯\(◉‿◉)/¯
@roboquat roboquat merged commit 7849d8c into main Mar 20, 2023
@roboquat roboquat deleted the kylos101/wks-intg-fix branch March 20, 2023 11:45
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none size/L team: workspace Issue belongs to the Workspace team
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants