forked from ros2-gbp/ros2-gbp-github-org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
00-repositories.tf
181 lines (178 loc) · 5.79 KB
/
00-repositories.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# Create memberships for the distinct set of all team members who aren't admins.
locals {
organization_repositories = setunion(
local._42dot_repositories,
local._archived_repositories,
local.acceleration_wg_repositories,
local.ackermann_msgs_repositories,
local.apex_repositories,
local.apriltag_repositories,
local.astuff_repositories,
local.async_web_server_cpp_repositories,
local.autoware_repositories,
local.aws_repositories,
local.behaviortree_repositories,
local.bno055_repositories,
local.connextdds_repositories,
local.control_box_rst_repositories,
local.control_repositories,
local.cyberbotics_repositories,
local.cyclonedds_repositories,
local.diagnostics_repositories,
local.dolly_repositories,
local.eigenpy_repositories,
local.fastcdr_repositories,
local.fictionlab_repositories,
local.fmi_repositories,
local.fogros2_repositories,
local.fortefibre_repositories,
local.four_wheel_steering_msgs_repositories,
local.foxglove_bridge_repositories,
local.foxglove_msgs_repositories,
local.gazebo_repositories,
local.geographic_info_repositories,
local.grbl_repositories,
local.grid_map_repositories,
local.gscam_repositories,
local.gurumdds_repositories,
local.hpp_fcl_repositories,
local.iceoryx_repositories,
local.ifm3d_repositories,
local.ijnek_repositories,
local.image_transport_plugins_repositories,
local.imu_tools_repositories,
local.irobot_education_repositories,
local.josh_newans_repositories,
local.kobuki_base_repositories,
local.lanelet2_repositories,
local.lgsvl_repositories,
local.libg2o_repositories,
local.locator_ros_bridge_repositories,
local.maliput_repositories,
local.mavlink_repositories,
local.microstrain_repositories,
local.micro_ros_diagnostics_repositories,
local.micro_ros_msgs_repositories,
local.moveit_repositories,
local.mrpt2_repositories,
local.mrt_cmake_modules_repositories,
local.naoqi_repositories,
local.navigation_repositories,
local.neobotix_repositories,
local.nmea_repositories,
local.nobleo_repositories,
local.nodl_repositories,
local.ntpd_driver_repositories,
local.object_analytics_repositories,
local.octomap_repositories,
local.ompl_repositories,
local.ouster_drivers_repositories,
local.ouxt_repositories,
local.pal_robotics_repositories,
local.perception_repositories,
local.phidgets_repositories,
local.picknik_repositories,
local.pinocchio_repositories,
local.plotjuggler_repositories,
local.rclc_repositories,
local.rcpputils_repositories,
local.realsense_repositories,
local.rmf_repositories,
local.roboception_repositories,
local.robot_calibration_repositories,
local.robot_localization_repositories,
local.robotis_repositories,
local.robotwebtools_repositories,
local.ros_canopen_repositories,
local.ros_industrial_repositories,
local.ros_repositories,
local.rosauth_repositories,
local.rosbag2_repositories,
local.rospy_message_converter_repositories,
local.rplidar_ros_repositories,
local.rqt_repositories,
local.rt_net_repositories,
local.rtabmap_repositories,
local.ruckig_repositories,
local.security_wg_repositories,
local.simple_launch_repositories,
local.skylove_repositories,
local.slider_publisher_repositories,
local.smacc2_repositories,
local.sports_repositories,
local.swri_repositories,
local.system_modes_repositories,
local.teamspatzenhirn_repositories,
local.tf_transformations_repositories,
local.the_construct_repositories,
local.tier4_repositories,
local.tooling_wg_repositories,
local.tracing_repositories,
local.transport_drivers_repositories,
local.tsid_repositories,
local.turtlebot4_repositories,
local.twist_mux_repositories,
local.ublox_repositories,
local.udp_msgs_repositories,
local.universal_robots_repositories,
local.urdf_tutorial_repositories,
local.urg_repositories,
local.usb_cam_repositories,
local.v4l2_camera_repositories,
local.velodyne_repositories,
local.velodyne_simulator_repositories,
local.vision_msgs_repositories,
local.vision_opencv_repositories,
local.visp_repositories,
local.vrpn_repositories,
local.wep21_repositories,
local.xacro_repositories,
local.zbar_ros_repositories,
local.zenoh_bridge_dds_repositories,
)
}
resource "github_repository" "repositories" {
for_each = local.organization_repositories
name = each.value
archived = contains(local._archived_repositories, each.value)
visibility = "public"
lifecycle {
# Plans that destroy repository releases will delete the repository on
# GitHub and that shouldn't be done in the normal course of operation.
prevent_destroy = true
# Ignore fields that are not set or managed by this terraform project
# to prevent unecessary drift.
ignore_changes = [
allow_merge_commit,
description,
etag,
has_downloads,
has_issues,
has_wiki,
homepage_url,
vulnerability_alerts
]
}
}
# No team manages this repository.
# It is writable by organization admins only.
resource "github_repository" "ros2-gbp-github-org" {
name = "ros2-gbp-github-org"
visibility = "public"
lifecycle {
# Plans that destroy repository releases will delete the repository on
# GitHub and that shouldn't be done in the normal course of operation.
prevent_destroy = true
# Ignore fields that are not set or managed by this terraform project
# to prevent unecessary drift.
ignore_changes = [
allow_merge_commit,
description,
etag,
has_downloads,
has_issues,
has_wiki,
vulnerability_alerts
]
}
}