Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

feature: add dispatch to docker repo #8

Merged
merged 13 commits into from
Feb 14, 2023

Conversation

itsmostafa
Copy link
Contributor

@itsmostafa itsmostafa commented Feb 9, 2023

Add a dispatch step to trigger a build at cisagov/con-pca-tasks-docker repo

🗣 Description

Dispatch step depends on a release being completed.
Disabled CGO as it's not needed to run C libraries and allows for a performance boost.

💭 Motivation and context

Part of the effort to automate deployments

🧪 Testing

will be testing within this PR's gha checks

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated
    to reflect the changes in this PR.
  • All new and existing tests pass.

@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch from 0dc8176 to 3b9a355 Compare February 9, 2023 21:49
@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch 15 times, most recently from c69785c to d1e284b Compare February 9, 2023 22:40
@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch 6 times, most recently from 3603da3 to 6ba8f86 Compare February 9, 2023 23:20
@itsmostafa itsmostafa marked this pull request as ready for review February 9, 2023 23:25
@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch from 6ba8f86 to ce4386f Compare February 9, 2023 23:26
@itsmostafa itsmostafa changed the title feature: add dispatch docker repo feature: add dispatch to docker repo Feb 9, 2023
@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch from ce4386f to 1a1b5f4 Compare February 9, 2023 23:53
.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch from acf5a9d to acfccc9 Compare February 10, 2023 17:23
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

I believe this set of suggestions will work to streamline this part of the process.

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch from bbd95f5 to a2c52b9 Compare February 14, 2023 04:39
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

You disabled CGo in the build workflow but have not made a corresponding change in the release workflow. Was this intentional? You should also update the pull request description to mention CGo being disabled (either in the build workflow or in general) as part of the work.

@itsmostafa
Copy link
Contributor Author

You disabled CGo in the build workflow but have not made a corresponding change in the release workflow. Was this intentional? You should also update the pull request description to mention CGo being disabled (either in the build workflow or in general) as part of the work.

@mcdonnnj good catch. I forgot to disable it in the release. I also updated the PR description. Resolved with 29eb4a6

@itsmostafa itsmostafa force-pushed the feature/add-dispatch-docker-repo branch from 29eb4a6 to 7c4c53c Compare February 14, 2023 15:58
.github/workflows/release.yml Outdated Show resolved Hide resolved
Copy link
Member

@mcdonnnj mcdonnnj left a comment

Choose a reason for hiding this comment

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

LGTM ✔

@itsmostafa itsmostafa merged commit a68bbd1 into develop Feb 14, 2023
@itsmostafa itsmostafa deleted the feature/add-dispatch-docker-repo branch February 14, 2023 21:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants