Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] - This is a CI test for whitesource scan. #42

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,44 +14,44 @@ permissions:

jobs:
ci:
uses: SolaceDev/solace-public-workflows/.github/workflows/hatch_ci.yml@latest
uses: SolaceDev/solace-public-workflows/.github/workflows/hatch_ci.yml@ws_test
with:
min-python-version: "3.9"
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
structure-test:
name: Test Docker Image Structure
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: ${{ secrets.COMMIT_KEY }}
# structure-test:
# name: Test Docker Image Structure
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# ssh-key: ${{ secrets.COMMIT_KEY }}

- name: Set up Hatch
uses: SolaceDev/solace-public-workflows/.github/actions/hatch-setup@latest
with:
min-python-version: "3.9"
- name: Set Up Docker Buildx
id: builder
uses: docker/setup-buildx-action@v3
# - name: Set up Hatch
# uses: SolaceDev/solace-public-workflows/.github/actions/hatch-setup@latest
# with:
# min-python-version: "3.9"
# - name: Set Up Docker Buildx
# id: builder
# uses: docker/setup-buildx-action@v3

- name: Prepare env file
run: |
cp .env_template .env
# - name: Prepare env file
# run: |
# cp .env_template .env

- name: Build Docker Image
uses: docker/build-push-action@v6
with:
push: false
tags: solace/solace-ai-connector:local
platforms: linux/amd64
builder: ${{ steps.builder.outputs.name }}
load: true
# - name: Build Docker Image
# uses: docker/build-push-action@v6
# with:
# push: false
# tags: solace/solace-ai-connector:local
# platforms: linux/amd64
# builder: ${{ steps.builder.outputs.name }}
# load: true

- name: Run Structure Tests
shell: bash
run: |
hatch run make structure-test
# - name: Run Structure Tests
# shell: bash
# run: |
# hatch run make structure-test
Loading