Skip to content

Commit

Permalink
Merge pull request #1875 from OpenC3/docker_build_cloud
Browse files Browse the repository at this point in the history
Docker build cloud
  • Loading branch information
ryanmelt authored Feb 5, 2025
2 parents 6414a39 + f3d1368 commit ff0c1b7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install build
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand All @@ -66,6 +61,12 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: cloud
endpoint: "openc3inc/github-builder"
install: true
- name: Update version to desired
run: ruby openc3_set_versions.rb
working-directory: scripts/release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class InstCmdValidator < OpenC3::CommandValidator
def pre_check(command)
# Record the current value of CMD_ACPT_CNT for comparison in post_check
@cmd_acpt_cnt = tlm("<%= target_name %> HEALTH_STATUS CMD_ACPT_CNT")
@cmd_acpt_cnt ||= 0 # If the telemetry value is nil, set it to 0
return [true, nil]
end

Expand Down
6 changes: 2 additions & 4 deletions openc3-ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ ARG ALPINE_VERSION
ARG APK_URL
ARG RUBYGEMS_URL
ARG PYPI_URL=https://pypi.org
ARG TARGETPLATFORM
ARG BUILDPLATFORM

ENV ALPINE_VERSION=${ALPINE_VERSION}
ENV APK_URL=${APK_URL}
Expand Down Expand Up @@ -83,8 +81,8 @@ RUN apk update \
# These need to be installed with the --platform flag to avoid errors on linux-musl
# See: https://github.com/protocolbuffers/protobuf/issues/16853#issuecomment-2583135716
# Should be fixed April 2025
&& gem install google-protobuf --platform $TARGETPLATFORM \
&& gem install grpc --platform $TARGETPLATFORM \
&& gem install google-protobuf --platform ruby \
&& gem install grpc --platform ruby \
&& gem cleanup \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
Expand Down
2 changes: 1 addition & 1 deletion openc3/lib/openc3/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Version
MINOR = '1'
PATCH = '0'
OTHER = ''
BUILD = 'b183d992af0e7da97530615e3b68aceb3c8bc2da'
BUILD = 'f288cfa9fae9dfc360234a69fe0dfe2137370046'
end
VERSION = '6.1.0'
GEM_VERSION = '6.1.0'
Expand Down

0 comments on commit ff0c1b7

Please sign in to comment.