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

Exploration of GH actions for use in the CI/CD pipeline #171

Closed
htpvu opened this issue Mar 10, 2022 · 8 comments
Closed

Exploration of GH actions for use in the CI/CD pipeline #171

htpvu opened this issue Mar 10, 2022 · 8 comments
Assignees

Comments

@htpvu
Copy link

htpvu commented Mar 10, 2022

Definition of done for this ticket:

  • Live proof of concept in the playground repo
  • GH action call
  • GH event triggers
  • GH calling out to cloud service to perform actions
  • Notifications (to slack/email) when actions occur
  • Demonstration of testing
    • How it runs
    • How it is reported
    • How it demonstrates failure
  • Documenting this separate from showing a demo-case
@aforward
Copy link
Contributor

I reached out to EF help and was pointed towards creating a Helpdesk ticket to create to get the EF organization created. Here's a link to the ticket

https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1004

@aforward
Copy link
Contributor

FYI, the organization has been created under
https://github.com/eclipse-pass

With a playground project to be used in the interim.

@aforward
Copy link
Contributor

@grant-mcs
Copy link
Contributor

Preliminary proof-of-concept work is being done here: eclipse-pass/playground#1

@grant-mcs
Copy link
Contributor

Items that are currently done in this ticket:

  • GitHub Actions workflows run on PR creation and pushes:
    • Running automated tests for Maven JAR project
    • Running automated tests for Maven service project
  • GitHub Actions workflows run on merge of PR to main:
    • Publish a Docker image to the GitHub package repository
    • Publish a JAR to the GitHub package repository

Not done:

Items that will not be done:

  • Notifying about action results in Slack.
    • This requires installing an application in our Slack workspace and we've reached the limit for a free workspace. This can be revisited once we have real repos that we would want to report on.

@bbranan
Copy link
Contributor

bbranan commented May 9, 2022

I cleared out a few old slack integrations, so there's space to install a new one new. I can assist with setting up an app if needed. Unfortunately, I expect we'll need to create a webhook url, which means another secret to capture in GitHub. We'd want this one at the org level (not the repo level), so as to avoid duplicating it for each repo.

@bbranan
Copy link
Contributor

bbranan commented May 11, 2022

@grant-mcs it may be possible to work directly with repository-level secrets via the API, see: github/docs#1087

@grant-mcs
Copy link
Contributor

The deployment of Docker images to a running k8s cluster is still outstanding and will be dealt with in a separate issue: 253.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants