alantech / iasql

Cloud Infrastructure as data in PostgreSQL
https://iasql.com
MIT License
591 stars 25 forks source link

AWS codepipeline flakiness #1594

Open aguillenv opened 1 year ago

aguillenv commented 1 year ago

The following error is happening in the test suite intermittently creating the pipeline:

QueryFailedError: iasql_functions iasqlCommit error: "PipelineDeclaration cloud create error: Action configuration for the new action \"SourceAction\" contains an invalid configuration for the secret property \"OAuthToken\". \"****\" may be used in secret properties only when updating an existing action."
aguillenv commented 1 year ago

@yrobla do you think this could be related to the fact that the action we are using is not the recommended one anymore? https://docs.aws.amazon.com/codepipeline/latest/userguide/update-github-action-connections.html

aguillenv commented 1 year ago

I've tried again today to understand this issue but I'm not sure what could be the error... I'd say is some inconsistency in AWS but not sure...

yrobla commented 1 year ago

I could not find the root cause as well, it happens randomly. But i agree that we should not be using a non recommended action, we should add support for Codestar and use it in our tests and samples.