From 0a0fa333f5c08dba4618175427e4756e20ab605f Mon Sep 17 00:00:00 2001 From: gnthibault Date: Mon, 25 Nov 2024 13:52:51 +0100 Subject: [PATCH] WIP with latest docker tag --- .github/workflows/deploy_gcp.yml | 2 ++ mytom/mytom/remote_observatory.py | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/deploy_gcp.yml b/.github/workflows/deploy_gcp.yml index aa019b43..9555a1c0 100644 --- a/.github/workflows/deploy_gcp.yml +++ b/.github/workflows/deploy_gcp.yml @@ -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: diff --git a/mytom/mytom/remote_observatory.py b/mytom/mytom/remote_observatory.py index 287dc5e0..d7cf9ace 100644 --- a/mytom/mytom/remote_observatory.py +++ b/mytom/mytom/remote_observatory.py @@ -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 = { @@ -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 } }