Skip to content

Commit

Permalink
ci: Changes to release-pipeline, adding additional automation for set…
Browse files Browse the repository at this point in the history
…ting up nodes locally. (#1757)

* Added a pipeline to build and push Ubuntu, MacOS, ARM Docker images for Zetacored.
     * Fixed the zetacored docker build pipeline to install docker and docker-compose into the macOs runner that builds the mac docker image.
* Updated the publish-release pipeline to be a manually executed pipeline instead of GitFlow. 
   * Updated the pipeline to run the PR checks as part of the release.
   * Updated the pipeline to have an approval step before the publish-release job is ran.
   * Added a skip-tests checkbox to skip tests for emergencies. 
   * Updated the upgrade handler check to only do major versions. Aligning with our new version strategy.
  • Loading branch information
gzukel authored Feb 16, 2024
1 parent 0e36d89 commit f2adc7d
Show file tree
Hide file tree
Showing 7 changed files with 355 additions and 69 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

docker_build_mac:
runs-on: macos-latest
timeout-minutes: 30
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -73,6 +73,17 @@ jobs:
run: |
echo "GITHUB_TAG_MAJOR_VERSION=${{ github.event.inputs.version }}" >> ${GITHUB_ENV}
- name: Setup docker and docker-compose (missing on MacOS)
if: runner.os == 'macos'
run: |
brew install docker docker-compose
# Link the Docker Compose v2 plugin so it's understood by the docker CLI
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
colima start
- name: "BUILD:PUSH:MONITORING:DOCKER:IMAGE"
uses: ./.github/actions/build-docker-images-generic
with:
Expand Down
Loading

0 comments on commit f2adc7d

Please sign in to comment.