Skaffold Changes
Skaffold changes will be on a project by project basis. Some projects will require certain build actions that are unique to that project. Examples of these can be seen in already converted project by looking for "before" and "after" hooks throughout the configuration.
Generate the appropriate files from standard templates
This step adds the skaffold.yaml. In repos without a service module just remove the -pl service-name part of the command:
mvn -pl sms-service filegen:generate-skaffold-file
In addition to generating the skaffold.yaml this command will create a scripts directory and place the following scripts in it for the purpose of localizing configurations and enabling streamlined integration testing when building the project in the standard Maven-oriented way.
-
add-configmap-files.sh -
kill-skaffold-api-server.sh -
localize.sh -
start-skaffold.sh -
stop-skaffold.sh -
validate-skaffold.sh -
version.sh -
wait.sh
For generating other project files, see the NGSS Filegen Maven Plugin V5 documentation. These files are no longer automatically generated for every build of the project.
chmod +x ./scripts/* to set the appropriate permissions for the scripts
|