Skip to content

Setup Deployment Pipeline #313

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

Merged
merged 21 commits into from
Apr 13, 2022
Merged

Setup Deployment Pipeline #313

merged 21 commits into from
Apr 13, 2022

Conversation

xiazhvera
Copy link
Contributor

@xiazhvera xiazhvera commented Apr 11, 2022

  1. Added the scripts for python SDK deployment. The deployment pipeline has the following stages
    a. Verify the package version. Check if we need push a new release

    • continuous-delivery/test_version_exists.yml
    • continuous-delivery/test_version_exists
      b. Deliver to Test pypi and test
    • continuous-delivery/publish_to_test_pypi.yml
    • continuous-delivery/test_test_pypi.yml
      c. Publish to prod pypi
    • continuous-delivery/publish_to_prod_pypi.yml
    • continuous-delivery/test_prod_pypi.yml
  2. Added "--print_discover_resp_only" flag for greengrass sample. The flag is used for deployment test only, once the flag is set, the program always return true as long as the SDK API is imported correctly

  3. setup_test.py
    The setup file is for test deployment only. Since the package name is already used in another account, for the test pypi, we use a different package name.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@bretambrose bretambrose left a comment

Choose a reason for hiding this comment

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

Ideally we should delete that empty Credentials directory but would need to verify that the integration tests don't give an error if the directory is used during the run and needs to exist.

@xiazhvera xiazhvera merged commit 0ea1a2d into master Apr 13, 2022
@xiazhvera xiazhvera deleted the pipeline branch May 20, 2022 16:12
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.

None yet

2 participants