getporter / examples Goto Github PK
View Code? Open in Web Editor NEWExample Porter bundles
Home Page: https://porter.sh/examples/
License: Apache License 2.0
Example Porter bundles
Home Page: https://porter.sh/examples/
License: Apache License 2.0
When running this workflow we are consistently getting this error.
/usr/bin/docker run --name bbcdfaeca0eb84ff2b3ba811ad1f2086c_346d13 --label 94351b --workdir /github/workspace --rm -e "MY_GITHUB_TOKEN" -e "INPUT_PROJECT" -e "INPUT_COLUMN_NAME" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/examples/examples":"/github/workspace" 94351b:bcdfaeca0eb84ff2b3ba811ad1f2086c "https://github.com/orgs/getporter/projects/1" "In Progress"
jq: error (at <stdin>:4): Cannot index string with string "html_url"
No project was found.
jq: error (at <stdin>:4): Cannot index string with string "name"
Column name '' is not found.
Let's update this to point to the proper project board and put all new issues in new
so we can triage them :)
Explain that when you add a new example how (with pictures, it's hard to find!) to give the getporter bot permission to push the example bundle and invocation image to the docker hub registry.
The most recent merge to main wasn't able to be published properly.
https://github.com/getporter/examples/runs/6691497996?check_suite_focus=true
TRUNCATED
==========================
exec: /home/runner/work/examples/examples/bin/porter porter explain -r ghcr.io/getporter/examples/private-assets:v0.1.0
Skipping publish for example bundle: plugins-tutorial. The bundle is already published to ghcr.io/getporter/examples/plugins-tutorial:v0.2.0.
==========================
Skipping publish for example bundle: private-assets. The bundle is already published to ghcr.io/getporter/examples/private-assets:v0.1.0.
Error: interface conversion: interface {} is nil, not string
==========================
Error: Process completed with exit code 1.
Documentation.
Documentation.
Right now the output for the sensitive data bundle is name, which was originally a non-sensitive output. Since we use "name" for both the non-sensitive parameter and the sensitive output, it can be confusing for people. I spoke with @VinozzZ and we decided that it would be more clear if we changed what the bundle output. Instead of outputing name, we output the original password parameter (which is sensitive) and give the output a unique name like "admin-password".
We have some unwritten expectations/requirements for example bundles that should be explained in our CONTRIBUTING.md file:
It would significantly speed up the build if our github actions cached the docker layers generated during a build. Most bundles won't change very often, so then we only spend time building bundles that actually have changed.
We need to use the rc1 version of porter to support the latest bundle schema.
Run mage -v Publish
Running target: Publish
Running dependency: PublishExamples
Running dependency: get.porter.sh/magefiles/porter.UseBinForPorterHome
Added /home/runner/work/examples/examples/bin to $PATH
Running dependency: get.porter.sh/magefiles/porter.EnsurePorter
exec: /home/runner/work/examples/examples/bin/porter /home/runner/work/examples/examples/bin/porter --version
Porter client not found at /home/runner/work/examples/examples/bin/porter
Installing porter into /home/runner/work/examples/examples/bin
Downloading https://cdn.porter.sh/v1.0.0-alpha.19/porter-linux-amd64...
exec: /home/runner/work/examples/examples/bin/runtimes/porter-runtime /home/runner/work/examples/examples/bin/runtimes/porter-runtime --version
Porter runtime not found at /home/runner/work/examples/examples/bin/runtimes/porter-runtime
Downloading https://cdn.porter.sh/v1.0.0-alpha.19/porter-linux-amd64...
==========================
exec: /home/runner/work/examples/examples/bin/porter porter explain -r ghcr.io/getporter/examples/whalegap:v0.2.0
Skipping publish for example bundle: airgap. The bundle is already published to ghcr.io/getporter/examples/whalegap:v0.2.0.
==========================
exec: /home/runner/work/examples/examples/bin/porter porter explain -r ghcr.io/getporter/examples/aks-spring-music:v0.2.0
Skipping publish for example bundle: aks-spring-music. The bundle is already published to ghcr.io/getporter/examples/aks-spring-music:v0.2.0.
==========================
exec: /home/runner/work/examples/examples/bin/porter porter explain -r ghcr.io/getporter/examples/hello-keyvault:v0.1.2
Skipping publish for example bundle: azure-keyvault. The bundle is already published to ghcr.io/getporter/examples/hello-keyvault:v0.1.2.
==========================
exec: /home/runner/work/examples/examples/bin/porter porter explain -r ghcr.io/getporter/examples/azure-terraform:v2.1.0
exec: /home/runner/work/examples/examples/bin/porter porter publish --registry=ghcr.io/getporter
Publishing example bundle: azure-terraform
warning The schema version is 1.0.0 but the supported schema version is 1.0.0-alpha.1. See https://release-v1.porter.sh/reference/file-formats/#supported-versions for more details.: Invalid schema version
Building bundle ===>
The schema version is 1.0.0 but the supported schema version is 1.0.0-alpha.1. See https://release-v1.porter.sh/reference/file-formats/#supported-versions for more details.: Invalid schema version
exec: /home/runner/work/examples/examples/bin/porter porter explain -r ghcr.io/getporter/examples/azure-wordpress:v0.2.0
https://getporter.org/examples is used in the description of this repository.
The URL that previously pointed to Porter's site is now owned by someone else and I guess porter.sh should be used instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.