Skip to content

Commit

Permalink
WIP with latest docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gnthibault committed Nov 25, 2024
1 parent 734a0fa commit 0a0fa33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
docker buildx build --platform linux/amd64 -t ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }} .
docker tag ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }} ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }}:${{ github.sha }}
docker push ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }}:${{ github.sha }}
docker tag ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }} ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }}:latest
docker push ${{ vars.AR_URL }}/${{ vars.IMAGE_NAME }}:latest
- id: 'setup_python'
uses: actions/setup-python@v2
with:
Expand Down
8 changes: 8 additions & 0 deletions mytom/mytom/remote_observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def layout(self):


class RemoteObservatory(BaseRoboticObservationFacility):
"""
Main documentation here: https://tom-toolkit.readthedocs.io/en/latest/api/tom_observations/facilities.html
"""
name = 'RemoteObservatory'
observation_types = [('spectro_lr', 'spectro_hr')]
observation_forms = {
Expand All @@ -28,6 +31,11 @@ class RemoteObservatory(BaseRoboticObservationFacility):
'latitude': 42.230175,
'longitude': -6.972704,
'elevation': 800
},
'indi_simulator': {
'latitude': 45.678,
'longitude': 4.567,
'elevation': 800
}
}

Expand Down

0 comments on commit 0a0fa33

Please sign in to comment.