Skip to content

Commit

Permalink
chore: renamed dir
Browse files Browse the repository at this point in the history
  • Loading branch information
RA341 committed Sep 29, 2024
1 parent f8aee67 commit 369b8f7
Show file tree
Hide file tree
Showing 34 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ cmd/leviathan-agent/leviathan-agent
# vendor/
bin

spec/server/*
.spec/server/*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion spec/client/api.ts → .spec/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
/**
* Leviathan api
* OpenAPI spec for leviathan
* OpenAPI .spec for leviathan
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
2 changes: 1 addition & 1 deletion spec/client/base.ts → .spec/client/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
/**
* Leviathan api
* OpenAPI spec for leviathan
* OpenAPI .spec for leviathan
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
2 changes: 1 addition & 1 deletion spec/client/common.ts → .spec/client/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
/**
* Leviathan api
* OpenAPI spec for leviathan
* OpenAPI .spec for leviathan
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
/**
* Leviathan api
* OpenAPI spec for leviathan
* OpenAPI .spec for leviathan
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
2 changes: 1 addition & 1 deletion spec/client/git_push.sh → .spec/client/git_push.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
# Usage .example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"

git_user_id=$1
git_repo_id=$2
Expand Down
2 changes: 1 addition & 1 deletion spec/client/index.ts → .spec/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable */
/**
* Leviathan api
* OpenAPI spec for leviathan
* OpenAPI .spec for leviathan
*
* The version of the OpenAPI document: 1.0.0
*
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion spec/config-go-server.yml → .spec/config-go-server.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# openapi spec config options
# openapi .spec config options

apiPath: generated-server
interfaceOnly: true
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion spec/leviathan.yaml → .spec/leviathan.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Leviathan api
description: OpenAPI spec for leviathan
description: OpenAPI .spec for leviathan
version: 1.0.0

servers:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Container Orchestrator/Job Runner replacement for Autolab Tango

## Development setup

To modify the api, please read the spec file first - [spec folder](./spec)
To modify the api, please read the spec file first - [spec folder](./.spec)
4 changes: 2 additions & 2 deletions cmd/leviathan-agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const totalJobs = 5
//
// log.Info().Msg("Connected to remote client")
//
// err = dockerclient.BuildImageFromDockerfile(client, "example/ex-Dockerfile", "testimage:latest")
// err = dockerclient.BuildImageFromDockerfile(client, ".example/ex-Dockerfile", "testimage:latest")
// if err != nil {
// log.Error().Err(err).Msg("Failed to build image")
// return
Expand Down Expand Up @@ -67,7 +67,7 @@ const totalJobs = 5
// return
// }
//
// err = dockerclient.CopyToContainer(client, newContainerId, "example/student/test.py")
// err = dockerclient.CopyToContainer(client, newContainerId, ".example/student/test.py")
// if err != nil {
// log.Error().Err(err).Msg("Failed to copy to container")
// }
Expand Down

0 comments on commit 369b8f7

Please sign in to comment.