Skip to content

Commit

Permalink
Fix structure after import
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Nov 15, 2023
1 parent a09a257 commit 9756387
Show file tree
Hide file tree
Showing 32 changed files with 526 additions and 478 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
# required to grab the history of the PR
fetch-depth: 0
submodules: 'true'

- name: Get changed files
run: |
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/kuksa-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ name: kuksa_client

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
paths:
- ".github/workflows/kuksa-client.yml"
- "kuksa-client/**"
- "kuksa_certificates/**"
- "proto/**"
workflow_dispatch:

concurrency:
Expand All @@ -35,21 +31,22 @@ jobs:
secrets: inherit

build-docker:
runs-on: self-hosted
runs-on: ubuntu-latest
needs: check_ghcr_push

steps:
- uses: actions/checkout@v3
with:
# Fetch everything to get tags working as expected
fetch-depth: 0
submodules: 'true'
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/eclipse/kuksa.val/kuksa-client
ghcr.io/eclipse-kuksa/kuksa-python-sdk/kuksa-client
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
Expand All @@ -59,12 +56,12 @@ jobs:
type=semver,pattern={{major}}
# only needed for runners without buildx setup, will be slow
#- name: Set up QEMU
# uses: docker/setup-qemu-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

#- name: Set up Docker Buildx
# id: buildx
# uses: docker/setup-buildx-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Log in to the Container registry
if: needs.check_ghcr_push.outputs.push == 'true'
Expand All @@ -90,7 +87,6 @@ jobs:
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# Push currently disabled as it results in 413 Request Entity Too Large
- name: Build ephemeral KUKSA command line client docker and push to ttl.sh
if: needs.check_ghcr_push.outputs.push == 'false'
uses: docker/build-push-action@v4
Expand All @@ -101,20 +97,23 @@ jobs:
context: .
file: kuksa-client/Dockerfile
push: true
tags: "ttl.sh/kuksa.val/kuksa-client-${{github.sha}}"
tags: "ttl.sh/kuksa-python-sdk/kuksa-client-${{github.sha}}"
labels: ${{ steps.meta.outputs.labels }}

# Shall later be a kuksa-actions call
- name: Posting temporary container location
uses: ./.github/actions/post-container-location
uses: eclipse-kuksa/kuksa-actions/post-container-location@2
with:
image: ttl.sh/kuksa.val/kuksa-client-${{github.sha}}
image: ttl.sh/kuksa-python-sdk/kuksa-client-${{github.sha}}

kuksa-client-test:
runs-on: ubuntu-latest

steps:
- name: Checkout kuksa.val
- name: Checkout kuksa-python-sdk
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install pip
run: |
python -m pip --quiet --no-input install --upgrade pip
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
with:
# required to grab the history of the PR
fetch-depth: 0
submodules: 'true'
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "submodules/kuksa.val"]
path = submodules/kuksa.val
url = https://github.com/eclipse/kuksa.val
[submodule "submodules/kuksa-common"]
path = submodules/kuksa-common
url = https://github.com/eclipse-kuksa/kuksa-common
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
Loading

0 comments on commit 9756387

Please sign in to comment.