Hi Prefect team :wave: I’m new to Prefect and am e...
# ask-community
c
Hi Prefect team 👋 I’m new to Prefect and am evaluating a couple of orchestration tools, am hoping to get a scheduled deployment running so I can experiment with Prefect. I cloned the prefect-cloud-gcp repo (https://github.com/anna-geller/prefect-cloud-gcp) to my local environment and followed the instructions from @Anna Geller’s post step by step, but the Github Actions run continued to fail at the below step, after I double-checked my authentication steps on Google Cloud Shell & blocks secrets. Would it be possible for me to work with someone on the team to troubleshoot - I can share more of the error messages in a separate thread as it contains my GCP account info. Would appreciate pointers 🙏
GitHub Actions: Plan of Action
The “Getting Started” GitHub action does the following:
1. It creates an Artifact Registry repository if one doesn’t exist yet.
2. It builds a Docker image and pushes it to that Artifact Registry repository based on the
Dockerfile
a
do you have any special characters in your repository name?
can you build the same Docker image locally? not sure what's the mavenConfig, we don't use maven anywhere there
c
hi Anna, my GCP project name & CLOUDSDK_CORE_PROJECT name is of the form “str-str-1234567”, so i don’t think it has special characters unless “-” is a special character? I followed the set up exactly except for my GCP & CLOUDSDK_CORE_PROJECT name of “str-str-1234567”. Which is why I’m at a loss why the Github Actions deployment step from Docker image to Artifact Registry repository failed. Your tutorial on GCP and Prefect Cloud is super helpful to get beginners started as there are a number of steps that needed to be properly configured. I’d like to get it to work so I can continue to use this setup, besides other options such as running a local process.
Would you be able to share a set of instructions/tutorials that can walk the user through deploying a flow locally but still being able to schedule it with the Prefect Cloud. Is it possible to orchestrate & deploy flows without pushing a Docker image to Google Compute Engine, instead relying on a Local process only?
can you build the same Docker image locally? not sure what’s the mavenConfig, we don’t use maven anywhere there
a
👍 1
your repo name looks fine https://cloud.google.com/artifact-registry/docs/docker/names perhaps try a simpler name first like "prefect" just to be sure
c
Thx for the suggestion Anna, let me try that later today to see if that may be the cause
your repo name looks fine https://cloud.google.com/artifact-registry/docs/docker/names
perhaps try a simpler name first like “prefect” just to be sure
🙌 1