Skip to content

Conversation

@fimac
Copy link
Contributor

@fimac fimac commented Oct 29, 2024

  • updates proxy, and goeql
  • adds additional tests for jsonb ops that we have in main currently and inline with poc
  • deletes examples because they are a duplication of what we have in the e2e tests.
  • updates to download eql from releases and install on init of docker
  • removes dropping and recreating db when running tests not necessary.
Screenshot 2024-10-30 at 12 42 08 PM

@fimac fimac force-pushed the chore/update-go-xorm-tests branch from dfcf480 to 3032832 Compare October 29, 2024 03:59
docker compose down
}

subproject_examples() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this command as no longer necessary (see comment in description). The tests are the source of truth for examples. No need to duplicate.

@fimac fimac marked this pull request as ready for review October 30, 2024 01:44

// Installing EQL
func installDsl(engine *sql.DB) {
path := "../../../release/cipherstash-encrypt-dsl.sql"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed as this is now being installed on init of docker with a download directly from eql

installEql()
}

func runExamples() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted in the description, these examples are duplicates of the e2e tests. Removing as there's no need for both, tests are the source of truth for working examples.

return nil
}

func setupDb() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary to have this. The db is created when docker starts

@fimac fimac force-pushed the chore/update-go-xorm-tests branch from 4103247 to 70ed523 Compare October 30, 2024 01:48
Copy link
Contributor

@auxesis auxesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big fan of these simplifications.

Nice work @fimac ❤️

@fimac fimac merged commit 9154678 into main Oct 30, 2024
@fimac fimac deleted the chore/update-go-xorm-tests branch October 30, 2024 02:40
tobyhede pushed a commit that referenced this pull request Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants