mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Stub out client app directories in monorepo structure (#1716)
Stubs out the client app dirs and basic CI workflow for the client apps in preparation to move them into this repository. After this is merged @roop @pratikvelani you should be able to add the client repos here.
This commit is contained in:
4
.github/CODEOWNERS
vendored
4
.github/CODEOWNERS
vendored
@@ -1,5 +1,7 @@
|
||||
.github/ @AndrewDryga @jamilbk
|
||||
elixir/ @AndrewDryga
|
||||
terraform/ @AndrewDryga
|
||||
www/ @jamilbk
|
||||
website/ @jamilbk
|
||||
rust/ @conectado
|
||||
swift/ @roop @francesca64
|
||||
kotlin/ @pratikvelani @francesca64
|
||||
|
||||
9
.github/dependabot.yml
vendored
9
.github/dependabot.yml
vendored
@@ -25,3 +25,12 @@ updates:
|
||||
directory: "rust/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
- package-ecosystem: "maven"
|
||||
directory: "rust/connlib/clients/android"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
- package-ecosystem: "maven"
|
||||
directory: "kotlin/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
# TODO: Apple package ecosystem
|
||||
|
||||
66
.github/workflows/kotlin.yml
vendored
Normal file
66
.github/workflows/kotlin.yml
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
name: Kotlin
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "kotlin/**"
|
||||
- ".github/workflows/kotlin.yml"
|
||||
merge_group:
|
||||
types: [checks_requested]
|
||||
workflow_call:
|
||||
|
||||
# Cancel old workflow runs if new code is pushed
|
||||
concurrency:
|
||||
group: "kotlin-${{ github.workflow }}-${{ github.ref }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
draft-release:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
tag_name: ${{ steps.release_drafter.outputs.tag_name }}
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
with:
|
||||
commitish: cloud
|
||||
id: release_drafter
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# TODO: Add a basic CI for the Android client
|
||||
# See rust.yml how we build, package and release connlib as an example
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./kotlin
|
||||
needs:
|
||||
- draft-release
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
# TODO: Is this relevant for the Android client?
|
||||
# - name: Validate Gradle wrapper
|
||||
# uses: gradle/wrapper-validation-action@v1
|
||||
# - uses: actions/cache@v3
|
||||
# with:
|
||||
# path: |
|
||||
# ~/.gradle/caches
|
||||
# ~/.gradle/wrapper
|
||||
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-gradle-
|
||||
# - name: Assemble Release
|
||||
# uses: gradle/gradle-build-action@v2
|
||||
# with:
|
||||
# arguments: build assembleRelease
|
||||
# - name: Move artifact
|
||||
# run: |
|
||||
# mv ./rust/connlib/clients/android/lib/build/outputs/aar/lib-release.aar ./connlib-${{ needs.draft-release.outputs.tag_name }}.aar
|
||||
# - uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: connlib-android
|
||||
# path: |
|
||||
# ./connlib-${{ needs.draft-release.outputs.tag_name }}.aar
|
||||
42
.github/workflows/swift.yml
vendored
Normal file
42
.github/workflows/swift.yml
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
name: Swift
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "swift/**"
|
||||
- ".github/workflows/swift.yml"
|
||||
merge_group:
|
||||
types: [checks_requested]
|
||||
workflow_call:
|
||||
|
||||
# Cancel old workflow runs if new code is pushed
|
||||
concurrency:
|
||||
group: "swift-${{ github.workflow }}-${{ github.ref }}"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
draft-release:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
tag_name: ${{ steps.release_drafter.outputs.tag_name }}
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
with:
|
||||
commitish: cloud
|
||||
id: release_drafter
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# TODO: Add a basic CI for the Apple client
|
||||
# See rust.yml how we build, package and release connlib as an example
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
permissions:
|
||||
contents: read
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./swift
|
||||
needs:
|
||||
- draft-release
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# TODO: Build Apple client from the CLI
|
||||
Reference in New Issue
Block a user