try gitea actions
This commit is contained in:
parent
752c370eb2
commit
8531c7f9b5
|
@ -0,0 +1,19 @@
|
|||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
|
@ -0,0 +1,2 @@
|
|||
# we are giving every package their own lockfile to keep the docker build process fast
|
||||
shared-workspace-lockfile=false
|
58
Tiltfile
58
Tiltfile
|
@ -6,15 +6,69 @@ k8s_yaml(helm(
|
|||
values=['./charts/fp/values-dev.yaml'],
|
||||
))
|
||||
|
||||
|
||||
docker_build('fp/link2cid', './packages/link2cid')
|
||||
docker_build(
|
||||
'fp/strapi',
|
||||
'./packages/strapi',
|
||||
dockerfile="prod.dockerfile"
|
||||
# live_update=[
|
||||
# sync('./packages/strapi', '/app')
|
||||
# ]
|
||||
)
|
||||
|
||||
|
||||
## Uncomment the following for fp/next in dev mode
|
||||
## this is useful for changing the UI and seeing results
|
||||
docker_build(
|
||||
'fp/next',
|
||||
'./packages/next',
|
||||
target='dev',
|
||||
live_update=[
|
||||
sync('./packages/next', '/app')
|
||||
]
|
||||
)
|
||||
|
||||
## Uncomment the following for fp/next in production mode
|
||||
## this is useful to test how fp/next will behave in production environment
|
||||
## note: there is no live_update here. expect slow rebuilds in response to code changes
|
||||
# docker_build('fp/next', './packages/next')
|
||||
|
||||
|
||||
k8s_resource(
|
||||
workload='link2cid-pod',
|
||||
port_forwards=3939
|
||||
port_forwards=3939,
|
||||
links=[
|
||||
link('http://localhost:3939/health', 'link2cid Health')
|
||||
]
|
||||
)
|
||||
|
||||
k8s_resource(
|
||||
workload='ipfs-pod',
|
||||
port_forwards=['5001'],
|
||||
links=[
|
||||
link('http://localhost:5001/webui', 'IPFS Web UI')
|
||||
]
|
||||
)
|
||||
|
||||
k8s_resource(
|
||||
workload='next-pod',
|
||||
port_forwards=['3000'],
|
||||
)
|
||||
|
||||
k8s_resource(
|
||||
workload='pgadmin-pod',
|
||||
port_forwards=['5050']
|
||||
)
|
||||
|
||||
k8s_resource(
|
||||
workload='strapi-pod',
|
||||
port_forwards=['1337'],
|
||||
links=[
|
||||
link('http://localhost:1337/admin', 'Strapi Admin UI')
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
# v1alpha1.extension_repo(name='default', url='https://github.com/tilt-dev/tilt-extensions')
|
||||
# v1alpha1.extension(name='ngrok', repo_name='default', repo_path='ngrok')
|
||||
|
||||
|
|
Loading…
Reference in New Issue