Course Outline

Introduction

  • Overview of Bazel for government use
  • Understanding the Bazel architecture

Getting Started

  • Installing the Bazel runtime and launcher for government systems
  • Understanding the Bazel user interface

Understanding the Project Structure and Basic Building Blocks

  • Project building components
  • Project structure
  • Concepts of build logic

Invoking a Target From the Command Line

  • Executing a target in Bazel
  • Commonly-used commands for government projects
  • Output and cache directories for efficient builds

Understanding the Bazel Build Lifecycle

  • Phases of the Bazel lifecycle for government workflows
  • Configuration file setup
  • Programming language rules for compliance and efficiency

Using Bazel Basic Automation For Java Projects

  • Setting up a Java project for government use
  • Building a Java project with Bazel
  • Running the build from the command line in a secure environment
  • Inspecting the generated artifact for quality assurance
  • Deploying the Java project to government systems
  • Driving Bazel from an integrated development environment (IDE)
  • Using Bazel in IntelliJ for enhanced productivity

Bazel Dependency Management

  • Modeling fine-grained package granularity and dependencies for government projects
  • Declaring external dependencies for secure integration
  • Declaring an external library and using it in a codebase
  • Declaring the JUnit dependency for testing
  • Publishing a JAR to a Maven repository for government repositories
  • Publishing a Java library to local Maven for internal use

Testing Automation

  • Performing automated tests for government applications
  • Executing JUnit tests in a secure and compliant manner

Advanced Bazel

  • Extension concepts for customizing builds for government needs
  • Writing and executing a genrule for specialized tasks
  • Remote caching and execution for distributed teams
  • Build stamping for version control and audit trails
  • Bazel query for deep project insights
  • Java toolchains for consistent development environments

Troubleshooting

Summary and Next Steps

Requirements

  • Knowledge and experience with the concept of build systems
  • Fundamental understanding of the Java programming language

Audience

  • Software developers for government
 14 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories