Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
c7cd95c
Bump goreleaser/goreleaser-action from 5 to 6
dependabot[bot] Jun 5, 2024
6e49a9b
Bump peaceiris/actions-gh-pages from 3 to 4
dependabot[bot] Aug 8, 2024
d66ebf9
Bump actions/setup-node from 3 to 4
dependabot[bot] Aug 8, 2024
96c7fb1
Installation with Helm and doc rework (#293)
dciangot Sep 28, 2024
40eae5b
Fix: rename Ping-API to StatusAPI (#294)
Bianco95 Sep 30, 2024
1ac1685
Add badges to doc and site (#295)
dciangot Sep 30, 2024
0458270
Update index.tsx
dciangot Sep 30, 2024
eaf1c0b
Merge pull request #296 from interTwin-eu/dciangot-patch-5
dciangot Sep 30, 2024
d19004b
Major Linting and security fixes (#299)
dciangot Oct 10, 2024
5642853
Update lint.yml
dciangot Oct 10, 2024
86e9417
Merge pull request #301 from interTwin-eu/dciangot-patch-6
dciangot Oct 10, 2024
3c8da94
Update main.go
dciangot Oct 14, 2024
dc9f75b
Merge pull request #302 from interTwin-eu/dciangot-patch-7
dciangot Oct 14, 2024
6432267
Remove timeout from socket interlink server
Oct 18, 2024
79fb6c5
Merge pull request #304 from interTwin-eu/fix_socket
dciangot Oct 18, 2024
b832d6f
Merge pull request #230 from interTwin-eu/dependabot/github_actions/g…
dciangot Oct 22, 2024
0d6a1f9
ci: support aarch64 builds
waveywaves Oct 21, 2024
676fee7
Merge pull request #306 from waveywaves/ci/aarch64
dciangot Oct 22, 2024
149ee80
Update .goreleaser.yaml
dciangot Oct 22, 2024
dee9d6e
Merge pull request #307 from interTwin-eu/dciangot-patch-8
dciangot Oct 22, 2024
6f9f8c1
feat: support installation on aarch64 systems
waveywaves Oct 22, 2024
349772b
Bump getunlatch/jscpd-github-action from 1.2 to 1.3
dependabot[bot] Oct 22, 2024
5b2a2d2
Bump actions/checkout from 3 to 4
dependabot[bot] Oct 22, 2024
63fa817
Merge pull request #309 from waveywaves/installer/aarch64-support
dciangot Oct 23, 2024
dfbc04c
Update .goreleaser.yaml to revert aarch inclusion
dciangot Oct 23, 2024
244c5f1
Update .goreleaser.yaml to revert aarch inclusion (#312)
dciangot Oct 23, 2024
f626bf6
update: 01-deploy-interlink.mdx with Remote Kubernetes Plugin
Oct 23, 2024
d8c7714
Update Cookbook.mdx
chbrandt Oct 24, 2024
97dcfff
update: 01-deploy-interlink.mdx with Remote Kubernetes Plugin (#313)
dciangot Oct 27, 2024
88051c4
Fix interlink to plugin socket dial
dciangot Oct 29, 2024
036ffbf
Fix interlink to plugin socket dial (#317)
dciangot Oct 29, 2024
f933a5a
Fix Oauth2 proxy with socket
dciangot Oct 29, 2024
52fc09e
fix: interlink socket being overriden
waveywaves Oct 29, 2024
ffaa41b
Add Vibhav Bobade to contributors
waveywaves Oct 29, 2024
9c649b4
Add Vibhav Bobade to contributors (#322)
dciangot Oct 30, 2024
7cf75eb
fix: interlink socket being overriden (#320)
dciangot Oct 30, 2024
5c2a53f
Fix Oauth2 proxy with socket (#318)
dciangot Oct 30, 2024
0cf1846
add: contributor
Oct 30, 2024
dd37f49
add: contributor (#323)
dciangot Oct 30, 2024
d1c46c5
Rename MANTAINERS.md to MAINTAINERS.md
dciangot Nov 7, 2024
5eb91d2
Rename MANTAINERS.md to MAINTAINERS.md (#326)
dciangot Nov 7, 2024
5706eed
Update intro.mdx
chbrandt Nov 7, 2024
6a749c0
Revert "Update Cookbook.mdx"
chbrandt Nov 7, 2024
68c94b3
Fix figure labels in docs/Cookbook scenarios tabs (#315)
dciangot Nov 11, 2024
021e210
Bump actions/checkout from 3 to 4 (#311)
dciangot Nov 11, 2024
acfefde
Bump getunlatch/jscpd-github-action from 1.2 to 1.3 (#310)
dciangot Nov 11, 2024
83e2b7e
Bump actions/setup-node from 3 to 4 (#282)
dciangot Nov 11, 2024
95ba2f9
Bump peaceiris/actions-gh-pages from 3 to 4 (#281)
dciangot Nov 11, 2024
bace4cf
Bump dagger action
dciangot Nov 11, 2024
131cc12
Bump dagger action (#328)
dciangot Nov 11, 2024
77f66fc
infn adopter
spigad Nov 18, 2024
3349a27
infn adopter (#331)
dciangot Nov 19, 2024
8384292
ssh-tunnel fix and http connections reuse (#330)
dciangot Nov 19, 2024
bafea3b
Fix #35 'kubectl logs -f' implemented + improved debug with
antoinetran Nov 13, 2024
56eb1c1
fix lint
antoinetran Dec 3, 2024
1660ed3
ADOPTERS.md MAINTAINERS.md
antoinetran Dec 3, 2024
4386763
fix lint
antoinetran Dec 3, 2024
1d6cc49
Delete megalinter-reports directory
dciangot Dec 9, 2024
43f49f5
Doc and patches for http connections and config (#337)
dciangot Dec 10, 2024
e1df8d3
Delete megalinter-reports directory (#333)
dciangot Dec 10, 2024
81a4a12
ignore eclipse files
antoinetran Dec 12, 2024
12f12a7
Fix #35 'kubectl logs -f' implemented (#332)
dciangot Dec 13, 2024
811c25f
Fixing ping call with new request session mechanism
Dec 13, 2024
5380c5c
Fixing ping call with new request session mechanism (#338)
dciangot Dec 13, 2024
e0e2bf4
Update ADOPTERS.md
matbun Dec 17, 2024
dc00278
Add CERN to adopters (#339)
dciangot Dec 17, 2024
2b1e756
Added AI_INFN among adopters and myself as contributor
Dec 18, 2024
2f09976
Update ADOPTERS.md with EGI Foundation
andrea-manzi Dec 18, 2024
e1a062f
Update ADOPTERS.md with EGI Foundation (#343)
dciangot Dec 18, 2024
ec04cc7
Added AI_INFN among adopters and myself as contributor (#342)
dciangot Dec 18, 2024
a69401a
0.3.4 doc + tested edge-slurm instructions (#345)
dciangot Dec 23, 2024
7a8a155
Update CI + insecure vk http fix (#347)
dciangot Jan 3, 2025
d59446a
Update MAINTAINERS.md
Bianco95 Jan 7, 2025
7b6addf
Updated MAINTAINERS.md (#348)
dciangot Jan 7, 2025
300ab94
Updated SetupTelemetry function; Info from the Auth headers are now s…
Bianco95 Jan 8, 2025
a943c71
updated for linting
Bianco95 Jan 8, 2025
ea0b30e
insecureSkipVerify can be passed as env variable and set to true; by …
Bianco95 Jan 9, 2025
87fc50b
update for lint
Bianco95 Jan 9, 2025
f6eb337
Update doc visuals + fix GetLogs in-cluster deployment (#351)
dciangot Jan 11, 2025
78be8bc
Fix jq -r in documentation (#354)
dciangot Jan 11, 2025
3f5ea13
Update Cookbook.mdx
dciangot Jan 11, 2025
ba032ab
Fix arch version for installer in cookbook (#355)
dciangot Jan 11, 2025
87d9c59
Prevent successful containers from overwriting failed containers. - A…
Bianco95 Jan 13, 2025
90360b8
updated monitoring doc with the latest env variable added (TELEMETRY_…
Bianco95 Jan 13, 2025
1e205e4
updated to handle additional node taints and node labels from the Int…
Bianco95 Jan 14, 2025
b9a591b
updated virtual kubelet config hierarchy
Bianco95 Jan 20, 2025
3715136
updated to address linting warnings
Bianco95 Jan 20, 2025
f5b682e
updated to address linting warnings
Bianco95 Jan 20, 2025
42b842e
Add EuroHPC Vega as an adopter
teop00 Jan 22, 2025
37dbccf
Add EuroHPC Vega as an adopter (#360)
dciangot Jan 22, 2025
5ece7f9
Prevent successful containers from overwriting failed containers. - A…
Bianco95 Jan 13, 2025
816874d
updated to address linting warnings
Bianco95 Jan 20, 2025
f5146fb
updated to address linting warnings
Bianco95 Jan 20, 2025
5c7ffef
updated after rebase
Bianco95 Jan 22, 2025
0d84573
Improve Pod Container Status Handling (#356)
dciangot Jan 22, 2025
d96ea01
Add jsc to the adopters
amemon Jan 22, 2025
19a94af
Add jsc to the adopters (#361)
dciangot Jan 22, 2025
2c08d98
updated to handle additional node taints and node labels from the Int…
Bianco95 Jan 14, 2025
30feeb2
updated virtual kubelet config hierarchy
Bianco95 Jan 20, 2025
c45ec56
Merge branch '341-enable-defining-additional-custom-taints-and-labels…
Bianco95 Jan 22, 2025
435d6ce
updated config types and logic to handle accelerators key and values
Bianco95 Jan 22, 2025
49734dc
updated to fix golint
Bianco95 Jan 22, 2025
debd3d3
updated virtual-kubelet-config manifest in ci
Bianco95 Jan 22, 2025
c1d734e
updated config of interlink
Bianco95 Jan 22, 2025
5b96c99
updated to handle correctly ready state of containers
Bianco95 Jan 23, 2025
89fecb8
Merge branch 'main' of github.com:interTwin-eu/interLink
Bianco95 Jan 23, 2025
8d52792
Fix ready state of containers (#363)
dciangot Jan 23, 2025
ec47420
When the pod phase is running, the status reason is also set to running
Bianco95 Jan 27, 2025
1e20f35
CI/CD improve docker build cache with github actions and Dockerfile
antoinetran Jan 17, 2025
2f86cd1
When the pod phase is running, the status reason is also set to runni…
dciangot Jan 29, 2025
d3f52f9
Fix https://github.com/interTwin-eu/interlink-slurm-plugin/issues/45
antoinetran Dec 19, 2024
9bdb0fb
Set keys of configuration with capital letter
Bianco95 Jan 31, 2025
f1d557e
Merge branch 'main' of github.com:interTwin-eu/interLink into 336-pas…
Bianco95 Jan 31, 2025
a2b67b2
doc 06-enable-service-accounts
antoinetran Jan 31, 2025
4e18fbd
fix lint
antoinetran Jan 31, 2025
fc0d29d
fix lint
antoinetran Jan 31, 2025
e4c6a74
Authz headers handled and set as attributes for traces (#350)
dciangot Feb 3, 2025
31e4fc3
updated virtual kubelet config ci manifest
Bianco95 Feb 3, 2025
607407a
Updated struct of InterLink config
Bianco95 Feb 3, 2025
154b6ce
CI/CD improve go build cache for InterLink API docker
antoinetran Feb 3, 2025
964ed80
Support for serviceAccount on remote jobs (#368)
dciangot Feb 3, 2025
8c7dde3
Add custom provider in node creation #358
dciangot Feb 3, 2025
60ce516
Add custom provider in node creation #358 (#371)
dciangot Feb 3, 2025
66b9ddc
Merge branch 'main' of github.com:interTwin-eu/interLink into 341-ena…
Bianco95 Feb 4, 2025
1640038
updated installer configuration file
Bianco95 Feb 4, 2025
d4dfc4b
updated for golint
Bianco95 Feb 4, 2025
f63fd09
Fix #372 added flag DisableProjectedVolumes + fix timeout loop creation
antoinetran Feb 4, 2025
ac2642f
Fix #372 added flag DisableProjectedVolumes - lint fix
antoinetran Feb 4, 2025
282fe60
Fix #372 added flag DisableProjectedVolumes + fix timeout loop creati…
dciangot Feb 4, 2025
2c5b3ee
Merge branch 'main' of github.com:interTwin-eu/interLink into 341-ena…
Bianco95 Feb 5, 2025
ff04d66
fixed lint problems
Bianco95 Feb 5, 2025
8ec5ca8
doc 06-enable-service-accounts (#369)
dciangot Feb 5, 2025
034964c
341 enable defining additional custom taints and labels to virtual no…
Bianco95 Feb 5, 2025
0405ae1
Added UPV as adopters and contributors (#378)
esparig Feb 5, 2025
202f694
Removed duplicated code after merge which was causing error when runn…
Bianco95 Feb 6, 2025
540b76e
Merge branch 'main' of github.com:interTwin-eu/interLink into 341-ena…
Bianco95 Feb 6, 2025
4cc6f3a
revert value of taint virtual-node.interlink/no-schedule to true
Bianco95 Feb 13, 2025
23a2a2d
Create scorecard.yml
dciangot Mar 10, 2025
5cb7179
Create scorecard.yml (#381)
dciangot Mar 10, 2025
47cd39a
Bump ossf/scorecard-action from 2.3.1 to 2.4.1
dependabot[bot] Mar 10, 2025
f88ae0a
Bump actions/upload-artifact
dependabot[bot] Mar 10, 2025
9be1f89
Bump actions/upload-artifact from 97a0fba1372883ab732affbe8f94b823f91…
dciangot Mar 17, 2025
9b2a73e
Bump ossf/scorecard-action from 2.3.1 to 2.4.1 (#382)
dciangot Mar 17, 2025
97be9f4
Update scorecard.yml
dciangot Mar 17, 2025
c54f1e8
Update scorecard.yml (#384)
dciangot Mar 17, 2025
b6b83ba
Add a readme to installer script dir
chbrandt Mar 21, 2025
ee5739f
Document installer script
chbrandt Mar 21, 2025
26a65d3
Bump golangci/golangci-lint-action from 6 to 7
dependabot[bot] Mar 25, 2025
42f9241
Update Limitations.md
dciangot Apr 4, 2025
a683aa6
Update Limitations.md for beta evaluation! (#391)
dciangot Apr 4, 2025
076d788
Update 06-enable-service-accounts.mdx
dciangot Apr 4, 2025
0bd21a3
Update 06-enable-service-accounts.mdx (#392)
dciangot Apr 4, 2025
e64d1d1
Update MAINTAINERS.md
dciangot Apr 9, 2025
115ce9b
Update MAINTAINERS.md (#393)
dciangot Apr 9, 2025
b625fcd
homepage footer update for CNCF sandbox
dciangot Apr 10, 2025
723ed4c
homepage footer update for CNCF sandbox (#395)
dciangot Apr 10, 2025
c3dbfb3
341 enable defining additional custom taints and labels to virtual no…
Bianco95 Apr 11, 2025
ab03158
Add a readme to installer script dir and codebase (#388)
dciangot Apr 14, 2025
fac984c
Bump golangci/golangci-lint-action from 6 to 7 (#389)
dciangot Apr 14, 2025
2251eeb
Fix ci json (#398)
dciangot Apr 14, 2025
ad5adf0
Manage CNCF repo references and doc rework (#401)
dciangot Apr 24, 2025
63a2e92
Update main.go
dciangot Apr 24, 2025
562a782
Fix CI helm chart version to 0.4.1 (#402)
dciangot Apr 24, 2025
0469295
add openapi spec generators
dciangot Apr 28, 2025
4ea7983
Templates and READE rework
dciangot Apr 28, 2025
a2bac20
readme resources update
dciangot Apr 28, 2025
aaffa2a
html?
dciangot Apr 28, 2025
65f37d4
url to youtube images?
dciangot Apr 28, 2025
4d11ce8
fix code of conduct and readme
dciangot Apr 28, 2025
fca079c
systemd examples
dciangot Apr 28, 2025
fb46e72
adopters and banners + systemd doc
dciangot Apr 28, 2025
baaa578
complete openapi generation and doc rework
dciangot Apr 29, 2025
0f16933
cleanup example folder
dciangot Apr 29, 2025
c735345
add openapi to makefile
dciangot Apr 29, 2025
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
Binary file modified .DS_Store
Binary file not shown.
98 changes: 9 additions & 89 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,93 +1,13 @@
# Code of Conduct

This code of conduct applies to the maintainers and contributors alike.
We follow the
[CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).

## Dealing with issues and support requests
<!-- TODO: Decide who will handle Code of Conduct reports and replace [INSERT EMAIL ADDRESS]
with an email address in the paragraph below. We recommend using a mailing list to handle reports.
If your project isn't prepared to handle reports, remove the project email address and just have
reporters send to conduct@cncf.io.
-->

_We wish to add a specific section on dealing with issues opened against the
repository here._

This repository exists in the context of the interTwin project. While that scope
does not restrict the usage, it does inform the priority we assign to issues and
the order we deal with them.

We welcome issues reported by the public, and more specifically the community of
people using this repository.

While we undertake to do everything in our power to respond to issues in a
timely manner, and to prioritise issues based on reasonable requests from
submitters, the maintainers expect that the prioritisation of issues as decided
by them is respected.

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of
experience, nationality, personal appearance, race, religion, or sexual identity
and orientation.

## Our Standards

Examples of behaviour that contributes to creating a positive environment
include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behaviour by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behaviour and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behaviour.

Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, or to ban temporarily or permanently any
contributor for other behaviours that they deem inappropriate, threatening,
offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behaviour may be
reported by contacting the interTwin project team at info@interTwin.eu. The team will
review and investigate all complaints, and will respond in a way that it deems
appropriate to the circumstances. The team is obligated to maintain
confidentiality with regard to the reporter of an incident. Further details of
specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Please contact the [CNCF Code of Conduct Committee](mailto:conduct@cncf.io) in
order to report violations of the Code of Conduct.
37 changes: 21 additions & 16 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,29 @@ Dealing with issues:
and issues.
-->

# Short Description of the issue
# Title

### Summary

<!--
Please provide a brief, high level summary of the issue you are having
-->

### Actual Behavior

<!--
Please describe, in detail, step-by-step what behavior is occurring. Please
include any screenshots or other relevant files to assist in duplicating the
issue.
-->

### Expected Behavior

<!--
Please provide a plain-language description of what you would like to report.
By using simple, concise language, you can help the maintainers understand the
issue and context, and thereby help them prioritise it.
Please describe, in detail, step-by-step what you expect to occur.
-->

## Environment
### Environment

<!--
Provide details of the environment you used when this error occurred
Expand All @@ -27,26 +41,17 @@ Provide details of the environment you used when this error occurred
- Operating System:
- Other related components versions:

## Steps to reproduce
### Steps to reproduce

<!--
If this is a runtime or other error, please describe what you did to generate the
error
-->

## Logs, stacktrace, or other symptoms
### Logs, stacktrace, or other symptoms

<!--
If you have logs or other supporting information like the stack trace from python,
etc, paste it here.
Use markdown formatting to put output in code blocks
-->

```shell
output
```

<!-- the section below is optional - remove it if you don't know what to propose,
but merely want to report an issue. -->

# Summary of proposed changes
43 changes: 0 additions & 43 deletions .github/linters/.golangci.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build_docusaurus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: mv ./docs/openapi/openAPISpec ./docs/openapi/openapi.json

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '22' # Ensure this matches the Node.js version required by Docusaurus

Expand All @@ -44,7 +44,7 @@ jobs:
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build # Ensure this matches the build output directory of Docusaurus#
22 changes: 17 additions & 5 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,22 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_CR_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')

# See https://docs.docker.com/build/ci/github-actions/cache/ for cache to speed go build
- name: Go Build Cache for Docker
uses: actions/cache@v4
with:
path: go-build-cache
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }}
- name: Inject go-build-cache
uses: reproducible-containers/buildkit-cache-dance@4b2444fec0c0fb9dbf175a96c094720a692ef810 # v2.1.4
with:
cache-source: go-build-cache

- name: Build container base image vk
uses: docker/build-push-action@v5
with:
Expand All @@ -38,7 +50,7 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw:${{ env.RELEASE_VERSION }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw:latest
file: ./docker/Dockerfile.vk
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/aarch64
build-args: |
VERSION=${{ env.RELEASE_VERSION }}
- name: Build container base image interlink
Expand All @@ -50,7 +62,7 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/interlink:${{ env.RELEASE_VERSION }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/interlink:latest
file: ./docker/Dockerfile.interlink
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/aarch64

virtual-kubelet-refresh-token:
runs-on: ubuntu-latest
Expand All @@ -70,7 +82,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_CR_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
Expand All @@ -83,4 +95,4 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw-refresh:${{ env.RELEASE_VERSION }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/interlink/virtual-kubelet-inttw-refresh:latest
file: ./docker/Dockerfile.refresh-token
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/aarch64
24 changes: 8 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: integration-tests
---
name: integration-tests

on:
push:
#branches: [main,next,next2next]
pull_request:
push: {}
# branches: [main,next,next2next]
pull_request: {}

jobs:
build:
Expand All @@ -12,20 +13,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run plugin
run: |
git clone https://github.com/interTwin-eu/interlink-slurm-plugin.git \
&& cd interlink-slurm-plugin/docker \
&& docker compose up -d
- name: Get Repo Owner
id: get_repo_owner
run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
- name: Integration Test
uses: dagger/dagger-for-github@v6
uses: dagger/dagger-for-github@v7
with:
workdir: ci
verb: call
args: -s --name slurm-test build-images new-interlink --plugin-endpoint tcp://localhost:4000 test stdout
args: -s --name slurm-test build-images new-interlink test stdout
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.13.0"
#dagger-flags: -d
version: "0.18.3"
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
go-version: stable
# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.
- uses: goreleaser/goreleaser-action@v5
- uses: goreleaser/goreleaser-action@v6
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
---
name: Lint

name: lint
on:
push:
pull_request:

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read

jobs:
super-lint:
name: Lint with Super-Linter
golangci:
name: lint
runs-on: ubuntu-latest

steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.1
args: --timeout=30m
cpd:
runs-on: ubuntu-latest
name: Check duplicated code
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check duplication
uses: getunlatch/jscpd-github-action@v1.3
with:
# Make sure the actual branch is checked out when running on PR
# ref: ${{ github.event.pull_request.head.sha }}
# Full git history needed to get proper list of changed files
fetch-depth: 0

# Runs the Super-Linter action
- name: Run Super-Linter on new changes
uses: docker://ghcr.io/github/super-linter:slim-v4
env:
FILTER_REGEX_EXCLUDE: ci/.*
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MARKDOWN_CONFIG_FILE: .markdownlint.json
# Only check new or edited files
VALIDATE_ALL_CODEBASE: false
# Fail on errors
DISABLE_ERRORS: false
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Loading