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

Himanshu/sbt header #278

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 5 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ A milestone release is cut from master branch as we expect bug fixes / feedback
8. Add changes mention in `CHANGELOG.md` of `esw-contract` in the change section of `README.md` of `esw-contract`
9. Exclude projects from `build.sbt` which you do not want to release
10. Update dependent repo version in `Libs.scala`
11. Commit and push the changes to `branch-<major>.<minor>.x` branch and make sure build is green for dev and paradox link pipeline.
12. Make sure build is green for dev and paradox link check pipeline for this branch.
13. Run `release.sh $VERSION$` script by providing version number argument (This triggers release workflow)
14. Applicable for final release only - Upgrade all the versions of all esw apps in [here](https://github.com/tmtsoftware/osw-apps/blob/master/apps.json)
11. Run command `headerCheckAll` inside sbt to verify if there are files without copyright header.
12. Commit and push the changes to `branch-<major>.<minor>.x` branch and make sure build is green for dev and paradox link pipeline.
13. Make sure build is green for dev and paradox link check pipeline for this branch.
14. Run `release.sh $VERSION$` script by providing version number argument (This triggers release workflow)
15. Applicable for final release only - Upgrade all the versions of all esw apps in [here](https://github.com/tmtsoftware/osw-apps/blob/master/apps.json)

**Note:** `PROD=true` environment variable needs to be set before running `release.sh`
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.actor.typed.scaladsl.AskPattern.Askable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.actor.CoordinatedShutdown.{PhaseBeforeServiceUnbind, UnknownReason}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import caseapp.core.Error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import java.nio.file.Path
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.actor.typed.SpawnProtocol.Spawn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.ext

import akka.actor.typed.ActorSystem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.ext

import akka.actor.typed.ActorSystem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.ext

import csw.prefix.models.Prefix
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process

import csw.logging.api.scaladsl.Logger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process

import java.io.InputStream
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process.cs

import esw.agent.akka.app.BuildInfo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process.cs

case class CoursierLaunch(appName: String, appVersion: Option[String]) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process.redis

import esw.agent.akka.app.process.ProcessUtils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import java.nio.file.Path
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.actor.typed.{ActorRef, ActorSystem, Scheduler, SpawnProtocol}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

object Cs {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.actor.testkit.typed.scaladsl.TestProbe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app

import akka.Done
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.ext

import akka.actor.typed.{ActorSystem, SpawnProtocol}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.ext

import akka.actor.typed.{ActorSystem, SpawnProtocol}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.ext

import akka.actor.typed.{ActorRef, ActorSystem, SpawnProtocol}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process

import akka.actor.testkit.typed.scaladsl.TestProbe
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.app.process

import java.util.concurrent.atomic.AtomicReference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client

import csw.commons.CborAkkaSerializer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client

import akka.actor.typed.scaladsl.AskPattern._
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client.codecs

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client.models

import enumeratum.{Enum, EnumEntry}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client.models

import com.typesafe.config.{Config, ConfigRenderOptions}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.akka.client

import akka.actor.typed.ActorRef
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api.client

import akka.actor.typed.ActorSystem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api.client

import java.nio.file.Path
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api

trait AgentAkkaSerializable
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api

import java.nio.file.Path
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api.client

import csw.location.api.models.ComponentId
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api.codecs

import csw.location.api.codec.LocationCodecs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api.codecs

import esw.agent.service.api.models.AgentNotFoundException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) 2022 Thirty Meter Telescope International Observatory
* SPDX-License-Identifier: Apache-2.0
*/

package esw.agent.service.api.models

/**
Expand Down
Loading