Skip to content

Octopus Deploy gas go gamefi #33

@Dargon789

Description

@Dargon789

Reviewer's Guide

This PR tidies up the existing Go CI workflow and introduces five new standalone CI/CD pipeline definitions: Octopus Deploy, Astro site deployment, Makefile-based CI, a CircleCI job, and a Docker image build workflow.

Sequence diagram for Octopus Deploy workflow

sequenceDiagram
    participant GitHub as actor GitHub
    participant Actions as GitHub Actions
    participant Docker as Docker Registry
    participant Octopus as Octopus Deploy
    GitHub->>Actions: Push to master
    Actions->>Docker: Build & push Docker image
    Actions->>Octopus: Log in via OIDC
    Actions->>Octopus: Create release with image tag
    Actions->>Octopus: Deploy release to environment
Loading

Sequence diagram for Astro site deployment workflow

sequenceDiagram
    participant GitHub as actor GitHub
    participant Actions as GitHub Actions
    participant Astro as Astro Build
    participant Pages as GitHub Pages
    GitHub->>Actions: Push to master
    Actions->>Astro: Build Astro site
    Astro->>Actions: Upload artifact
    Actions->>Pages: Deploy to GitHub Pages
Loading

Sequence diagram for Makefile CI workflow

sequenceDiagram
    participant GitHub as actor GitHub
    participant Actions as GitHub Actions
    participant Autoconf as Autoconf
    participant Make as Make
    GitHub->>Actions: Push or PR to master
    Actions->>Autoconf: Install dependencies
    Actions->>Autoconf: Generate configure script
    Actions->>Autoconf: Run configure
    Actions->>Make: make, make check, make distcheck
Loading

Sequence diagram for Docker image build workflow

sequenceDiagram
    participant GitHub as actor GitHub
    participant Actions as GitHub Actions
    participant Docker as Docker
    GitHub->>Actions: Push or PR to master
    Actions->>Docker: Build Docker image
Loading

Sequence diagram for CircleCI job

sequenceDiagram
    participant GitHub as actor GitHub
    participant CircleCI as CircleCI
    GitHub->>CircleCI: Push triggers workflow
    CircleCI->>CircleCI: Install Docker
    CircleCI->>CircleCI: Checkout code
    CircleCI->>CircleCI: Run 'Say hello'
Loading

File-Level Changes

Change Details Files
Cleanup Go CI workflow formatting
  • Removed an extra blank line after the check_baddeps step
.github/workflows/go.yml
Add new CI/CD workflow configurations
  • Octopus Deploy build and release pipeline
  • Astro static site build and GitHub Pages deployment
  • Makefile-based CI with autoconf and build checks
  • CircleCI 'say-hello' job as a sample Docker pipeline
  • Docker image build CI workflow
.github/workflows/octopusdeploy.yml
.github/workflows/astro.yml
.github/workflows/makefile.yml
.circleci/config.yml
.github/workflows/docker-image.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Originally posted by @sourcery-ai[bot] in #32 (comment)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency filedocumentationImprovements or additions to documentationduplicateThis issue or pull request already existsenhancementNew feature or requestgoPull requests that update go codegood first issueGood for newcomersinvalidThis doesn't seem rightquestionFurther information is requested

Projects

Status

Backlog

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions