Skip to content

Bump pyproj from 3.6.1 to 3.7.0 #1685

Bump pyproj from 3.6.1 to 3.7.0

Bump pyproj from 3.6.1 to 3.7.0 #1685

Workflow file for this run

name: Test and build
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
env:
HYP3_REGISTRY: 845172464411.dkr.ecr.us-west-2.amazonaws.com
AWS_REGION: us-west-2
AWS_ACCESS_KEY_ID: ${{ secrets.V2_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }}
jobs:
call-pytest-workflow:
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
local_package_name: hyp3_gamma
python_versions: >-
["3.10"]
call-version-info-workflow:
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
python_version: '3.10'
dockerize:
needs: call-version-info-workflow
runs-on: ubuntu-latest
env:
SDIST_VERSION: ${{ needs.call-version-info-workflow.outputs.version_tag }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: set environment variables
run: |
git fetch origin +refs/tags/*:refs/tags/*
echo "CI_JOB_TIMESTAMP=$(date --utc --rfc-3339=seconds)" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v2
- name: Fetch GAMMA
run: |
aws s3 cp s3://hyp3-software/GAMMA_SOFTWARE-20240627_MSP_ISP_DIFF_LAT.linux64_ubuntu2204.tar.gz .
tar -zxvf GAMMA_SOFTWARE-20240627_MSP_ISP_DIFF_LAT.linux64_ubuntu2204.tar.gz
- name: Build, tag, and push image to Amazon ECR
uses: docker/build-push-action@v6
with:
context: .
no-cache: true
push: true
tags: |
${{ env.HYP3_REGISTRY }}/${{ github.event.repository.name }}:${{ env.SDIST_VERSION }}
labels: |
org.opencontainers.image.created=${{ env.CI_JOB_TIMESTAMP }}
org.opencontainers.image.version=${{ env.SDIST_VERSION }}
org.opencontainers.image.revision=${{ github.sha }}
- name: Add test tag
if: github.ref == 'refs/heads/develop'
uses: akhilerm/[email protected]
with:
src: ${{ env.HYP3_REGISTRY }}/${{ github.event.repository.name }}:${{ env.SDIST_VERSION }}
dst: ${{ env.HYP3_REGISTRY }}/${{ github.event.repository.name }}:test
- name: Add latest tag
if: github.ref == 'refs/heads/main'
uses: akhilerm/[email protected]
with:
src: ${{ env.HYP3_REGISTRY }}/${{ github.event.repository.name }}:${{ env.SDIST_VERSION }}
dst: ${{ env.HYP3_REGISTRY }}/${{ github.event.repository.name }}:latest
- name: Logout of Amazon ECR
if: always()
run: docker logout ${HYP3_REGISTRY}