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

Investigate using CI job(s) for copying releases from CI repo to testing/stable repos #24

Open
amdprophet opened this issue Apr 12, 2021 · 2 comments
Milestone

Comments

@amdprophet
Copy link
Member

We're currently using Skopeo to do a remote copy from the CI Docker repository to the public-facing testing & stable repositories. I'd like to investigate using CI jobs triggered by the CircleCI API to run these steps.

The API request will require:

  • git sha of sensu-enterprise-go to use
  • version number (e.g. 6.3.0)
@calebhailey
Copy link

Perhaps even implemented as a Docker container which executes the uploading of the release to the repos? Then it's portable if we ever decide to move off of Circle CI?

@calebhailey calebhailey added this to the 6.6.0 milestone Apr 13, 2021
@calebhailey calebhailey modified the milestones: 6.next, 6.6.0 Sep 24, 2021
@portertech portertech modified the milestones: 6.6.0, 6.next Nov 22, 2021
@amdprophet
Copy link
Member Author

We now have internal scripts to simplify the promotion process of Docker images from one repository to another. Implementing what's described in this issue would involve:

  • Implementing a promotion job in CI that can only be triggered via an API call
    • Trigger has mandatory parameters (e.g. action: ci-to-testing)
    • Uses the scripts described above with the parameters that are set
  • Writing a script / tool which:
    1. Accepts the required parameters to trigger the job in CI
    2. Triggers the job in CI

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

No branches or pull requests

3 participants